Failed
tests / 03 testsuite-gcc 3/3 / openmodelica_cruntime_optimization_basic.staticOP.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ static OP ... equation mismatch [time: 1] ==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/staticOP.mos_temp819/log-staticOP.mos true true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'", messages = "Failed to run the optimize command: foo" end SimulationResult; "[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. Error: No system for the symbolic initialization was generated " Equation mismatch: diff says: --- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/staticOP.mos_temp819/equations-expected2024-04-20 01:53:27.372052111 +0000 +++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/staticOP.mos_temp819/equations-got2024-04-20 01:53:28.208052146 +0000 @@ -1,32 +1,15 @@ true true "" record SimulationResult -resultFile = "foo_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'", -messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1'", +messages = "Failed to run the optimize command: foo" +end SimulationResult; +"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value. +Error: No system for the symbolic initialization was generated +" + -Optimizer Variables -======================================================== -State[0]:x(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0) -Input[1]:u(start = 0, nominal = 1, min = -Inf, max = +Inf) -Input[2]:w(start = 0, nominal = 1, min = -Inf, max = +Inf) --------------------------------------------------------- -number of nonlinear constraints: 0 -======================================================== -****************************************************************************** -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. -" -end SimulationResult; -"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\"). -" -3.0 -3.0 -7.0 -7.0 Equation mismatch: omc-diff says: Failed 'f' '"' Line 5: Text differs: expected: resultFile = "foo_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/staticOP.mos_temp819, time: 1]