Skip to content

Failed

simulation_modelica_parameters.parameterTest8.mos (from (result.xml))

Failing for the past 273 builds (Since #3430 )
Took 12 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + parameterTest8                                                                    ... equation mismatch [time: 12]

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest8.mos_temp269/log-parameterTest8.mos
true
""
true

BEGINNING of preOptModule 'evaluateParameters'
********************************************************************************


########################################
DAE before evaluating parameters
########################################


unknown partition
========================================

Variables (2)
========================================
1: r:VARIABLE()  type: Real
2: v:VARIABLE()  type: Real


Equations (2, 2)
========================================
1/1 (1): der(v) = 1.0   [dynamic |0|0|0|0|]
2/2 (1): der(r) = 2.0   [dynamic |0|0|0|0|]


no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (1)
========================================
1: state:PARAM(final = true )  = true  type: Boolean



Structural parameters and parameters with annotation(Evaluate=true) will be evaluated.

START evaluating parameters:
================================================================================
Number of parameters: 1
Number of parameters selected for evaluation: 1
Selected parameters for evaluation:
1

Adjacency Matrix (row: equation)
========================================
number of rows: 1
1:

Transposed Adjacency Matrix (row: variable)
========================================
number of rows: 1
1: 1


After evaluating the selected parameters:
================================================================================

All replacements:
Replacements: (1)
========================================
state -> true

Replacements that will be replaced in the DAE:
Replacements: (1)
========================================
state -> true

globalKnownVars (1)
========================================
1: state:PARAM(final = true )  = true  type: Boolean


mark: 1
markarr: 1


After sorting parameters:
================================================================================
Order:
1


After replacing the evaluated parameters in parameter bindings:
================================================================================
All replacements:
Replacements: (1)
========================================
state -> true

Replacements that will be replaced in the DAE:
Replacements: (1)
========================================
state -> true

globalKnownVars (1)
========================================
1: state:PARAM(final = true )  = true  type: Boolean


mark: 1
markarr: 1


After replacing the evaluated parameters in variable bindings and start attributes:
================================================================================
All replacements:
Replacements: (1)
========================================
state -> true

Replacements that will be replaced in the DAE:
Replacements: (1)
========================================
state -> true

globalKnownVars (1)
========================================
1: state:PARAM(final = true )  = true  type: Boolean


mark: 1
markarr: 1


########################################
DAE after replacing the evaluated parameters
########################################


unknown partition
========================================

Variables (2)
========================================
1: r:VARIABLE()  type: Real
2: v:VARIABLE()  type: Real


Equations (2, 2)
========================================
1/1 (1): der(v) = 1.0   [dynamic |0|0|0|0|]
2/2 (1): der(r) = 2.0   [dynamic |0|0|0|0|]


no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (1)
========================================
1: state:PARAM(final = true )  = true  type: Boolean



END of preOptModule 'evaluateParameters'
********************************************************************************

record SimulationResult
    resultFile = "parameterTest8_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=state,v,r'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
time=1,state=1,v=1,r=2
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\").
"
1
""
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest8.mos_temp269/equations-expected"2024-04-18 14:44:54.635199900 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/simulation/modelica/parameters/parameterTest8.mos_temp269/equations-got"2024-04-18 14:45:06.709200900 +0200
@@ -165,20 +165,15 @@
 END of preOptModule 'evaluateParameters'
 ********************************************************************************
 
 record SimulationResult
 resultFile = "parameterTest8_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'parameterTest8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=state,v,r'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'parameterTest8', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-output=state,v,r'",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 time=1,state=1,v=1,r=2
 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\").
 "
-LOG_STDOUT        | warning | It is not possible to override the following quantity: state
-|                 | |       | It seems to be structural, final, protected or evaluated or has a non-constant binding.
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-time=1,state=1,v=1,r=2
-LOG_SUCCESS       | info    | The simulation finished successfully.
-0
+1
 ""
'' 
Equation mismatch: omc-diff says: 
Line 178: Lexical token differs:
expected: LOG_STDOUT        | warning | It is not possible to override the following quantity: state
got:      1

== 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest8.mos_temp269, time: 12]