Skip to content

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + ocpOnlyInputs                                                                     ... equation mismatch [time: 3]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/ocpWithInputs.mos_temp3821/log-ocpWithInputs.mos
true
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 5, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    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/ocpWithInputs.mos_temp3821/equations-expected2024-04-20 01:46:25.232386670 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/ocpWithInputs.mos_temp3821/equations-got2024-04-20 01:46:28.224313309 +0000
@@ -1,34 +1,20 @@
 true
 true
 ""
 record SimulationResult
-resultFile = "foo_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 5, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-
-Optimizer Variables
-========================================================
-Input[0]:u(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.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 5, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'foo', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to run the optimize command: foo"
 end SimulationResult;
-""
-1.761202296554772e-08
-2.239522000891023e-20
-2.368721032875032e-20
-1.032540013644675e-18
-1.484187436812034e-18
-4.315814315931177e-18
-1.958276902580842e-17
-1.126044639739534e-17
-1.54940272954526e-17
+"[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: 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/ocpWithInputs.mos_temp3821, time: 3]