Regression
tests / testsuite-gcc / simulation_modelica_synchronous.SamplingWithClocks.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ SamplingWithClocks ... equation mismatch [time: 1] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/synchronous/SamplingWithClocks.mos_temp3951/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/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' ============================== 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_temp3951/equations-expected2019-01-23 19:19:58.542999254 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/synchronous/SamplingWithClocks.mos_temp3951/equations-got2019-01-23 19:19:59.626984419 +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/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' +============================== 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_temp3951, time: 1]