Skip to content

Commit 23ba9d0

Browse files
Marcus WaltherOpenModelica-Hudson
authored andcommitted
- updated expected output
1 parent 214b46a commit 23ba9d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

openmodelica/cppruntime/omedit/BouncingBall_OMEdit_flags.mos

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
loadFile("../BouncingBall.mo");
1111
setCommandLineOptions("+simCodeTarget=Cpp"); getErrorString();
12-
simulate(BouncingBall,method="dassl",stopTime=1.0, tolerance=1e-10, numberOfIntervals=100,outputFormat="mat",simflags="-port=41442 -logFormat=xml -override=startTime=0,stopTime=4,stepSize=0.008,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -r=BouncingBall_res.mat -dasslJacobian=coloredNumerical -emit_protected -w -lv=LOG_STATS");
12+
simulate(BouncingBall,method="dassl",stopTime=1.0, tolerance=1e-10, numberOfIntervals=100,outputFormat="mat",simflags="-port=41442 -logFormat=xml -override=startTime=0,stopTime=1,tolerance=1e-10,solver=dassl,outputFormat=mat,variableFilter=.* -r=BouncingBall_res.mat -dasslJacobian=coloredNumerical -emit_protected -w -lv=LOG_STATS");
1313
res := OpenModelica.Scripting.compareSimulationResults("BouncingBall_res.mat",
1414
"../ReferenceFiles/BouncingBall.mat",
1515
"BouncingBall_diff.csv",0.01,0.0001,
@@ -22,8 +22,9 @@ res := OpenModelica.Scripting.compareSimulationResults("BouncingBall_res.mat",
2222
// ""
2323
// record SimulationResult
2424
// resultFile = "BouncingBall_res.mat",
25-
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 100, tolerance = 1e-10, method = 'dassl', fileNamePrefix = 'BouncingBall', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-port=41442 -logFormat=xml -override=startTime=0,stopTime=4,stepSize=0.008,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -r=BouncingBall_res.mat -dasslJacobian=coloredNumerical -emit_protected -w -lv=LOG_STATS'",
26-
// messages = ""
25+
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 100, tolerance = 1e-10, method = 'dassl', fileNamePrefix = 'BouncingBall', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-port=41442 -logFormat=xml -override=startTime=0,stopTime=1,tolerance=1e-10,solver=dassl,outputFormat=mat,variableFilter=.* -r=BouncingBall_res.mat -dasslJacobian=coloredNumerical -emit_protected -w -lv=LOG_STATS'",
26+
// messages = "Warning: unrecognized command line options -port=41442 -logFormat=xml -override=variableFilter=.* -dasslJacobian=coloredNumerical -lv=LOG_STATS -w
27+
// "
2728
// end SimulationResult;
2829
// {"Files Equal!"}
2930
// endResult

0 commit comments

Comments
 (0)