Skip to content

Failed

tests / 02 testsuite-gcc 2/3 / openmodelica_cppruntime.mslElectricalMachinesTestDAE.mos (from (result.xml))

Failing for the past 42 builds (Since #45 )
Took 17 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + mslElectricalMachinesTestDAE                                                      ... equation mismatch [time: 17]

==== Log /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp2703/log-mslElectricalMachinesTestDAE.mos
true
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-6, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer"
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/jenkins1/ws/OpenModelica_PR-9221/build/bin/../include/omc/cpp/\" -I.  -I\".\" -I\".\" -I\"/var/lib/jenkins3/ws/OpenModelica_PR-9221/build/include/omc/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp
In file included from OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp:31:
OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp: In member function 'void AIMC_TransformerJacobian::calcAJacobianColumn()':
OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:277:18: error: '_omcQ_24DAE_5FCJ_' was not declared in this scope
  277 |   _Ajac_y(0) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(8)) - _Ajac_x(7));
      |                  ^~~~~~~~~~~~~~~~~
make: *** [<builtin>: OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp2703/equations-expected2024-01-20 04:00:34.019540684 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp2703/equations-got2024-01-20 04:00:51.511540727 +0000
@@ -1,13 +1,20 @@
 true
 true
 true
 ""
 record SimulationResult
-resultFile = "Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-06, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-6, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer"
 end SimulationResult;
-173.2124789170594
-150.8435549841741
-161.396425531771
-""
+
+
+
+"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/jenkins1/ws/OpenModelica_PR-9221/build/bin/../include/omc/cpp/\" -I.  -I\".\" -I\".\" -I\"/var/lib/jenkins3/ws/OpenModelica_PR-9221/build/include/omc/sundials\"     -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER  -c -o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp
+In file included from OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp:31:
+OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp: In member function 'void AIMC_TransformerJacobian::calcAJacobianColumn()':
+OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:277:18: error: '_omcQ_24DAE_5FCJ_' was not declared in this scope
+277 |   _Ajac_y(0) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(8)) - _Ajac_x(7));
+| ^~~~~~~~~~~~~~~~~
+make: *** [<builtin>: OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1
+"

Equation mismatch: omc-diff says:
Failed 'M' '"'
Line 6: Text differs:
expected: resultFile = "Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp2703, time: 17]