Skip to content

Regression

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

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/SamplingWithClocks.mos_temp9786/log-SamplingWithClocks.mos
true
""
true
""
"class SamplingWithClocks \"Using clocks to sub and super sample\"
  Real x;
  Real y;
  Real z;
  Real w;
equation
  x = sample(time, Clock(0.1));
  y = sample(time, Clock(0.1));
  z = subSample(x, 2);
  w = superSample(x, 3);
end SamplingWithClocks;
"
""
synchronous features pre-phase: synchronousFeatures


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


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

Variables (1)
========================================
1: y:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): y = $getPart(time)   [dynamic |0|0|0|0|]


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


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


no matching


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

Variables (1)
========================================
1: x:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): x = $getPart(time)   [dynamic |0|0|0|0|]


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


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


no matching


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

Variables (1)
========================================
1: w:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): w = $getPart(x)   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(4)
========================================

Variables (1)
========================================
1: z:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): z = $getPart(x)   [dynamic |0|0|0|0|]


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


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


no matching



Base clocks (2)
========================================
1: Clock(0.1)[1]
2: Clock(0.1)[3]


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

synchronous features post-phase: synchronousFeatures


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


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

Variables (1)
========================================
1: y:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): y = $getPart(time)   [dynamic |0|0|0|0|]


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


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


no matching


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

Variables (1)
========================================
1: x:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): x = $getPart(time)   [dynamic |0|0|0|0|]


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


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


no matching


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

Variables (1)
========================================
1: w:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): w = $getPart(x)   [dynamic |0|0|0|0|]


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


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


no matching


clocked partition(4)
========================================

Variables (1)
========================================
1: z:VARIABLE()  type: Real 


Equations (1, 1)
========================================
1/1 (1): z = $getPart(x)   [dynamic |0|0|0|0|]


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


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


no matching



Base clocks (2)
==========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'
==============================
1: Clock(0.1)[1]
2: Clock(0.1)[3]


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

true
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-unknown/simulation/modelica/synchronous/SamplingWithClocks.mos_temp9786/equations-expected2019-10-28 13:33:05.045783657 +0000
+++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/SamplingWithClocks.mos_temp9786/equations-got2019-10-28 13:33:05.593777891 +0000
@@ -237,11 +237,12 @@
 no matching
 
 
 
 Base clocks (2)
-========================================
+==========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'
+==============================
 1: Clock(0.1)[1]
 2: Clock(0.1)[3]
 
 
 Sub clocks (4)

Equation mismatch: omc-diff says:
Failed '=' 'U'
Line 242: 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/SamplingWithClocks.mos_temp9786, time: 0]