Skip to content

Failed

tests / 04 testsuite-clang 1/3 / simulation_modelica_synchronous.SamplingWithClocks.mos (from (result.xml))

Failing for the past 11 builds (Since #10 )
Took 0 ms.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/synchronous/SamplingWithClocks.mos_temp4710/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|]


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|]


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|]


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|]


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|]


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|]


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|]


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|]


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)

false
"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
Error: No system for the symbolic initialization was generated
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/synchronous/SamplingWithClocks.mos_temp4710/equations-expected2024-04-20 01:42:45.725508468 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/synchronous/SamplingWithClocks.mos_temp4710/equations-got2024-04-20 01:42:45.869511588 +0000
@@ -185,7 +185,9 @@
 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
-""
+false
+"[BackEnd/Initialization.mo:0:0-0:0:writable] Error: Internal error DAEUtil.getStartAttr failed because type Real has no default start value.
+Error: No system for the symbolic initialization was generated
+"

Equation mismatch: omc-diff says:
Failed 't' 'f'
Line 190: Text differs:
expected: true
got:      false

== 1 out of 1 tests failed [simulation/modelica/synchronous/SamplingWithClocks.mos_temp4710, time: 0]