Skip to content

Failed

tests / 06 testsuite-clang 3/3 / openmodelica_cruntime_optimization_basic.testDerInput.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 1 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testDerInput                                                                      ... equation mismatch [time: 1]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testDerInput.mos_temp5999/log-testDerInput.mos
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'testDerInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1 -s optimization'",
    messages = "Failed to run the optimize command: testDerInput"
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/testDerInput.mos_temp5999/equations-expected2024-04-20 01:46:30.652253770 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/testDerInput.mos_temp5999/equations-got2024-04-20 01:46:31.416235034 +0000
@@ -1,30 +1,12 @@
 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 = '-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 https://github.com/coin-or/Ipopt
-******************************************************************************
-
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 5.0, numberOfIntervals = 50, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'testDerInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-optimizerNP 1 -s optimization'",
+messages = "Failed to run the optimize command: testDerInput"
 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\").
+"[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
 "
-0.008073035973890481
-1.627087932407617e-21
+
+

Equation mismatch: omc-diff says:
Failed 't' '"'
Line 4: Text differs:
expected: resultFile = "testDerInput_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/testDerInput.mos_temp5999, time: 1]