Regression
openmodelica_cruntime_optimization_basic.InputOptIssues.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ InputOptIssues ... equation mismatch [time: 5] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/InputOptIssues.mos_temp1423/log-InputOptIssues.mos true "" true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'InputOptIssues.Trapezoid', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1 -s optimization'", messages = "Failed to build model: InputOptIssues.Trapezoid" end SimulationResult; "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. [Modelica 3.2.3+maint.om/Mechanics/Rotational.mo:2471:7-2471:65:writable] Warning: Parameter inertia1.J has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) 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/OPENMO~1/cruntime/OPTIMI~1/basic/INPUTO~2.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=InputOptIssues_Trapezoid -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 InputOptIssues.Trapezoid.o InputOptIssues.Trapezoid.c make: *** [<builtin>: InputOptIssues.Trapezoid.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/INPUTO~2.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/InputOptIssues.mos_temp1423/equations-expected"2024-06-13 15:33:42.447773300 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cruntime/optimization/basic/InputOptIssues.mos_temp1423/equations-got"2024-06-13 15:33:47.154280200 +0200 @@ -1,37 +1,24 @@ true "" true "" record SimulationResult -resultFile = "InputOptIssues.Trapezoid_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'InputOptIssues.Trapezoid', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1 -s optimization'", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. - -Optimizer Variables -======================================================== -State[0]:inertia1.phi(start = 0, nominal = 100, min = -Inf, max = +Inf, init = 0) -State[1]:inertia1.w(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0) -Input[2]:torque(start = 0, nominal = 90, min = -90, max = 90) --------------------------------------------------------- -number of nonlinear constraints: 1 -======================================================== - -****************************************************************************** -This program contains Ipopt, a library for large-scale nonlinear optimization. -Ipopt is released as open source code under the Eclipse Public License (EPL). -For more information visit https://github.com/coin-or/Ipopt -****************************************************************************** - -LOG_SUCCESS | info | The simulation finished successfully. -" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'InputOptIssues.Trapezoid', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1 -s optimization'", +messages = "Failed to build model: InputOptIssues.Trapezoid" end SimulationResult; "Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. [Modelica 3.2.3+maint.om/Mechanics/Rotational.mo:2471:7-2471:65:writable] Warning: Parameter inertia1.J has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) 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/OPENMO~1/cruntime/OPTIMI~1/basic/INPUTO~2.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=InputOptIssues_Trapezoid -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 InputOptIssues.Trapezoid.o InputOptIssues.Trapezoid.c +make: *** [<builtin>: InputOptIssues.Trapezoid.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/cruntime/OPTIMI~1/basic/INPUTO~2.MOS' +RESULT: 2 " -{90.0,90.0,55.0241047740795,41.04075758706323,34.60242216404257,-32.98585607543826,-37.96855887785219,-44.74608487310016,-56.17425575296937,-90.0,-90.0} -{-0.0,-54.00000053932259,-190.1975011860511,-388.2112789654032,-633.2601751996291,-907.7426818843697,-1159.517183946985,-1374.7678506843,-1552.321893809127,-1674.325496332713,-1710.32549669227} -{0.0,0.0,10.0,10.0,0.0,0.0,0.0,10.0,10.0,0.0,0.0} -{0.0,8100.000080896142,9000.000089755486,9000.00008955402,9000.000088873398,-9000.00008599359,-9000.000089327559,-9000.000089656573,-9000.000089781792,-8100.000080892903,-0.0} -{0.0,2.0,10.0,7.999999999999998,0.0,0.0,0.0,0.0,0.0,0.0,10.0,8.000000000000007,0.0} -{0.0,272.8442173945917,0.0} + + + + + + '' Equation mismatch: omc-diff says: Failed 'I' '"' Line 6: Text differs: expected: resultFile = "InputOptIssues.Trapezoid_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/InputOptIssues.mos_temp1423, time: 17]