Failed
tests / testsuite-clang / simulation_libraries_3rdParty_MathematicalAspects.04_HandleEvents.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ 04_HandleEvents ... equation mismatch [time: 1] ==== Log /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/log-04_HandleEvents.mos false "Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. " true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10000.0, numberOfIntervals = 10000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'HandleEvents1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: HandleEvents1" end SimulationResult; {"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/HandleEvents1_res.mat"} "[simulation/libraries/3rdParty/MathematicalAspects/HandleEvents1.mo:2:3-2:41:writable] Error: Variable Modelica.Constants.pi not found in scope HandleEvents1. Error: Error occurred while flattening model HandleEvents1 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/04_HandleEvents.mos_temp5763/HandleEvents1_res.mat: No such file or directory " record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10000.0, numberOfIntervals = 10000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'HandleEvents2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: HandleEvents2" end SimulationResult; {"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/HandleEvents2_res.mat"} "[simulation/libraries/3rdParty/MathematicalAspects/HandleEvents2.mo:2:3-2:43:writable] Error: Variable Modelica.Constants.pi not found in scope HandleEvents2. Error: Error occurred while flattening model HandleEvents2 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/04_HandleEvents.mos_temp5763/HandleEvents2_res.mat: No such file or directory " Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/equations-expected2019-01-09 23:22:35.950437085 +0000 +++ /tmp/omc-rtest-unknown/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/equations-got2019-01-09 23:22:36.034436318 +0000 @@ -1,27 +1,29 @@ -true -"" +false +"Error: Failed to load package Modelica (default) using MODELICAPATH /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/build/lib/omlibrary. +" true "" true "" record SimulationResult -resultFile = "HandleEvents1_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10000.0, numberOfIntervals = 10000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'HandleEvents1', 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: HandleEvents1" end SimulationResult; -{"Files Equal!"} -"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead. +{"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/HandleEvents1_res.mat"} +"[simulation/libraries/3rdParty/MathematicalAspects/HandleEvents1.mo:2:3-2:41:writable] Error: Variable Modelica.Constants.pi not found in scope HandleEvents1. +Error: Error occurred while flattening model HandleEvents1 +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/04_HandleEvents.mos_temp5763/HandleEvents1_res.mat: No such file or directory " record SimulationResult -resultFile = "HandleEvents2_res.mat", +resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10000.0, numberOfIntervals = 10000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'HandleEvents2', 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: HandleEvents2" end SimulationResult; -{"Files Equal!"} -"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"). +{"Error opening file: /var/lib/jenkins/workspace/OpenModelica_maintenance_v1.13/testsuite/simulation/libraries/3rdParty/MathematicalAspects/04_HandleEvents.mos_temp5763/HandleEvents2_res.mat"} +"[simulation/libraries/3rdParty/MathematicalAspects/HandleEvents2.mo:2:3-2:43:writable] Error: Variable Modelica.Constants.pi not found in scope HandleEvents2. +Error: Error occurred while flattening model HandleEvents2 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/04_HandleEvents.mos_temp5763/HandleEvents2_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/04_HandleEvents.mos_temp5763, time: 1]