Replies: 2 comments
-
That does seem to be a bug. Trying the query with the latest version of UPPAAL, Stratego 9, which is available from our website, I could not reproduce it. What version of UPPAAL are you using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have a model that verifies "A[] not deadlock" but shows a "time-locked" error when trying to validate UPPAAL-SMC. I am not sure why this happens. I have some feeling that it is related to the fact that a location is trying to exit due to the SMC and it is blocking. But the thing is that it shouldn't happen because if the location waits for the other automata, it can progress without deadlock and complying with the invariant.
The model is pretty easy, it is a Origin that sends a signal to a MiddleMan and a MiddleMan that waits X time until sending the signal to the Destination. The Destination resets the clock each X time marked by a limit if the MiddleMan does not have anything to send. I am not sure how to properly share the code here, so I am going to share a link with the code.
The error obtained is the following: when trying to validate UPPAAL-SMC with a dummy query like Pr[<=100] (<> end==1)
I get:
Location m.Empty [ clocktime=1 #time=1.2740762476356566335056186289876 ] empty=1 LIMIT=4 end=0 d.rc=0 is time-locked.
As I understand it, it shouldn't be an error because the invariant that the middleman has is "clocktime<=LIMIT" and it is true if clocktime=1, time=1.27 and limit=4. It should wait until the origin sends the signal or until the origin decides to end (we see that end=0, so the origin has not ended).
I have not been able to find much documentation on time-locked locations and I cannot get a counter-example trace so I would appreciate if someone could guide me in what is happening or why or how can it be avoided.
Beta Was this translation helpful? Give feedback.
All reactions