You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Uppaal refuses to show traces by showing an error "Cannot generate the trace" on some models when over-approximation and diagnostic trace is enabled.
The issue is that
the error message is not descriptive enough (does not explain the reason) and
"EngineCrashException" part is misleading (the engine did not crash, it just issued this error).
Previous (e.g. 4.1.26) versions produce the counter example trace instead of error, so perhaps it's a regression.
Expected behavior
Uppaal should either produce a trace (just like previous versions) or the error should provide a valid reason for not producing a trace.
Version(s) of UPPAAL tested
UPPAAL 5.0.0-rc2 (rev. 92306F488AF675BA), March 2023
Other
Older version UPPAAL 4.1.26-1 (rev. 7BCF30B7363A9518) loads the trace successfully.
The text was updated successfully, but these errors were encountered:
The attached model is a minimal case to trigger the bug in static analysis.
Static analysis of the code is over-approximate and in this case treats clock x as being always reset, even though it is never reset due to the if condition being false. (The edge guards are analyzed precisely, hence does not have such issue.)
As a consequence, location-based extrapolations algorithms lose the constraints over such clocks (because their value is irrelevant after reset and hence the max and LU bounds are not propagated passed the reset) and therefore reaches location Run.
If a diagnostic trace is requested (Options > Diagnostic trace > Some), then UPPAAL fails with "Cannot generate trace"
(because the found sequence of edges is not realizable when UPPAAL attempts to reconstruct the trace without using the extrapolation).
If extrapolation is disabled (Options > Extrapolationn > None), then UPPAAL computes correct results (property E<> P.Run is not satisfied).
Describe the bug
Uppaal refuses to show traces by showing an error "Cannot generate the trace" on some models when over-approximation and diagnostic trace is enabled.
The issue is that
Previous (e.g. 4.1.26) versions produce the counter example trace instead of error, so perhaps it's a regression.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Uppaal should either produce a trace (just like previous versions) or the error should provide a valid reason for not producing a trace.
Version(s) of UPPAAL tested
UPPAAL 5.0.0-rc2 (rev. 92306F488AF675BA), March 2023
Other
Older version UPPAAL 4.1.26-1 (rev. 7BCF30B7363A9518) loads the trace successfully.
The text was updated successfully, but these errors were encountered: