Skip to content

Failed

simulation_modelica_NBackend_basics.partitioning.mos (from (result.xml))

Failing for the past 118 builds (Since #3695 )
Took 10 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + partitioning                                                                      ... equation mismatch [time: 3]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp1512/log-partitioning.mos
true
""
true
""
##############################################

[dumpSynchronous] Partitioning result:

##############################################

===========================
CONTINUOUS 1 ODE System
===========================

Unknown Variables (2/2)
*************************
(1)       [ALGB] (1) Real z
(2)       [ALGB] (1) Real k


Equations Equations (2/2)
***************************
(1)       [SCAL] (1) k = cos(time) ($RES_$AUX_5)
(2)       [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)



===========================
CONTINUOUS 2 ODE System
===========================

Unknown Variables (3/3)
*************************
(1)       [ALGB] (1) Real y
(2)       [ALGB] (1) Real $FUN_2
(3)       [DER-] (1) Real $DER.x


Equations Equations (3/3)
***************************
(1)       [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
(2)       [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
(3)       [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)



record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'partitioning', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: partitioning"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/basics/PARTIT~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning.o partitioning.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning_functions.o partitioning_functions.c
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning_records.o partitioning_records.c
make: *** [<builtin>: partitioning_records.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/basics/PARTIT~2.MOS'
RESULT: 2
"

'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp1512/equations-expected"2024-06-13 15:24:23.792350700 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/NBackend/basics/partitioning.mos_temp1512/equations-got"2024-06-13 15:24:26.093351200 +0200
@@ -18,12 +18,12 @@
 (2)       [ALGB] (1) Real k
 
 
 Equations Equations (2/2)
 ***************************
-(1)       [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)
-(2)       [SCAL] (1) k = cos(time) ($RES_$AUX_5)
+(1) [SCAL] (1) k = cos(time) ($RES_$AUX_5)
+(2) [SCAL] (1) z = a ^ 2.0 * k ($RES_SIM_2)
 
 
 
 ===========================
 CONTINUOUS 2 ODE System
@@ -36,20 +36,25 @@
 (3)       [DER-] (1) Real $DER.x
 
 
 Equations Equations (3/3)
 ***************************
-(1)       [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)
-(2)       [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
-(3)       [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
+(1) [SCAL] (1) $DER.x = $FUN_2 ($RES_SIM_0)
+(2) [SCAL] (1) $FUN_2 = sin(time) ($RES_$AUX_4)
+(3) [SCAL] (1) y = x ^ 2.0 + a ($RES_SIM_1)
 
 
 
 record SimulationResult
-resultFile = "partitioning_res.mat",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'partitioning', 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: partitioning"
 end SimulationResult;
-""
-0.45969220091667
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/basics/PARTIT~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning.o partitioning.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning_functions.o partitioning_functions.c
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=partitioning -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o partitioning_records.o partitioning_records.c
+make: *** [<builtin>: partitioning_records.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/NBackend/basics/PARTIT~2.MOS'
+RESULT: 2
+"
+
'' 
Equation mismatch: omc-diff says: 
Failed 'z' 'k'
Line 23: Text differs:
expected: ) z = a ^ 
got:      ) k = cos(time) ($RES_$AUX_

== 1 out of 1 tests failed [simulation/modelica/NBackend/basics/partitioning.mos_temp1512, time: 10]