Skip to content

Regression

tests / testsuite-gcc / simulation_modelica_synchronous.subSample.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + test_subSample                                                                    ... equation mismatch [time: 0]

==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/subSample.mos_temp2036/log-subSample.mos
true
""
true
""
synchronous features pre-phase: synchronousFeatures


########################################
clock partitioning (4 partitions)
########################################


continuous time partition
========================================

Variables (3)
========================================
1: f:VARIABLE()  type: Real 
2: v:STATE(1)(start = 0.0 fixed = true )  type: Real 
3: x:STATE(1)(start = 1.0 fixed = true )  type: Real 


Equations (3, 3)
========================================
1/1 (1): f = $getPart(u)   [dynamic |0|0|0|0|]
2/2 (1): der(x) = v   [dynamic |0|0|0|0|]
3/3 (1): m * der(v) = f + (-k) * x - d * v   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(1)
========================================

Variables (2)
========================================
1: u:DISCRETE(start = 0.0 )  type: Real 
2: vd:DISCRETE()  type: Real 


Equations (2, 2)
========================================
1/1 (1): vd = $getPart(v)   [dynamic |0|0|0|0|]
2/2 (1): u = K * (vref - vd)   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(2)
========================================

Variables (1)
========================================
1: u2:DISCRETE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): u2 = $getPart(u)   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(3)
========================================

Variables (1)
========================================
1: u3:DISCRETE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): u3 = $getPart(u2)   [dynamic |0|0|0|0|]


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


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


no matching



Base clocks (1)
========================================
1: Clock(0.01)[3]


Sub clocks (3)
========================================
1: factor(1/1) shift(0/1)  event(true)
2: factor(2/1) shift(0/1)  event(false)
3: factor(6/1) shift(0/1)  event(false)

synchronous features post-phase: synchronousFeatures


########################################
clock partitioning (4 partitions)
########################################


continuous time partition
========================================

Variables (3)
========================================
1: f:VARIABLE()  type: Real 
2: v:STATE(1)(start = 0.0 fixed = true )  type: Real 
3: x:STATE(1,v)(start = 1.0 fixed = true )  type: Real 


Equations (3, 3)
========================================
1/1 (1): f = $getPart(u)   [dynamic |0|0|0|0|]
2/2 (1): der(x) = v   [dynamic |0|0|0|0|]
3/3 (1): m * der(v) = f + (-k) * x - d * v   [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 3
var 3 is solved in eqn 2


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


clocked partition(1)
========================================

Variables (2)
========================================
1: u:DISCRETE(start = 0.0 )  type: Real 
2: vd:DISCRETE()  type: Real 


Equations (2, 2)
========================================
1/1 (1): vd = $getPart(v)   [dynamic |0|0|0|0|]
2/2 (1): u = K * (vref - vd)   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(2)
========================================

Variables (1)
========================================
1: u2:DISCRETE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): u2 = $getPart(u)   [dynamic |0|0|0|0|]


Simple Equations (0, 0)
=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'
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'
=======================================


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


no matching


clocked partition(3)
========================================

Variables (1)
========================================
1: u3:DISCRETE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): u3 = $getPart(u2)   [dynamic |0|0|0|0|]


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


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


no matching



Base clocks (1)
========================================
1: Clock(0.01)[3]


Sub clocks (3)
========================================
1: factor(1/1) shift(0/1)  event(true)
2: factor(2/1) shift(0/1)  event(false)
3: factor(6/1) shift(0/1)  event(false)

true
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/synchronous/subSample.mos_temp2036/equations-expected2019-01-23 19:19:58.115005110 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/subSample.mos_temp2036/equations-got2019-01-23 19:19:59.002992959 +0000
@@ -210,11 +210,12 @@
 ========================================
 1/1 (1): u2 = $getPart(u)   [dynamic |0|0|0|0|]
 
 
 Simple Equations (0, 0)
-========================================
+=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'
+=======================================
 
 
 State Sets
 ========================================
 

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

== 1 out of 1 tests failed [simulation/modelica/synchronous/subSample.mos_temp2036, time: 1]