Skip to content

Failed

tests / 03 testsuite-gcc 3/3 / simulation_modelica_synchronous.MutuallyDependentClocks.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

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

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/synchronous/MutuallyDependentClocks.mos_temp5556/log-MutuallyDependentClocks.mos
true
""
true
""
"class MutuallyDependentClocks
  Clock c = Clock(0.1);
  Clock cf = superSample(c, 5);
  Clock cs = subSample(c, 5);
  Real u;
  Real v;
  Real w;
  Real x;
  Real y;
  Real z;
equation
  v = sample(time, c);
  w = sample(time, cf);
  x = subSample(w, 5);
  y = sample(time, cs);
  z = superSample(y, 5);
  u = v + x + z;
end MutuallyDependentClocks;
"
""
synchronous features pre-phase: synchronousFeatures


########################################
clock partitioning (3 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: w:VARIABLE()  type: Real


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


no matching


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

Variables (4)
========================================
1: z:VARIABLE()  type: Real
2: x:VARIABLE()  type: Real
3: v:VARIABLE()  type: Real
4: u:VARIABLE()  type: Real


Equations (4, 4)
========================================
1/1 (1): v = $getPart(time)   [dynamic |0|0|0|0|]
2/2 (1): x = $getPart(w)   [dynamic |0|0|0|0|]
3/3 (1): z = $getPart(y)   [dynamic |0|0|0|0|]
4/4 (1): u = v + x + z   [dynamic |0|0|0|0|]


no matching



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


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

synchronous features post-phase: synchronousFeatures


########################################
clock partitioning (3 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: w:VARIABLE()  type: Real


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


no matching


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

Variables (4)
========================================
1: z:VARIABLE()  type: Real
2: x:VARIABLE()  type: Real
3: v:VARIABLE()  type: Real
4: u:VARIABLE()  type: Real


Equations (4, 4)
========================================
1/1 (1): v = $getPart(time)   [dynamic |0|0|0|0|]
2/2 (1): x = $getPart(w)   [dynamic |0|0|0|0|]
3/3 (1): z = $getPart(y)   [dynamic |0|0|0|0|]
4/4 (1): u = v + x + z   [dynamic |0|0|0|0|]


no matching



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


Sub clocks (3)
========================================
1: factor(5/1) shift(0/1)  event(false)
2: factor(1/5) shift(0/1)  event(false)
3: factor(1/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/MutuallyDependentClocks.mos_temp5556/equations-expected2024-04-20 01:54:09.044053819 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/synchronous/MutuallyDependentClocks.mos_temp5556/equations-got2024-04-20 01:54:09.232053827 +0000
@@ -168,7 +168,9 @@
 ========================================
 1: factor(5/1) shift(0/1)  event(false)
 2: factor(1/5) shift(0/1)  event(false)
 3: factor(1/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 173: Text differs:
expected: true
got:      false

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