Regression
simulation_modelica_commonSubExp.cse3.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ cse3 ... equation mismatch [time: 1] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse3.mos_temp6782/log-cse3.mos true "" true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (9) ======================================== 1: w:VARIABLE() type: Real 2: z:VARIABLE(start = 0.0 ) type: Real 3: y:VARIABLE(start = 1.0 ) type: Real 4: x:STATE(1)(start = 0.0 fixed = true ) type: Real 5: $cse5:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse4:VARIABLE(protected = true ) type: Real unreplaceable 7: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 8: $cse2:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse1:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List (simulation) (9, 9) ======================================== 1/1 (1): $cse1 * y + 1.1 * $cse2 * $cse3 = 2.0 [dynamic |0|0|0|0|] 2/2 (1): $cse4 * $cse5 + 1.1 * $cse4 * z = 1.0 [dynamic |0|0|0|0|] 3/3 (1): der(x) = y * z [dynamic |0|0|0|0|] 4/4 (1): $cse5 = sinh(y) [unknown |0|0|0|0|] 5/5 (1): $cse4 = testCSE.f4(x, n) [unknown |0|0|0|0|] 6/6 (1): $cse3 = sinh(z) [unknown |0|0|0|0|] 7/7 (1): $cse2 = testCSE.f2(x, n) [unknown |0|0|0|0|] 8/8 (1): $cse1 = testCSE.f1(x, n) [unknown |0|0|0|0|] 9/9 (1): w = testCSE.f3(x, n) [unknown |0|0|0|0|] ########### Updated globalKnownVars (simulation) (1) ======================================== 1: n:PARAM() = 100000 type: Integer ########### CSE Replacements (6/46) ======================================== 1: w - testCSE.f3(x, n) - {} 2: $cse1 - testCSE.f1(x, n) - {} 3: $cse2 - testCSE.f2(x, n) - {} 4: $cse3 - sinh(z) - {} 5: $cse4 - testCSE.f4(x, n) - {} 6: $cse5 - sinh(y) - {} ############################################################### Final Results ############################################################### ########### Updated Variable List (jacobian) (6) ======================================== 1: $cse5.$pDERNLSJac1.dummyVarNLSJac1:VARIABLE(protected = true ) type: Real unreplaceable 2: $cse3.$pDERNLSJac1.dummyVarNLSJac1:VARIABLE(protected = true ) type: Real unreplaceable 3: $res_NLSJac1_2.$pDERNLSJac1.dummyVarNLSJac1:VARIABLE() type: Real unreplaceable 4: $res_NLSJac1_1.$pDERNLSJac1.dummyVarNLSJac1:VARIABLE() type: Real unreplaceable 5: $cse7:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse6:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List (jacobian) (6, 6) ======================================== 1/1 (1): $res_NLSJac1_2.$pDERNLSJac1.dummyVarNLSJac1 = 1.1 * $cse2 * $cse3.$pDERNLSJac1.dummyVarNLSJac1 + $cse1 * y.SeedNLSJac1 [dynamic |0|0|0|0|] 2/2 (1): $res_NLSJac1_1.$pDERNLSJac1.dummyVarNLSJac1 = (-$cse4) * (1.1 * z.SeedNLSJac1 + $cse5.$pDERNLSJac1.dummyVarNLSJac1) [dynamic |0|0|0|0|] 3/3 (1): $cse5.$pDERNLSJac1.dummyVarNLSJac1 = y.SeedNLSJac1 * $cse6 [unknown |0|0|0|0|] 4/4 (1): $cse3.$pDERNLSJac1.dummyVarNLSJac1 = z.SeedNLSJac1 * $cse7 [unknown |0|0|0|0|] 5/5 (1): $cse7 = cosh(z) [unknown |0|0|0|0|] 6/6 (1): $cse6 = cosh(y) [unknown |0|0|0|0|] ########### Updated globalKnownVars (jacobian) (6) ======================================== 1: $res_NLSJac1_1:VARIABLE() type: Real 2: $res_NLSJac1_2:VARIABLE() type: Real 3: $cse3:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse5:VARIABLE(protected = true ) type: Real unreplaceable 5: input y.SeedNLSJac1:STATE_DER() type: Real unreplaceable 6: input z.SeedNLSJac1:STATE_DER() type: Real unreplaceable ########### CSE Replacements (2/46) ======================================== 1: $cse6 - cosh(y) - {} 2: $cse7 - cosh(z) - {} record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'testCSE', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: testCSE" 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/CSE3~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=testCSE -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o testCSE.o testCSE.c make: *** [<builtin>: testCSE.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSE3~1.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse3.mos_temp6782/equations-expected"2024-06-13 15:19:30.404703900 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse3.mos_temp6782/equations-got"2024-06-13 15:19:31.452095800 +0200 @@ -90,12 +90,15 @@ ########### CSE Replacements (2/46) ======================================== 1: $cse6 - cosh(y) - {} 2: $cse7 - cosh(z) - {} record SimulationResult -resultFile = "testCSE_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'testCSE', 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 = 'testCSE', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: testCSE" 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/CSE3~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=testCSE -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o testCSE.o testCSE.c +make: *** [<builtin>: testCSE.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSE3~1.MOS' +RESULT: 2 +" '' Equation mismatch: omc-diff says: Failed 't' '"' Line 95: Text differs: expected: resultFile = "testCSE_res.mat", got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/commonSubExp/cse3.mos_temp6782, time: 12]