Failedopenmodelica_cruntime_optimization_basic.testDerInput.mos (from (result.xml)) StacktraceOutput mismatch (see stdout for details) Standard Output+ testDerInput ... equation mismatch [time: 15] ==== Log /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testDerInput.mos_temp6937/log-testDerInput.mos true "" record SimulationResult resultFile = "testDerInput_res.mat", simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-008, method = 'dassl', fileNamePrefix = 'testDerInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. Optimizer Variables ======================================================== State[0]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0) Input[1]:u(start = 0, nominal = 2, min = -2, max = 2) Input[2]:w(start = 0, nominal = 2, min = -2, max = 2) Input[3]:z(start = 0, nominal = 2, min = -2, max = 2) -------------------------------------------------------- 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 http://projects.coin-or.org/Ipopt ****************************************************************************** LOG_IPOPT_ERROR | info | max error is 0.00499703 for the approximation of the state x1(time = 3.2) LOG_IPOPT_ERROR | info | max error is 3.55185e-016 for the approximation of the state x1(time = 4) LOG_IPOPT_ERROR | info | max error is 4.21971e-016 for the approximation of the state x1(time = 4) LOG_IPOPT_ERROR | info | max error is 2.66497e-016 for the approximation of the state x1(time = 4.7) LOG_IPOPT_ERROR | info | max error is 3.99637e-016 for the approximation of the state x1(time = 4.3) LOG_IPOPT_ERROR | info | max error is 6.7741e-016 for the approximation of the state x1(time = 3.3) LOG_IPOPT_ERROR | info | max error is 3.77519e-016 for the approximation of the state x1(time = 3.7) LOG_IPOPT_ERROR | info | max error is 5.57714e-016 for the approximation of the state x1(time = 3.1) LOG_IPOPT_ERROR | info | max error is 5.52509e-016 for the approximation of the state x1(time = 3.1) 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->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). " 0.008073035973890481 1.627087932407617e-021 Equation mismatch: diff says: --- /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testDerInput.mos_temp6937/equations-expected2019-05-06 21:38:05.936077000 +0200 +++ /tmp/omc-rtest-adrpo33/openmodelica/cruntime/optimization/basic/testDerInput.mos_temp6937/equations-got2019-05-06 21:38:20.467093800 +0200 @@ -1,10 +1,10 @@ true "" record SimulationResult resultFile = "testDerInput_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'testDerInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'", +simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-008, method = 'dassl', fileNamePrefix = 'testDerInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -s optimization'", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. Optimizer Variables ======================================================== State[0]:x1(start = 0, nominal = 1, min = -Inf, max = +Inf, init = 0) @@ -20,20 +20,20 @@ Ipopt is released as open source code under the Eclipse Public License (EPL). For more information visit http://projects.coin-or.org/Ipopt ****************************************************************************** LOG_IPOPT_ERROR | info | max error is 0.00499703 for the approximation of the state x1(time = 3.2) -LOG_IPOPT_ERROR | info | max error is 2.88615e-16 for the approximation of the state x1(time = 2.2) -LOG_IPOPT_ERROR | info | max error is 4.88541e-16 for the approximation of the state x1(time = 2.8) -LOG_IPOPT_ERROR | info | max error is 3.77519e-16 for the approximation of the state x1(time = 2.3) -LOG_IPOPT_ERROR | info | max error is 3.99637e-16 for the approximation of the state x1(time = 4.5) -LOG_IPOPT_ERROR | info | max error is 5.27356e-16 for the approximation of the state x1(time = 3.4) -LOG_IPOPT_ERROR | info | max error is 5.27356e-16 for the approximation of the state x1(time = 3.1) -LOG_IPOPT_ERROR | info | max error is 4.10696e-16 for the approximation of the state x1(time = 2.9) -LOG_IPOPT_ERROR | info | max error is 5.52509e-16 for the approximation of the state x1(time = 3.1) +LOG_IPOPT_ERROR | info | max error is 3.55185e-016 for the approximation of the state x1(time = 4) +LOG_IPOPT_ERROR | info | max error is 4.21971e-016 for the approximation of the state x1(time = 4) +LOG_IPOPT_ERROR | info | max error is 2.66497e-016 for the approximation of the state x1(time = 4.7) +LOG_IPOPT_ERROR | info | max error is 3.99637e-016 for the approximation of the state x1(time = 4.3) +LOG_IPOPT_ERROR | info | max error is 6.7741e-016 for the approximation of the state x1(time = 3.3) +LOG_IPOPT_ERROR | info | max error is 3.77519e-016 for the approximation of the state x1(time = 3.7) +LOG_IPOPT_ERROR | info | max error is 5.57714e-016 for the approximation of the state x1(time = 3.1) +LOG_IPOPT_ERROR | info | max error is 5.52509e-016 for the approximation of the state x1(time = 3.1) 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->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). " 0.008073035973890481 -1.627087932407617e-21 +1.627087932407617e-021 Equation mismatch: omc-diff says: ----------------------------------------------------------------------------------------------------------------Line 25: Real 2.2 != 4 eps: 0.005000, actual diff: 1.800000 == 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/testDerInput.mos_temp6937, time: 15] |