Failed
simulation_modelica_commonSubExp.wrapFunctionCalls10.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ wrapFunctionCalls10 ... equation mismatch [time: 5] ==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp6777/log-wrapFunctionCalls10.mos true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (1) ======================================== 1: z2:VARIABLE() type: Real ########### Updated Equation List (simulation) (1, 1) ======================================== 1/1 (1): z2 = CSE.wrapFunctionCalls10.f1($cse1, time) [unknown |0|0|0|0|] ########### Updated globalKnownVars (simulation) (6) ======================================== 1: p1:PARAM() = 5 type: Integer 2: p2:PARAM() = 10 type: Integer 3: p3:PARAM() = 1.0 type: Real 4: $cse1.d2 in $cse1:PARAM(protected = true ) = CSE.wrapFunctionCalls10.f2(p1, p2) type: Integer unreplaceable 5: $cse1.d1 in $cse1:PARAM(protected = true ) = CSE.wrapFunctionCalls10.f2(p1, p2) type: Integer unreplaceable 6: z1:PARAM() = CSE.wrapFunctionCalls10.f1($cse1, p3) type: Real ########### CSE Replacements (3/44) ======================================== 1: z1 - CSE.wrapFunctionCalls10.f1($cse1, p3) - {} 2: $cse1 - CSE.wrapFunctionCalls10.f2(p1, p2) - {} 3: z2 - CSE.wrapFunctionCalls10.f1($cse1, time) - {} record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls10', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: CSE.wrapFunctionCalls10" 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/WRE377~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_wrapFunctionCalls10 -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.wrapFunctionCalls10.o CSE.wrapFunctionCalls10.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_functions.o CSE.wrapFunctionCalls10_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_wrapFunctionCalls10 -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.wrapFunctionCalls10_records.o CSE.wrapFunctionCalls10_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_wrapFunctionCalls10 -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.wrapFunctionCalls10_01exo.o CSE.wrapFunctionCalls10_01exo.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_02nls.o CSE.wrapFunctionCalls10_02nls.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_03lsy.o CSE.wrapFunctionCalls10_03lsy.c 0 [main] make 9302 dofork: child -1 - forked process 5362384 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 make: *** [<builtin>: CSE.wrapFunctionCalls10_03lsy.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WRE377~1.MOS' RESULT: 2 " 1 "Error: Failed to open simulation result CSE.wrapFunctionCalls10_res.mat: No such file or directory Error: Error opening file: CSE.wrapFunctionCalls10_res.mat " Files not equal! 0 '' Equation mismatch: diff says: --- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp6777/equations-expected"2024-05-29 13:21:02.758450800 +0200 +++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp6777/equations-got"2024-05-29 13:21:07.111339500 +0200 @@ -33,18 +33,29 @@ ======================================== 1: z1 - CSE.wrapFunctionCalls10.f1($cse1, p3) - {} 2: $cse1 - CSE.wrapFunctionCalls10.f2(p1, p2) - {} 3: z2 - CSE.wrapFunctionCalls10.f1($cse1, time) - {} record SimulationResult -resultFile = "CSE.wrapFunctionCalls10_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'CSE.wrapFunctionCalls10', 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.wrapFunctionCalls10', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: CSE.wrapFunctionCalls10" end SimulationResult; -"" -0 +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WRE377~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_wrapFunctionCalls10 -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.wrapFunctionCalls10.o CSE.wrapFunctionCalls10.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_functions.o CSE.wrapFunctionCalls10_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_wrapFunctionCalls10 -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.wrapFunctionCalls10_records.o CSE.wrapFunctionCalls10_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_wrapFunctionCalls10 -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.wrapFunctionCalls10_01exo.o CSE.wrapFunctionCalls10_01exo.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_02nls.o CSE.wrapFunctionCalls10_02nls.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_wrapFunctionCalls10 -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.wrapFunctionCalls10_03lsy.o CSE.wrapFunctionCalls10_03lsy.c +0 [main] make 9302 dofork: child -1 - forked process 5362384 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 +make: *** [<builtin>: CSE.wrapFunctionCalls10_03lsy.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/WRE377~1.MOS' +RESULT: 2 +" +1 -"" -Files equal! +"Error: Failed to open simulation result CSE.wrapFunctionCalls10_res.mat: No such file or directory +Error: Error opening file: CSE.wrapFunctionCalls10_res.mat +" +Files not equal! 0 '' Equation mismatch: omc-diff says: Failed 'C' '"' Line 38: Text differs: expected: resultFile = "CSE.wrapFunctionCalls got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/commonSubExp/wrapFunctionCalls10.mos_temp6777, time: 27]