Skip to content

Failed

tests / testsuite-gcc / simulation_libraries_3rdParty_MathematicalAspects.02_BouncingBall.mos (from (result.xml))

Failing for the past 1 build (Since #7 )
Took 6 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + 02_BouncingBall                                                                   ... equation mismatch [time: 6]

==== Log /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/log-02_BouncingBall.mos
false
"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
true
""
true
""
true
""
record SimulationResult
    resultFile = "BouncingBall_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 3.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'BouncingBall', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
"
{"Files Equal!"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
"
record SimulationResult
    resultFile = "BouncingBall1_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 3.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'BouncingBall1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
"
{"Files Equal!"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 3.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'BouncingBall2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: BouncingBall2"
end SimulationResult;
"[simulation/libraries/3rdParty/MathematicalAspects/BouncingBall2.mo:4:3-4:63:writable] Error: Class SIunits.Acceleration not found in scope BouncingBall2.
Error: Error occurred while flattening model BouncingBall2
"
{"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/BouncingBall2_res.mat"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/BouncingBall2_res.mat: No such file or directory
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/equations-expected2018-12-11 10:53:59.944341414 +0000
+++ /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/equations-got2018-12-11 10:54:05.720315700 +0000
@@ -1,7 +1,8 @@
-true
-""
+false
+"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
 true
 ""
 true
 ""
 true
@@ -29,16 +30,16 @@
 "
 {"Files Equal!"}
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
 "
 record SimulationResult
-resultFile = "BouncingBall2_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 3.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'BouncingBall2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+messages = "Failed to build model: BouncingBall2"
 end SimulationResult;
-"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
+"[simulation/libraries/3rdParty/MathematicalAspects/BouncingBall2.mo:4:3-4:63:writable] Error: Class SIunits.Acceleration not found in scope BouncingBall2.
+Error: Error occurred while flattening model BouncingBall2
 "
-{"Files Equal!"}
+{"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/BouncingBall2_res.mat"}
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398/BouncingBall2_res.mat: No such file or directory
 "

Equation mismatch: omc-diff says:
Failed 't' 'f'
Line 1: Text differs:
expected: true
got:      false

== 1 out of 1 tests failed [simulation/libraries/3rdParty/MathematicalAspects/02_BouncingBall.mos_temp5398, time: 6]