Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / openmodelica_cppruntime_libraries_msl32.Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos (from (result.xml))

Failing for the past 4 builds (Since #50 )
Took 7 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance        ... equation mismatch [time: 7]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos_temp9452/log-Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance"
end SimulationResult;
"Error: Error building simulator. Build log: g++ -std=c++17  -fopenmp  -Winvalid-pch -O2 -g -DNDEBUG -fPIC   -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12871/build/bin/../include/omc/cpp/\" -I.  -I\".\" -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-12871_2/build/include/omc/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp
In file included from OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:33:
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp: In member function 'void ParallelResonance::evaluate_34()':
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:163:3: error: '_LSJac0jac_tmp' was not declared in this scope
  163 |   _LSJac0jac_tmp(3) = division((-_LSJac0jac_x(0)),_resistor_P_R_actual_,!_initial,\"resistor.R_actual\");
      |   ^~~~~~~~~~~~~~
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:163:34: error: '_LSJac0jac_x' was not declared in this scope
  163 |   _LSJac0jac_tmp(3) = division((-_LSJac0jac_x(0)),_resistor_P_R_actual_,!_initial,\"resistor.R_actual\");
      |                                  ^~~~~~~~~~~~
In file included from OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:33:
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp: In member function 'void ParallelResonance::evaluate_54()':
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:308:3: error: '_LSJac0jac_tmp' was not declared in this scope
  308 |   _LSJac0jac_tmp(2) = (_resistor_P_omega_ * (_capacitor_P_C_ * _LSJac0jac_x(0)));
      |   ^~~~~~~~~~~~~~
OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:308:64: error: '_LSJac0jac_x' was not declared in this scope
  308 |   _LSJac0jac_tmp(2) = (_resistor_P_omega_ * (_capacitor_P_C_ * _LSJac0jac_x(0)));
      |                                                                ^~~~~~~~~~~~
make: *** [<builtin>: OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o] Error 1
"
"Error in compareSimulationResults"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos_temp9452/equations-expected2025-07-26 02:09:23.112130578 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos_temp9452/equations-got2025-07-26 02:09:30.144293024 +0000
@@ -1,8 +1,26 @@
 true
 record SimulationResult
-resultFile = "Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: g++ -std=c++17  -fopenmp  -Winvalid-pch -O2 -g -DNDEBUG -fPIC   -std=c++11 -DBOOST_ALL_DYN_LINK   -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12871/build/bin/../include/omc/cpp/\" -I.  -I\".\" -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-12871_2/build/include/omc/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp
+In file included from OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:33:
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp: In member function 'void ParallelResonance::evaluate_34()':
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:163:3: error: '_LSJac0jac_tmp' was not declared in this scope
+163 |   _LSJac0jac_tmp(3) = division((-_LSJac0jac_x(0)),_resistor_P_R_actual_,!_initial,\"resistor.R_actual\");
+| ^~~~~~~~~~~~~~
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:163:34: error: '_LSJac0jac_x' was not declared in this scope
+163 |   _LSJac0jac_tmp(3) = division((-_LSJac0jac_x(0)),_resistor_P_R_actual_,!_initial,\"resistor.R_actual\");
+| ^~~~~~~~~~~~
+In file included from OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.cpp:33:
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp: In member function 'void ParallelResonance::evaluate_54()':
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:308:3: error: '_LSJac0jac_tmp' was not declared in this scope
+308 |   _LSJac0jac_tmp(2) = (_resistor_P_omega_ * (_capacitor_P_C_ * _LSJac0jac_x(0)));
+| ^~~~~~~~~~~~~~
+OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.cpp:308:64: error: '_LSJac0jac_x' was not declared in this scope
+308 |   _LSJac0jac_tmp(2) = (_resistor_P_omega_ * (_capacitor_P_C_ * _LSJac0jac_x(0)));
+| ^~~~~~~~~~~~
+make: *** [<builtin>: OMCppModelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonanceCalcHelperMain.o] Error 1
+"
+"Error in compareSimulationResults"

Equation mismatch: omc-diff says:
Failed 'M' '"'
Line 3: Text differs:
expected: resultFile = "Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos_temp9452, time: 7]