Skip to content

Regression

simulation_modelica_commonSubExp.wrapFunctionCalls11.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls11.mos_temp1159/log-wrapFunctionCalls11.mos
true
""
true
""



###############################################################
Final Results
###############################################################

########### Updated Variable List (jacobian) (2)
========================================
1: $res_NLSJac0_1.$pDERNLSJac0.dummyVarNLSJac0:VARIABLE()  type: Real unreplaceable
2: $cse1:VARIABLE(protected = true )  type: Real unreplaceable


########### Updated Equation List (jacobian) (2, 2)
========================================
1/1 (1): $res_NLSJac0_1.$pDERNLSJac0.dummyVarNLSJac0 = $cse1 * y.SeedNLSJac0   [dynamic |0|0|0|0|]
2/2 (1): $cse1 = cos(y)   [unknown |0|0|0|0|]


########### Updated globalKnownVars (jacobian) (2)
========================================
1: $res_NLSJac0_1:VARIABLE()  type: Real
2: input y.SeedNLSJac0:STATE_DER()  type: Real unreplaceable


########### CSE Replacements (1/43)
========================================
1: $cse1 - cos(y) - {}



###############################################################
Final Results
###############################################################

########### Updated Variable List (simulation) (1)
========================================
1: y:VARIABLE()  type: Real


########### Updated Equation List (simulation) (1, 1)
========================================
1/1 (1): x = sin(y)   [unknown |0|0|0|0|]


########### Updated globalKnownVars (simulation) (6)
========================================
1: z:VARIABLE(fixed = true )  = 2.0 * p1  type: Real
2: c:VARIABLE(fixed = true )  = 2.0 * p1  type: Real
3: p1:PARAM()  = 5.0  type: Real
4: b:PARAM()  = cos(c)  type: Real
5: a:PARAM()  = sin(b)  type: Real
6: x:PARAM()  = cos(z)  type: Real


########### CSE Replacements (4/46)
========================================
1: x - sin(y) - {}
2: x - cos(z) - {}
3: a - sin(b) - {}
4: b - cos(c) - {}



###############################################################
Final Results
###############################################################

########### Updated Variable List (jacobian) (2)
========================================
1: $res_NLSJac1_1.$pDERNLSJac1.dummyVarNLSJac1:VARIABLE()  type: Real unreplaceable
2: $cse2:VARIABLE(protected = true )  type: Real unreplaceable


########### Updated Equation List (jacobian) (2, 2)
========================================
1/1 (1): $res_NLSJac1_1.$pDERNLSJac1.dummyVarNLSJac1 = $cse2 * y.SeedNLSJac1   [unknown |0|0|0|0|]
2/2 (1): $cse2 = cos(y)   [unknown |0|0|0|0|]


########### Updated globalKnownVars (jacobian) (3)
========================================
1: x:PARAM()  = cos(z)  type: Real
2: $res_NLSJac1_1:VARIABLE()  type: Real
3: input y.SeedNLSJac1:STATE_DER()  type: Real unreplaceable


########### CSE Replacements (1/43)
========================================
1: $cse2 - cos(y) - {}
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: CSE.wrapFunctionCalls11"
end SimulationResult;
"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WR6590~1.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11.o CSE.wrapFunctionCalls11.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_functions.o CSE.wrapFunctionCalls11_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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_records.o CSE.wrapFunctionCalls11_records.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_01exo.o CSE.wrapFunctionCalls11_01exo.c
make: *** [<builtin>: CSE.wrapFunctionCalls11_01exo.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WR6590~1.MOS'
RESULT: 2
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls11.mos_temp1159/equations-expected"2024-06-13 15:26:45.077998500 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls11.mos_temp1159/equations-got"2024-06-13 15:26:48.424771400 +0200
@@ -91,12 +91,18 @@
 
 ########### CSE Replacements (1/43)
 ========================================
 1: $cse2 - cos(y) - {}
 record SimulationResult
-resultFile = "CSE.wrapFunctionCalls11_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls11', 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 = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: CSE.wrapFunctionCalls11"
 end SimulationResult;
-""
+"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WR6590~1.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11.o CSE.wrapFunctionCalls11.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_functions.o CSE.wrapFunctionCalls11_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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_records.o CSE.wrapFunctionCalls11_records.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=CSE_wrapFunctionCalls11 -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 CSE.wrapFunctionCalls11_01exo.o CSE.wrapFunctionCalls11_01exo.c
+make: *** [<builtin>: CSE.wrapFunctionCalls11_01exo.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WR6590~1.MOS'
+RESULT: 2
+"
'' 
Equation mismatch: omc-diff says: 
Failed 'C' '"'
Line 96: Text differs:
expected: resultFile = "CSE.wrapFunctionCalls
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls11.mos_temp1159, time: 16]