Failed
simulation_modelica_parameters.parameterTest15.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ parameterTest15 ... equation mismatch [time: 1] ==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest15.mos_temp9365/log-parameterTest15.mos true "" true BEGINNING of preOptModule 'evaluateParameters' ******************************************************************************** ######################################## DAE before evaluating parameters ######################################## unknown partition ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (12) ======================================== 1: pr2:PARAM(protected = true ) = pr1 type: Integer 2: pr1:PARAM(protected = true ) = 5 type: Integer 3: p8:PARAM(start = 2 * p3 ) type: Integer 4: p7:PARAM(start = 1 final = true ) type: Integer 5: p6:PARAM(final = true ) = p5 type: Integer 6: p5:PARAM(final = true ) = 1 type: Integer 7: p4:PARAM(fixed = false ) type: Integer 8: p3:PARAM() = 5 type: Integer 9: c2:CONST() = 5 type: Integer 10: c1:CONST() = 5 type: Integer 11: p2:PARAM() = p1 type: Integer 12: p1:PARAM() = 1 type: Integer Structural parameters and parameters with annotation(Evaluate=true) will be evaluated. START evaluating parameters: ================================================================================ Number of parameters: 12 Number of parameters selected for evaluation: 0 Selected parameters for evaluation: Adjacency Matrix (row: equation) ======================================== number of rows: 12 1: 2 2: 3: 8 4: 5: 6 6: 7: 8: 9: 10: 11: 12 12: Transposed Adjacency Matrix (row: variable) ======================================== number of rows: 12 1: 1 2: 2 1 3: 3 4: 4 5: 5 6: 6 5 7: 7 8: 8 3 9: 9 10: 10 11: 11 12: 12 11 After evaluating the selected parameters: ================================================================================ All replacements: Replacements: (0) ======================================== Replacements that will be replaced in the DAE: Replacements: (0) ======================================== globalKnownVars (12) ======================================== 1: pr2:PARAM(protected = true ) = pr1 type: Integer 2: pr1:PARAM(protected = true ) = 5 type: Integer 3: p8:PARAM(start = 2 * p3 ) type: Integer 4: p7:PARAM(start = 1 final = true ) type: Integer 5: p6:PARAM(final = true ) = p5 type: Integer 6: p5:PARAM(final = true ) = 1 type: Integer 7: p4:PARAM(fixed = false ) type: Integer 8: p3:PARAM() = 5 type: Integer 9: c2:CONST() = 5 type: Integer 10: c1:CONST() = 5 type: Integer 11: p2:PARAM() = p1 type: Integer 12: p1:PARAM() = 1 type: Integer mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 After sorting parameters: ================================================================================ Order: 12 11 10 9 8 7 6 5 4 3 2 1 After replacing the evaluated parameters in parameter bindings: ================================================================================ All replacements: Replacements: (2) ======================================== p5 -> 1 p6 -> 1 Replacements that will be replaced in the DAE: Replacements: (2) ======================================== p5 -> 1 p6 -> 1 globalKnownVars (12) ======================================== 1: pr2:PARAM(protected = true ) = pr1 type: Integer 2: pr1:PARAM(protected = true ) = 5 type: Integer 3: p8:PARAM(start = 2 * p3 ) type: Integer 4: p7:PARAM(start = 1 final = true ) type: Integer 5: p6:PARAM(final = true ) = 1 type: Integer 6: p5:PARAM(final = true ) = 1 type: Integer 7: p4:PARAM(fixed = false ) type: Integer 8: p3:PARAM() = 5 type: Integer 9: c2:CONST() = 5 type: Integer 10: c1:CONST() = 5 type: Integer 11: p2:PARAM() = p1 type: Integer 12: p1:PARAM() = 1 type: Integer mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 After replacing the evaluated parameters in variable bindings and start attributes: ================================================================================ All replacements: Replacements: (2) ======================================== p5 -> 1 p6 -> 1 Replacements that will be replaced in the DAE: Replacements: (2) ======================================== p5 -> 1 p6 -> 1 globalKnownVars (12) ======================================== 1: pr2:PARAM(protected = true ) = pr1 type: Integer 2: pr1:PARAM(protected = true ) = 5 type: Integer 3: p8:PARAM(start = 2 * p3 ) type: Integer 4: p7:PARAM(start = 1 final = true ) type: Integer 5: p6:PARAM(final = true ) = 1 type: Integer 6: p5:PARAM(final = true ) = 1 type: Integer 7: p4:PARAM(fixed = false ) type: Integer 8: p3:PARAM() = 5 type: Integer 9: c2:CONST() = 5 type: Integer 10: c1:CONST() = 5 type: Integer 11: p2:PARAM() = p1 type: Integer 12: p1:PARAM() = 1 type: Integer mark: 1 markarr: -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 ######################################## DAE after replacing the evaluated parameters ######################################## unknown partition ======================================== no matching BackendDAEType: simulation Known variables only depending on parameters and constants - globalKnownVars (12) ======================================== 1: pr2:PARAM(protected = true ) = pr1 type: Integer 2: pr1:PARAM(protected = true ) = 5 type: Integer 3: p8:PARAM(start = 2 * p3 ) type: Integer 4: p7:PARAM(start = 1 final = true ) type: Integer 5: p6:PARAM(final = true ) = 1 type: Integer 6: p5:PARAM(final = true ) = 1 type: Integer 7: p4:PARAM(fixed = false ) type: Integer 8: p3:PARAM() = 5 type: Integer 9: c2:CONST() = 5 type: Integer 10: c1:CONST() = 5 type: Integer 11: p2:PARAM() = p1 type: Integer 12: p1:PARAM() = 1 type: Integer END of preOptModule 'evaluateParameters' ******************************************************************************** record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=p1,p2,p3'", messages = "Failed to build model: parameterTest15" end SimulationResult; "[<interactive>:12:3-12:36:writable] Warning: Parameter p8 has no value, and is fixed during initialization (fixed=true), using available start value (start=2 * p3) as default value. [<interactive>:11:3-11:39:writable] Warning: Parameter p7 has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PA4EE7~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=parameterTest15 -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 parameterTest15.o parameterTest15.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=parameterTest15 -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 parameterTest15_functions.o parameterTest15_functions.c 0 [main] make (5355268) child_copy: cygheap read copy failed, 0x0..0x800009900, done 0, windows pid 5355268, Win32 error 299 0 [main] make 8881 dofork: child -1 - forked process 5355268 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 make: *** [<builtin>: parameterTest15_functions.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PA4EE7~1.MOS' RESULT: 2 " 1 "" '' Equation mismatch: diff says: --- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest15.mos_temp9365/equations-expected"2024-05-29 13:20:54.320411700 +0200 +++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest15.mos_temp9365/equations-got"2024-05-29 13:20:55.864411300 +0200 @@ -232,23 +232,23 @@ END of preOptModule 'evaluateParameters' ******************************************************************************** record SimulationResult -resultFile = "parameterTest15_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=p1,p2,p3'", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -time=1,p1=1,p2=1,p3=5 -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest15', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=p1,p2,p3'", +messages = "Failed to build model: parameterTest15" end SimulationResult; "[<interactive>:12:3-12:36:writable] Warning: Parameter p8 has no value, and is fixed during initialization (fixed=true), using available start value (start=2 * p3) as default value. [<interactive>:11:3-11:39:writable] Warning: Parameter p7 has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\"). +Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PA4EE7~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=parameterTest15 -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 parameterTest15.o parameterTest15.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=parameterTest15 -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 parameterTest15_functions.o parameterTest15_functions.c +0 [main] make (5355268) child_copy: cygheap read copy failed, 0x0..0x800009900, done 0, windows pid 5355268, Win32 error 299 +0 [main] make 8881 dofork: child -1 - forked process 5355268 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 +make: *** [<builtin>: parameterTest15_functions.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/PARAME~1/PA4EE7~1.MOS' +RESULT: 2 " -LOG_STDOUT | warning | It is not possible to override the following quantity: p2 -| | | | It seems to be structural, final, protected or evaluated or has a non-constant binding. -LOG_SUCCESS | info | The initialization finished successfully without homotopy method. -time=1,p1=2,p2=2,p3=10 -LOG_SUCCESS | info | The simulation finished successfully. -0 +1 "" '' Equation mismatch: omc-diff says: Failed 'p' '"' Line 237: Text differs: expected: resultFile = "parameterTest got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest15.mos_temp9365, time: 17]