Skip to content

Regression

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

Failing for the past 1 build (Since #25 )
Took 0 ms.

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_temp842/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/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'
=======================================


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_temp842/equations-expected2019-10-28 13:33:05.025783868 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/subSample.mos_temp842/equations-got2019-10-28 13:33:05.497778902 +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/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'
+=======================================
 
 
 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_temp842, time: 0]