Describe the bug
In the semantics of TA described in [1], clock variables are set to zero in the initial state. However, we have found two simple examples that show how the simulator does not follow this initialization.
To Reproduce
Steps to reproduce the behavior:
We provide two models of that show the bug.
First model (transition with guard)
Open the model.
Click on Simulator
See a loop-transition from the initial state that is enabled because clock x can be >20.However, initial state invariant is x<=10.
Second model (transition without guard)
Open the model.
Click on Simulator
See a deadlock because clock x can be >10 initially.
Expected behavior
In the first model, the simulator should not enable the transition, and only deadlock behavior is simulated.
In the second model, the deadlock behavior should not appear. In fact, when the second model is verified against not deadlock property (A [] ! deadlock) the property is satisfied.
Version(s) of UPPAAL tested
4.1.24
Screenshots
First model error:
Second model error:
Desktop (please complete the following information):
Version verifyta 4.1.23
OS Big Surf / Catalina , Java version: Java 11 openJDK
Additional context
Add any other context about the problem here.
Describe the bug In the semantics of TA described in [1], clock variables are set to zero in the initial state. However, we have found two simple examples that show how the simulator does not follow this initialization.
[1] https://www.uppaal.com/uppaal-tutorial.pdf
To Reproduce Steps to reproduce the behavior: We provide two models of that show the bug. First model (transition with guard)
Second model (transition without guard)
Expected behavior In the first model, the simulator should not enable the transition, and only deadlock behavior is simulated. In the second model, the deadlock behavior should not appear. In fact, when the second model is verified against not deadlock property (A [] ! deadlock) the property is satisfied.
Version(s) of UPPAAL tested 4.1.24
Screenshots First model error:
Second model error:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.