Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_hpcom.Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Modelica.Electrical.Analog.Examples.CauerLowPassSC                                ... equation mismatch [time: 8]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos_temp5204/log-Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos
true
""
true
""
true
""
true
""
true
""
readCalcTimesFromFile: No valid profiling-file found.
Warning: The costs have been estimated. Maybe Modelica.Electrical.Analog.Examples.CauerLowPassSC_eqs_prof-file is missing.
Using Modified Critical Path Scheduler for the DAE system
Using Modified Critical Path Scheduler for the ODE system
Using Modified Critical Path Scheduler for the ZeroFunc system
HpcOm is still under construction.
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 60.0, numberOfIntervals = 1500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.Analog.Examples.CauerLowPassSC', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: Modelica.Electrical.Analog.Examples.CauerLowPassSC"
end SimulationResult;
"Error: Error building simulator. Build log: clang -fopenmp=libomp  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality  -fopenmp   -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Electrical_Analog_Examples_CauerLowPassSC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=24 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Electrical.Analog.Examples.CauerLowPassSC.o Modelica.Electrical.Analog.Examples.CauerLowPassSC.c
Modelica.Electrical.Analog.Examples.CauerLowPassSC.c:2164:7: error: call to undeclared function 'GC_pthread_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2164 |       GC_pthread_create(&odeThread_0, NULL, functionODE_system0_thread_0, data);
      |       ^
Modelica.Electrical.Analog.Examples.CauerLowPassSC.c:2164:7: note: did you mean 'pthread_create'?
/usr/include/pthread.h:202:12: note: 'pthread_create' declared here
  202 | extern int pthread_create (pthread_t *__restrict __newthread,
      |            ^
1 error generated.
make: *** [<builtin>: Modelica.Electrical.Analog.Examples.CauerLowPassSC.o] Error 1
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat: No such file or directory
Error: Error opening file: Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos_temp5204/equations-expected2024-06-15 01:55:58.544159342 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos_temp5204/equations-got2024-06-15 01:56:06.732342135 +0000
@@ -13,15 +13,25 @@
 Using Modified Critical Path Scheduler for the DAE system
 Using Modified Critical Path Scheduler for the ODE system
 Using Modified Critical Path Scheduler for the ZeroFunc system
 HpcOm is still under construction.
 record SimulationResult
-resultFile = "Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 60.0, numberOfIntervals = 1500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.Analog.Examples.CauerLowPassSC', 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 = 60.0, numberOfIntervals = 1500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Modelica.Electrical.Analog.Examples.CauerLowPassSC', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: Modelica.Electrical.Analog.Examples.CauerLowPassSC"
 end SimulationResult;
-""
-{"Files Equal!"}
+"Error: Error building simulator. Build log: clang -fopenmp=libomp  -O0 -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality  -fopenmp   -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc/c\" -I\"/var/lib/jenkins2/ws/OpenModelica_PR-12404/build/bin/../include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Electrical_Analog_Examples_CauerLowPassSC -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=24 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o Modelica.Electrical.Analog.Examples.CauerLowPassSC.o Modelica.Electrical.Analog.Examples.CauerLowPassSC.c
+Modelica.Electrical.Analog.Examples.CauerLowPassSC.c:2164:7: error: call to undeclared function 'GC_pthread_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
+2164 |       GC_pthread_create(&odeThread_0, NULL, functionODE_system0_thread_0, data);
+| ^
+Modelica.Electrical.Analog.Examples.CauerLowPassSC.c:2164:7: note: did you mean 'pthread_create'?
+/usr/include/pthread.h:202:12: note: 'pthread_create' declared here
+202 | extern int pthread_create (pthread_t *__restrict __newthread,
+| ^
+1 error generated.
+make: *** [<builtin>: Modelica.Electrical.Analog.Examples.CauerLowPassSC.o] Error 1
+"
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat: No such file or directory
+Error: Error opening file: Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat
 "

Equation mismatch: omc-diff says:
Failed 'M' '"'
Line 18: Text differs:
expected: resultFile = "Modelica.Electrical.Analog.Examples.CauerLowPassSC_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos_temp5204, time: 8]