Skip to content

Regression

tests / testsuite-gcc / simulation_modelica_parameters.parameterTest11.mos (from (result.xml))

Failing for the past 1 build (Since #25 )
Took 2 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest11.mos_temp7177/log-parameterTest11.mos
true
""
true

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


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


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

Variables (3)
========================================
1: obj.x[3]:VARIABLE()  type: Real  [3]
2: obj.x[2]:VARIABLE()  type: Real  [3]
3: obj.x[1]:VARIABLE()  type: Real  [3]


Equations (3, 3)
========================================
1/1 (1): obj.x[1] = 1.0   [dynamic |0|0|0|0|]
2/2 (1): obj.x[2] = 1.0   [dynamic |0|0|0|0|]
3/3 (1): obj.x[3] = 1.0   [dynamic |0|0|0|0|]


Simple Equations (0, 0)
========================================


State Sets
========================================


no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (6)
========================================
1: obj.b2:PARAM()  = b2  type: Boolean 
2: obj.b1:PARAM(final = true )  = b1  type: Boolean 
3: obj.s1:PARAM(final = true )  = s1  type: Integer 
4: b2:PARAM()  = false  type: Boolean 
5: b1:PARAM()  = true  type: Boolean 
6: s1:PARAM(final = true )  = 3  type: Integer 


Known variables only depending on states and inputs - localKnownVars (0)
========================================


External Objects (0)
========================================


Classes of External Objects (0)
========================================


Alias Variables (0)
========================================


Simple Shared Equations (0, 0)
========================================


Initial Equations (0, 0)
========================================


Zero Crossings (0)
========================================


Relations (0)
========================================


Time Events (0)
========================================


Constraints (0)
========================================


Base partitions (0)
========================================


Sub partitions (0)
========================================



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

START evaluating parameters:
================================================================================
Number of parameters: 6
Number of parameters selected for evaluation: 3
Selected parameters for evaluation:
6,3,2

Incidence Matrix (row: equation)
========================================
number of rows: 6
1: 4
2: 5
3: 6
4:
5:
6:

Transposed Incidence Matrix (row: variable)
========================================
number of rows: 6
1: 1
2: 2
3: 3
4: 4 1
5: 5 2
6: 6 3


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

All replacements:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

Replacements that will be replaced in the DAE:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

globalKnownVars (6)
========================================
1: obj.b2:PARAM()  = b2  type: Boolean 
2: obj.b1:PARAM(final = true )  = true  type: Boolean 
3: obj.s1:PARAM(final = true )  = 3  type: Integer 
4: b2:PARAM()  = false  type: Boolean 
5: b1:PARAM(final = true )  = true  type: Boolean 
6: s1:PARAM(final = true )  = 3  type: Integer 


mark: 1
markarr: -1,1,1,-1,1,1


After sorting parameters:
================================================================================
Order:
6
5
4
3
2
1


After replacing the evaluated parameters in parameter bindings:
================================================================================
All replacements:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

Replacements that will be replaced in the DAE:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

globalKnownVars (6)
========================================
1: obj.b2:PARAM()  = b2  type: Boolean 
2: obj.b1:PARUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX'
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX'
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX'
AM(final = true )  = true  type: Boolean 
3: obj.s1:PARAM(final = true )  = 3  type: Integer 
4: b2:PARAM()  = false  type: Boolean 
5: b1:PARAM(final = true )  = true  type: Boolean 
6: s1:PARAM(final = true )  = 3  type: Integer 


mark: 1
markarr: -1,1,1,-1,1,1


After replacing the evaluated parameters in variable bindings and start attributes:
================================================================================
All replacements:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

Replacements that will be replaced in the DAE:
Replacements: (4)
========================================
s1 -> 3
obj.s1 -> 3
b1 -> true
obj.b1 -> true

globalKnownVars (6)
========================================
1: obj.b2:PARAM()  = b2  type: Boolean 
2: obj.b1:PARAM(final = true )  = true  type: Boolean 
3: obj.s1:PARAM(final = true )  = 3  type: Integer 
4: b2:PARAM()  = false  type: Boolean 
5: b1:PARAM(final = true )  = true  type: Boolean 
6: s1:PARAM(final = true )  = 3  type: Integer 


mark: 1
markarr: -1,1,1,-1,1,1


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


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

Variables (3)
========================================
1: obj.x[3]:VARIABLE()  type: Real  [3]
2: obj.x[2]:VARIABLE()  type: Real  [3]
3: obj.x[1]:VARIABLE()  type: Real  [3]


Equations (3, 3)
========================================
1/1 (1): obj.x[1] = 1.0   [dynamic |0|0|0|0|]
2/2 (1): obj.x[2] = 1.0   [dynamic |0|0|0|0|]
3/3 (1): obj.x[3] = 1.0   [dynamic |0|0|0|0|]


Simple Equations (0, 0)
========================================


State Sets
========================================


no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (6)
========================================
1: obj.b2:PARAM()  = b2  type: Boolean 
2: obj.b1:PARAM(final = true )  = true  type: Boolean 
3: obj.s1:PARAM(final = true )  = 3  type: Integer 
4: b2:PARAM()  = false  type: Boolean 
5: b1:PARAM(final = true )  = true  type: Boolean 
6: s1:PARAM(final = true )  = 3  type: Integer 


Known variables only depending on states and inputs - localKnownVars (0)
========================================


External Objects (0)
========================================


Classes of External Objects (0)
========================================


Alias Variables (0)
========================================


Simple Shared Equations (0, 0)
========================================


Initial Equations (0, 0)
========================================


Zero Crossings (0)
========================================


Relations (0)
========================================


Time Events (0)
========================================


Constraints (0)
========================================


Base partitions (0)
========================================


Sub partitions (0)
========================================



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

record SimulationResult
    resultFile = "ParameterTest11.parameterTest11_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'ParameterTest11.parameterTest11', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest11.mos_temp7177/equations-expected2019-10-28 13:23:25.251915829 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/parameters/parameterTest11.mos_temp7177/equations-got2019-10-28 13:23:27.051898774 +0000
@@ -195,11 +195,12 @@
 obj.b1 -> true
 
 globalKnownVars (6)
 ========================================
 1: obj.b2:PARAM()  = b2  type: Boolean 
-2: obj.b1:PARAM(final = true )  = true  type: Boolean 
+2: obj.b1:PARUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/HARPE5PKGUCTTU7KPWYDQXZC5S:/var/lib/docker/overlay2/l/AKUSGG2DJ2VNFFSFKIZ77OVOVT:/var/lib/docker/overlay2/l/6EAWHLLNQ4VNIHV6JWX763TT3V:/var/lib/docker/overlay2/l/CSHIUSYFZCK4EBRLHZTUP4D54K:/var/lib/docker/overlay2/l/STL54MVTFWD2TABVXYNZ7IPE74:/var/lib/docker/overlay2/l/GGYGSX4UHIVXAQSELYLXSV4LV6:/var/lib/docker/overlay2/l/FGCIUGECWESRTLJ22UYYTVRTIF:/var/lib/docker/overlay2/l/QEFCR6W3IF3JFHZSD6HWLTY5FM:/var/lib/docker/overlay2/l/D6VBA3BXFB2KX'
+AM(final = true )  = true  type: Boolean 
 3: obj.s1:PARAM(final = true )  = 3  type: Integer 
 4: b2:PARAM()  = false  type: Boolean 
 5: b1:PARAM(final = true )  = true  type: Boolean 
 6: s1:PARAM(final = true )  = 3  type: Integer 
 

Equation mismatch: omc-diff says:
Failed 'A' 'U'
Line 200: Text differs:
expected: :PARAM(final = true )  = true  type: Boolean 
got:      :PARUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay

== 1 out of 1 tests failed [simulation/modelica/parameters/parameterTest11.mos_temp7177, time: 2]