Opened 10 years ago
Last modified 7 years ago
#3321 assigned defect
cppruntime does not return proper exit codes
Reported by: | Martin Sjölund | Owned by: | Niklas Worschech |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Cpp Run-time | Version: | trunk |
Keywords: | Cc: | Niklas Worschech, Marcus Walther |
Description
cppruntime returns exit code=0 (success) even when the numerical solver fails:
OpenModelicaModelTesting.SimulationRuntime.Cpp OpenModelicaModelTesting.Kind.VerifiedSimulation Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving {"wheelSet.x","wheelSet.y","wheelSet.phi","wheelSet.theta1","wheelSet.theta2","wheelSet.der_theta1","wheelSet.der_theta2"} Simulation options: startTime = 0.0, stopTime = 3.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '' Result file: Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving_res.mat Messages: [CVODES WARNING] ... [CVODES ERROR] CVode At t = 0.506727 and h = 1e-24, the error test failed repeatedly or with |h| = hmin. SUNDIALS_ERROR: CVode() failed with flag = -3 Warning: Resultfile and Reference have different end time points! Reffile[502]=3.000000 File[85]=0.504000
Change History (9)
comment:1 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
Milestone: | 1.9.3 → 1.9.4 |
---|
comment:4 by , 9 years ago
Component: | Run-time → Cpp Run-time |
---|
comment:8 by , 8 years ago
Milestone: | 1.11.0 → 1.12.0 |
---|
Milestone moved to 1.12.0 due to 1.11.0 already being released.
comment:9 by , 7 years ago
Milestone: | 1.12.0 → Future |
---|
The milestone of this ticket has been reassigned to "Future".
If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.
If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".
In both cases, a short informative comment would be welcome.
Moved to new milestone 1.9.4