Regression
simulation_modelica_commonSubExp.cse2.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ cse2 ... equation mismatch [time: 2] ==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse2.mos_temp9575/log-cse2.mos true "" true "" true "" ############################################################### Final Results ############################################################### ########### Updated Variable List (simulation) (15) ======================================== 1: iC:VARIABLE() type: Real 2: iL:STATE(1)() type: Real 3: i2:DUMMY_STATE(start = 0.0 fixed = true stateSelect=StateSelect.never ) type: Real 4: i1:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 5: i0:VARIABLE() type: Real 6: uC:DUMMY_STATE() type: Real 7: uL:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 8: u1:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 9: u0:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 10: $DER.u0:DUMMY_DER(fixed = false ) type: Real 11: $DER.i1:DUMMY_DER(fixed = false ) type: Real 12: $DER.u1:DUMMY_DER(fixed = false ) type: Real 13: $DER.uL:DUMMY_DER(fixed = false ) type: Real 14: $DER.i2:DUMMY_DER(fixed = false ) type: Real 15: $DER.uC:DUMMY_DER(fixed = false ) type: Real ########### Updated Equation List (simulation) (15, 15) ======================================== 1/1 (1): $DER.i1 = $DER.i2 + der(iL) [dynamic |0|0|0|0|] 2/2 (1): i0 = i1 + iC [dynamic |0|0|0|0|] 3/3 (1): $DER.uC = $DER.u1 + $DER.uL [dynamic |0|0|0|0|] 4/4 (1): $DER.u0 = $DER.u1 + $DER.uL [dynamic |0|0|0|0|] 5/5 (1): iC = C * $DER.uC [dynamic |0|0|0|0|] 6/6 (1): uL = L * der(iL) [dynamic |0|0|0|0|] 7/7 (1): $DER.uL = R2 * $DER.i2 [dynamic |0|0|0|0|] 8/8 (1): $DER.u1 = R1 * $DER.i1 [dynamic |0|0|0|0|] 9/9 (1): u1 = R1 * i1 [dynamic |0|0|0|0|] 10/10 (1): uL = R2 * i2 [dynamic |0|0|0|0|] 11/11 (1): u0 = u1 + uL [dynamic |0|0|0|0|] 12/12 (1): uC = u1 + uL [dynamic |0|0|0|0|] 13/13 (1): i1 = i2 + iL [dynamic |0|0|0|0|] 14/14 (1): u0 = sin(time) [unknown |0|0|0|0|] 15/15 (1): $DER.u0 = cos(time) [unknown |0|0|0|0|] ########### Updated globalKnownVars (simulation) (4) ======================================== 1: R1:PARAM() = 1.0 type: Real 2: R2:PARAM() = 2.0 type: Real 3: L:PARAM() = 0.5 type: Real 4: C:PARAM() = 3.0 type: Real ########### CSE Replacements (2/57) ======================================== 1: $DER.u0 - cos(time) - {} 2: u0 - sin(time) - {} ########### Updated Variable List ########### (17) ======================================== 1: iC:VARIABLE() type: Real 2: iL:STATE(1)() type: Real 3: i2:DUMMY_STATE(start = 0.0 fixed = true stateSelect=StateSelect.never ) type: Real 4: i1:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 5: i0:VARIABLE() type: Real 6: uC:DUMMY_STATE() type: Real 7: uL:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 8: u1:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 9: u0:DUMMY_STATE(stateSelect=StateSelect.never ) type: Real 10: $DER.u0:DUMMY_DER(fixed = false ) type: Real 11: $DER.i1:DUMMY_DER(fixed = false ) type: Real 12: $DER.u1:DUMMY_DER(fixed = false ) type: Real 13: $DER.uL:DUMMY_DER(fixed = false ) type: Real 14: $DER.i2:DUMMY_DER(fixed = false ) type: Real 15: $DER.uC:DUMMY_DER(fixed = false ) type: Real 16: $cseb10:VARIABLE(protected = true ) type: Real unreplaceable 17: $cseb3:VARIABLE(protected = true ) type: Real unreplaceable ########### Updated Equation List ########### (17, 17) ======================================== 1/1 (1): $DER.i1 = $DER.i2 + der(iL) [dynamic |0|0|0|0|] 2/2 (1): i0 = i1 + iC [dynamic |0|0|0|0|] 3/3 (1): $DER.uC = $cseb3 [dynamic |0|0|0|0|] 4/4 (1): $DER.u0 = $cseb3 [dynamic |0|0|0|0|] 5/5 (1): iC = C * $DER.uC [dynamic |0|0|0|0|] 6/6 (1): uL = L * der(iL) [dynamic |0|0|0|0|] 7/7 (1): $DER.uL = R2 * $DER.i2 [dynamic |0|0|0|0|] 8/8 (1): $DER.u1 = R1 * $DER.i1 [dynamic |0|0|0|0|] 9/9 (1): u1 = R1 * i1 [dynamic |0|0|0|0|] 10/10 (1): uL = R2 * i2 [dynamic |0|0|0|0|] 11/11 (1): u0 = $cseb10 [dynamic |0|0|0|0|] 12/12 (1): uC = $cseb10 [dynamic |0|0|0|0|] 13/13 (1): i1 = i2 + iL [dynamic |0|0|0|0|] 14/14 (1): u0 = sin(time) [unknown |0|0|0|0|] 15/15 (1): $DER.u0 = cos(time) [unknown |0|0|0|0|] 16/16 (1): $cseb10 = u1 + uL [binding |0|0|0|0|] 17/17 (1): $cseb3 = $DER.u1 + $DER.uL [binding |0|0|0|0|] record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Tearing3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: Tearing3" 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/CSE2~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=Tearing3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Tearing3.o Tearing3.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=Tearing3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Tearing3_functions.o Tearing3_functions.c 0 [main] make (5496584) child_copy: cygheap read copy failed, 0x0..0x8000098E0, done 0, windows pid 5496584, Win32 error 299 0 [main] make 19690 dofork: child -1 - forked process 5496584 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 make: *** [<builtin>: Tearing3_functions.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSE2~1.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse2.mos_temp9575/equations-expected"2024-05-29 13:26:30.675076100 +0200 +++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/commonSubExp/cse2.mos_temp9575/equations-got"2024-05-29 13:26:32.481371400 +0200 @@ -102,12 +102,18 @@ 15/15 (1): $DER.u0 = cos(time) [unknown |0|0|0|0|] 16/16 (1): $cseb10 = u1 + uL [binding |0|0|0|0|] 17/17 (1): $cseb3 = $DER.u1 + $DER.uL [binding |0|0|0|0|] record SimulationResult -resultFile = "Tearing3_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Tearing3', 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 = 'Tearing3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: Tearing3" 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/CSE2~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=Tearing3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Tearing3.o Tearing3.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=Tearing3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Tearing3_functions.o Tearing3_functions.c +0 [main] make (5496584) child_copy: cygheap read copy failed, 0x0..0x8000098E0, done 0, windows pid 5496584, Win32 error 299 +0 [main] make 19690 dofork: child -1 - forked process 5496584 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 +make: *** [<builtin>: Tearing3_functions.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/COMMON~1/CSE2~1.MOS' +RESULT: 2 +" '' Equation mismatch: omc-diff says: Failed 'T' '"' Line 107: Text differs: expected: resultFile = "Tearing got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/commonSubExp/cse2.mos_temp9575, time: 19]