﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3321	cppruntime does not return proper exit codes	Martin Sjölund	Niklas Worschech	"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
}}}"	defect	assigned	high	Future	Cpp Run-time	trunk			Niklas Worschech Marcus Walther
