Summary: | Fastest trace error | ||
---|---|---|---|
Product: | UPPAAL | Reporter: | Mark Pavlidis <pavlidmh> |
Component: | Engine | Assignee: | Gerd Behrmann <behrmann> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | 3.6 Alpha 1 | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://mark.pavlidis.org/code/uppaal/ | ||
Architecture: | |||
Attachments: |
Test case system
Test case query |
Description
Mark Pavlidis
2005-11-10 22:18:59 CET
Created attachment 68 [details]
Test case system
This is the system that produces the error when generating the fastest trace.
Created attachment 69 [details]
Test case query
Query used to cause the error.
UPPAAL cannot find fastest traces to deadlocks. The fastest trace feature relies on using a specific extrapolation operation (the "LU extrapolation" - a new kind of abstraction introduced in version 3.6), but deadlocks are not preserved by this abstraction. Therefore, in order to find deadlocks, UPPAAL does not use this extrapolation operation - however this implies that it cannot find fastest traces when searching for deadlocks. UPPAAL 3.4 used an entirely different approach to finding fastest traces. I will consider if we can do anything about this issue. We will at least update the documentation and make sure that the GUI produces a better error message. Is it essential to be able to find the fastest trace to a deadlock - could it be rephrased to location reachability? As for documentation on the generation of traces, the point is that UPPAAL will generate a trace if there is a trace. If an A[] property is satisfied, then there is no trace. On the other hand if an E<> property is satisfied, then there is a trace. So from a technical point of view, the documentation is correct. But I see that it is misleading and should be rephrased. I automatically generate the TA. The trace to deadlock was the easiest way I found to obtain the fastest trace (with 3.4) since the model is known to have a single terminating location. I have reworked the generation of the TA to ID the terminating location and rephrased the query to location reachability, as you suggested. This solves the issue I had, and is a cleaner solution than finding deadlocks. Support for finding fastest traces for deadlock properties has now been implemented (as of revision 1424). |