Skip to content

Regression

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

Failing for the past 1 build (Since #19 )
Took 3 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1679/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/DCSTFYG3DVWP53HLMAXKZTPDR5:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/DCSTFYG3DVWP53HLMAXKZTPDR5:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
Unexpected end of /proc/mounts line `overlay / overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/DCSTFYG3DVWP53HLMAXKZTPDR5:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
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_temp1679/equations-expected2019-01-23 19:15:22.986830665 +0000
+++ /tmp/omc-rtest-unknown/openmodelica/debugDumps/optSimpleSolveDAEdump.mos_temp1679/equations-got2019-01-23 19:15:25.394796580 +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/DCSTFYG3DVWP53HLMAXKZTPDR5:/var/lib/docker/overlay2/l/OFBQHWN5VWB3ZDIVLSEHB4ZZO7:/var/lib/docker/overlay2/l/XKNAMZMLHIGLUIWZN6NHS4LQOB:/var/lib/docker/overlay2/l/XDXTSPLZ4IFADJTBU5VPCFEWAO:/var/lib/docker/overlay2/l/TLE42ND4WLQ5HMCG4FABWZYYBM:/var/lib/docker/overlay2/l/N2ZO5AQSQ6RGU55LFPZO3NSFIG:/var/lib/docker/overlay2/l/AFXOGW55ZNK4NUDS4WEZ6VE76H:/var/lib/docker/overlay2/l/KJ36F2MJVNS5N45ELI4N3CNXLN:/var/lib/docker/overlay2/l/SFDLWMOUVQFPH'
+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_temp1679, time: 3]