Skip to content

Regression

tests / testsuite-gcc / openmodelica_debugDumps.optSimpleSolveDAEdump.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1183/log-optSimpleSolveDAEdump.mos
true
""
true
true
true
""

########################################
pre-optimization module evalFunc (simulation)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]


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


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


no matching



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================


pre-optimization done.

########################################
synchronousFeatures
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 3
var 2 is solved in eqn 2
var 3 is solved in eqn 1


StrongComponents
========================================
{1:3}
{2:2}
{3:1}



BackendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
created initial system
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]


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


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


no matching



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
partitioned initial system
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]


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


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


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

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

no matching



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module simplifyComplexFunction (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module tearingSystem (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): if noEvent(x > 0.0) then 1.0 + 3.0 * z else 2.0 + 5.0 * z = y   [dynamic |0|0|0|0|]
2/2 (1): (y ^ 3.0 + x ^ 3.0) ^ 2.0 = 0.0   [dynamic |0|0|0|0|]
3/3 (1): tanh(x) = 0.9 * sin(10.0 * time)   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module solveSimpleEquations (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): z = if noEvent(x > 0.0) then y / 3.0 - 0.3333333333333333 else 0.2 * y - 0.4   [dynamic |0|0|0|0|]
2/2 (1): y = (-x ^ 3.0) ^ 0.3333333333333333   [dynamic |0|0|0|0|]
3/3 (1): x = 0.5 * log((1.0 + 0.9 * sin(10.0 * time)) / (1.0 - 0.9 * sin(10.0 * time)))   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module calculateStrongComponentJacobians (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): z = if noEvent(x > 0.0) then y / 3.0 - 0.3333333333333333 else 0.2 * y - 0.4   [dynamic |0|0|0|0|]
2/2 (1): y = (-x ^ 3.0) ^ 0.3333333333333333   [dynamic |0|0|0|0|]
3/3 (1): x = 0.5 * log((1.0 + 0.9 * sin(10.0 * time)) / (1.0 - 0.9 * sin(10.0 * time)))   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module simplifyAllExpressions (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): z = if noEvent(x > 0.0) then y / 3.0 - 0.3333333333333333 else 0.2 * y - 0.4   [dynamic |0|0|0|0|]
2/2 (1): y = (-x ^ 3.0) ^ 0.3333333333333333   [dynamic |0|0|0|0|]
3/3 (1): x = 0.5 * log((1.0 + 0.9 * sin(10.0 * time)) / (1.0 - 0.9 * sin(10.0 * time)))   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================



########################################
post-optimization module collapseArrayExpressions (initialization)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): z = if noEvent(x > 0.0) then y / 3.0 - 0.3333333333333333 else 0.2 * y - 0.4   [dynamic |0|0|0|0|]
2/2 (1): y = (-x ^ 3.0) ^ 0.3333333333333333   [dynamic |0|0|0|0|]
3/3 (1): x = 0.5 * log((1.0 + 0.9 * sin(10.0 * time)) / (1.0 - 0.9 * sin(10.0 * time)))   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 1
var 2 is solved in eqn 2
var 3 is solved in eqn 3


StrongComponents
========================================
{3:3}
{2:2}
{1:1}



BackendDAEType: initialization


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================


post-optimization done.

########################################
post-optimization module solveSimpleEquations (simulation)
########################################


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

Variables (3)
========================================
1: z:VARIABLE()  type: Real 
2: y:VARIABLE()  type: Real 
3: x:VARIABLE()  type: Real 


Equations (3, 3)
========================================
1/1 (1): x = 0.5 * log((1.0 + 0.9 * sin(10.0 * time)) / (1.0 - 0.9 * sin(10.0 * time)))   [dynamic |0|0|0|0|]
2/2 (1): y = (-x ^ 3.0) ^ 0.3333333333333333   [dynamic |0|0|0|0|]
3/3 (1): z = if noEvent(x > 0.0) then y / 3.0 - 0.3333333333333333 else 0.2 * y - 0.4   [dynamic |0|0|0|0|]


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


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


Matching
========================================
3 variables and equations
var 1 is solved in eqn 3
var 2 is solved in eqn 2
var 3 is solved in eqn 1


StrongComponents
========================================
{1:3}
{2:2}
{3:1}



BaUnexpected 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'
ckendDAEType: simulation


Known variables only depending on parameters and constants - globalKnownVars (0)
========================================


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)
========================================


post-optimization done.
{"testOptdaedump","testOptdaedump_init.xml"}
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1183/equations-expected2019-10-28 13:23:09.880068547 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1183/equations-got2019-10-28 13:23:11.804048109 +0000
@@ -1049,11 +1049,12 @@
 {2:2}
 {3:1}
 
 
 
-BackendDAEType: simulation
+BaUnexpected 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'
+ckendDAEType: simulation
 
 
 Known variables only depending on parameters and constants - globalKnownVars (0)
 ========================================
 

Equation mismatch: omc-diff says:
Failed 'c' 'U'
Line 1054: Text differs:
expected: BackendDAEType: simulation
got:      BaUnexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay

== 1 out of 1 tests failed [openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1183, time: 2]