Skip to content

Failed

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + issue7969                                                                         ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/issue7969.mos_temp2155/log-issue7969.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 4, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'issue7969', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to run the optimize command: issue7969"
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/issue7969.mos_temp2155/equations-expected2024-04-20 01:46:13.272679829 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/issue7969.mos_temp2155/equations-got2024-04-20 01:46:15.056636110 +0000
@@ -1,33 +1,16 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "issue7969_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 4, tolerance = 1e-08, method = 'optimization', fileNamePrefix = 'issue7969', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 4, tolerance = 1e-8, method = 'optimization', fileNamePrefix = 'issue7969', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to run the optimize command: issue7969"
+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 = 1, nominal = 2, min = -Inf, max = +Inf, init = 1)
-Input[1]:u(start = 0, nominal = 10, min = -11, max = 12)
-Input[2]:u1(start = 0, nominal = 11, min = -11, max = +Inf)
-Input[3]:u2(start = 10, nominal = 20, min = 10, max = 10)
---------------------------------------------------------
-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;
-""
-{12.0,12.0}
-{-11.0,-11.0}
-{10.0,10.0}
-{1.006600000063919,1.026400000255677}

Equation mismatch: omc-diff says:
Failed 'i' '"'
Line 6: Text differs:
expected: resultFile = "issue
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/issue7969.mos_temp2155, time: 2]