Skip to content

Failed

tests / testsuite-gcc / simulation_modelica_synchronous.TestClockParameterEvaluation.mos (from (result.xml))

Failing for the past 4 builds (Since #16 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestClockParameterEvaluation.mos                                                  ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/TestClockParameterEvaluation.mos_temp6258/log-TestClockParameterEvaluation.mos
true
""
false
"Error: Failed to load package Modelica (default) using MODELICAPATH /home/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
false
"Error: Failed to load package Modelica_Synchronous (default) using MODELICAPATH /home/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
"
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.Systems.ControlledMixingUnit', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: Modelica_Synchronous.Examples.Systems.ControlledMixingUnit does not exist! Please load it first before simulation."
end SimulationResult;
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Simulation Failed. Model: Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController does not exist! Please load it first before simulation."
end SimulationResult;
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/synchronous/TestClockParameterEvaluation.mos_temp6258/equations-expected2019-01-23 19:19:53.683065740 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/TestClockParameterEvaluation.mos_temp6258/equations-got2019-01-23 19:19:54.039060871 +0000
@@ -1,24 +1,20 @@
 true
 ""
-true
-""
-true
-""
-record SimulationResult
-resultFile = "Modelica_Synchronous.Examples.Systems.ControlledMixingUnit_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 300.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.Systems.ControlledMixingUnit', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
+false
+"Error: Failed to load package Modelica (default) using MODELICAPATH /home/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
 "
+false
+"Error: Failed to load package Modelica_Synchronous (default) using MODELICAPATH /home/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary.
+"
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.Systems.ControlledMixingUnit', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: Modelica_Synchronous.Examples.Systems.ControlledMixingUnit does not exist! Please load it first before simulation."
 end SimulationResult;
 ""
 record SimulationResult
-resultFile = "Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Simulation Failed. Model: Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscretizedContinuousController does not exist! Please load it first before simulation."
 end SimulationResult;
-"Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: PI.y = 0.0 (PI.y_start = 0.0)
-Warning: The initial conditions are over specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization").
-"
+""

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

== 1 out of 1 tests failed [simulation/modelica/synchronous/TestClockParameterEvaluation.mos_temp6258, time: 1]