Skip to content

Commit

Permalink
Expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaeuber authored and OpenModelica-Hudson committed Apr 4, 2017
1 parent e69beac commit 7450f9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion simulation/modelica/tearing/testParamDivision.mos
Expand Up @@ -42,6 +42,8 @@ simulate(testParamDivision2, simflags="-ls=lapack -override b=0"); getErrorStrin
// resultFile = "",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testParamDivision1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ls=lapack -override b=0'",
// messages = "Simulation execution failed for model: testParamDivision1
// stdout | warning | You are overriding b with a small value or zero.
// | | | | This could lead to numerically dirty solutions or divisions by zero if not tearingStrictness=veryStrict.
// assert | debug | division leads to inf or nan at time 0, (a=-1) / (b=0), where divisor b is: b
// assert | info | simulation terminated by an assertion at initialization
// "
Expand All @@ -50,7 +52,9 @@ simulate(testParamDivision2, simflags="-ls=lapack -override b=0"); getErrorStrin
// record SimulationResult
// resultFile = "testParamDivision2_res.mat",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testParamDivision2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ls=lapack -override b=0'",
// messages = ""
// messages = "stdout | warning | You are overriding b with a small value or zero.
// | | | | This could lead to numerically dirty solutions or divisions by zero if not tearingStrictness=veryStrict.
// "
// end SimulationResult;
// ""
// endResult
6 changes: 5 additions & 1 deletion simulation/modelica/tearing/testTearingStrictness.mos
Expand Up @@ -30,6 +30,8 @@ simulate(testTearingStrictness, simflags="-ls=lapack -override b=0"); getErrorSt
// resultFile = "",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testTearingStrictness', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ls=lapack -override b=0'",
// messages = "Simulation execution failed for model: testTearingStrictness
// stdout | warning | You are overriding b with a small value or zero.
// | | | | This could lead to numerically dirty solutions or divisions by zero if not tearingStrictness=veryStrict.
// assert | debug | division leads to inf or nan at time 0, (a=-1) / (b=0), where divisor b is: b
// assert | info | simulation terminated by an assertion at initialization
// "
Expand All @@ -40,7 +42,9 @@ simulate(testTearingStrictness, simflags="-ls=lapack -override b=0"); getErrorSt
// record SimulationResult
// resultFile = "testTearingStrictness_res.mat",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testTearingStrictness', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-ls=lapack -override b=0'",
// messages = ""
// messages = "stdout | warning | You are overriding b with a small value or zero.
// | | | | This could lead to numerically dirty solutions or divisions by zero if not tearingStrictness=veryStrict.
// "
// end SimulationResult;
// ""
// endResult

0 comments on commit 7450f9a

Please sign in to comment.