Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008462/0.0008463, allocations: 92.53 kB / 16.3 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 184.3 kB / 17.19 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003549, allocations: 6.766 kB / 300.7 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003746/0.1494, allocations: 2.613 MB / 353.8 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1516, allocations: 1.036 MB / 354.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.1521, allocations: 15.94 kB / 354.8 MB, free: 8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.1523, allocations: 59.42 kB / 354.9 MB, free: 7.941 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.1525, allocations: 35.81 kB / 354.9 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.1535, allocations: 267.5 kB / 355.2 MB, free: 7.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1541, allocations: 499.7 kB / 355.6 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.1552, allocations: 0.6498 MB / 356.3 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.1556, allocations: 198.9 kB / 356.5 MB, free: 6.289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.156, allocations: 254.3 kB / 356.7 MB, free: 6.039 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.1561, allocations: 20 kB / 356.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1562, allocations: 35.92 kB / 356.8 MB, free: 5.984 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1564, allocations: 115.5 kB / 356.9 MB, free: 5.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1566, allocations: 153.2 kB / 357.1 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1578, allocations: 1.017 MB / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1578, allocations: 0 / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1578, allocations: 0 / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1578, allocations: 0 / 358.1 MB, free: 4.695 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002139/0.16, allocations: 1.002 MB / 359.1 MB, free: 3.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.623e-05/0.1601, allocations: 8.031 kB / 359.1 MB, free: 3.617 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/0.1603, allocations: 102.8 kB / 359.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1614, allocations: 0.5216 MB / 359.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.1616, allocations: 137.4 kB / 359.8 MB, free: 2.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1617, allocations: 95.98 kB / 359.9 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.1647, allocations: 1.71 MB / 361.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.1647, allocations: 0 / 361.6 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/0.1648, allocations: 39.98 kB / 361.7 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.1649, allocations: 24 kB / 361.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1665, allocations: 0.7977 MB / 362.5 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/0.1704, allocations: 2.164 MB / 364.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1721, allocations: 1.032 MB / 365.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.586e-05/0.1722, allocations: 28.12 kB / 365.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007515/0.173, allocations: 403.8 kB / 366.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 5.4e-06/0.173, allocations: 4 kB / 366.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.00239/0.1754, allocations: 1.155 MB / 367.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.1756, allocations: 246.1 kB / 367.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.1762, allocations: 429 kB / 367.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.1763, allocations: 61.69 kB / 368 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.1765, allocations: 293.4 kB / 368.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.1767, allocations: 150.3 kB / 368.4 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1768, allocations: 20 kB / 368.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.177, allocations: 374.8 kB / 368.8 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.1776, allocations: 325.8 kB / 369.1 MB, free: 9.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.1784, allocations: 0.616 MB / 369.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007716/0.1792, allocations: 389.5 kB / 370.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.1792, allocations: 4 kB / 370.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001948/0.1812, allocations: 1.006 MB / 371.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.1812, allocations: 33.7 kB / 371.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1813, allocations: 12 kB / 371.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.1813, allocations: 16 kB / 371.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.1817, allocations: 119.7 kB / 371.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.1817, allocations: 23.92 kB / 371.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/0.1822, allocations: 99.2 kB / 371.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-05/0.1823, allocations: 40 kB / 371.5 MB, free: 6.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000726/0.183, allocations: 403.1 kB / 371.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.1837, allocations: 394.9 kB / 372.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.1844, allocations: 419 kB / 372.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.1844, allocations: 8 kB / 372.7 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.1844, allocations: 4 kB / 372.7 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.1844, allocations: 3.984 kB / 372.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002526/0.187, allocations: 1.684 MB / 374.4 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.187, allocations: 4 kB / 374.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.1874, allocations: 99.73 kB / 374.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.1874, allocations: 4 kB / 374.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.1875, allocations: 23.98 kB / 374.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.1875, allocations: 4.125 kB / 374.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.1875, allocations: 8 kB / 374.5 MB, free: 3.598 MB / 302.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.1894, allocations: 1.222 MB / 375.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.1896, allocations: 148.2 kB / 375.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.1897, allocations: 35.98 kB / 375.9 MB, free: 2.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1901, allocations: 47.97 kB / 376 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.1903, allocations: 87.83 kB / 376 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.1904, allocations: 39.98 kB / 376.1 MB, free: 1.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002926/0.1907, allocations: 247.2 kB / 376.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 0 / 376.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008309/0.1915, allocations: 179.4 kB / 376.5 MB, free: 1.523 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.1919, allocations: 220.5 kB / 376.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.1936, allocations: 0.9099 MB / 377.6 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1937, allocations: 0 / 377.6 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.1942, allocations: 289.6 kB / 377.9 MB, free: 100 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.1951, allocations: 291.3 kB / 378.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.1978, allocations: 1.624 MB / 379.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.1985, allocations: 1.022 MB / 380.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003662/0.1989, allocations: 129.1 kB / 381 MB, free: 12.96 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.1991, allocations: 67.41 kB / 381 MB, free: 12.89 MB / 318.1 MB Notification: Performance of SimCode: time 1.413e-06/0.1991, allocations: 0 / 381 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Templates: time 0.01329/0.2124, allocations: 6.124 MB / 387.2 MB, free: 6.797 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y Variables in the result:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[1].y,conjunctiveClock.S_false[2].k,conjunctiveClock.S_false[2].y,conjunctiveClock.clock.useSolver,conjunctiveClock.input_memory[1].Qini,conjunctiveClock.input_memory[1].pre.pre_u_start,conjunctiveClock.input_memory[2].Qini,conjunctiveClock.input_memory[2].pre.pre_u_start,conjunctiveClock.input_ticked[1].input_hold.y_start,conjunctiveClock.input_ticked[1].input_ticked.pre_u_start,conjunctiveClock.input_ticked[2].input_hold.y_start,conjunctiveClock.input_ticked[2].input_ticked.pre_u_start,conjunctiveClock.nu,conjunctiveClock.reset_ticked.input_hold.y_start,conjunctiveClock.reset_ticked.input_ticked.pre_u_start,conjunctiveClock.splitter.nout,conjunctiveClock.suppress_S[1].u1,conjunctiveClock.suppress_S[2].u1,conjunctiveClock.useSolver,cosine_angle_input.amplitude,cosine_angle_input.f,cosine_angle_input.offset,cosine_angle_input.phase,cosine_angle_input.startTime,cosine_angle_input.y,disjunctiveClock.S_false[1].k,disjunctiveClock.S_false[1].y,disjunctiveClock.S_false[2].k,disjunctiveClock.S_false[2].y,disjunctiveClock.clock.useSolver,disjunctiveClock.input_memory[1].Qini,disjunctiveClock.input_memory[1].pre.pre_u_start,disjunctiveClock.input_memory[2].Qini,disjunctiveClock.input_memory[2].pre.pre_u_start,disjunctiveClock.input_ticked[1].input_hold.y_start,disjunctiveClock.input_ticked[1].input_ticked.pre_u_start,disjunctiveClock.input_ticked[2].input_hold.y_start,disjunctiveClock.input_ticked[2].input_ticked.pre_u_start,disjunctiveClock.nu,disjunctiveClock.reset_ticked.input_hold.y_start,disjunctiveClock.reset_ticked.input_ticked.pre_u_start,disjunctiveClock.splitter.nout,disjunctiveClock.suppress_S[1].u1,disjunctiveClock.suppress_S[2].u1,disjunctiveClock.useSolver,rotational_clock_1.abs1.generateEvent,rotational_clock_1.abs2.generateEvent,rotational_clock_1.angle,rotational_clock_1.angular_offset.y_start,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.direction_sign.generateEvent,rotational_clock_1.sub.k1,rotational_clock_1.sub.k2,rotational_clock_1.useSolver,rotational_clock_1.y_clock.useSolver,rotational_clock_2.abs1.generateEvent,rotational_clock_2.abs2.generateEvent,rotational_clock_2.angle,rotational_clock_2.angular_offset.y_start,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.direction_sign.generateEvent,rotational_clock_2.sub.k1,rotational_clock_2.sub.k2,rotational_clock_2.useSolver,rotational_clock_2.y_clock.useSolver,sample_conjunctive.y,sample_disjunctive.u,sample_disjunctive.y,sine_angle_input.amplitude,sine_angle_input.f,sine_angle_input.offset,sine_angle_input.phase,sine_angle_input.startTime,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width