Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 113.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002403/0.002403, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 55.86 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 53.33 MB / 427.5 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.006074/0.1407, allocations: 3.149 MB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2951/0.4357, allocations: 1.218 MB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.4365, allocations: 22.16 kB / 431.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.437, allocations: 87.11 kB / 432 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.4373, allocations: 68.72 kB / 432 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.4388, allocations: 394.8 kB / 432.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.44, allocations: 0.9443 MB / 433.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.4411, allocations: 0.6949 MB / 434 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000795/0.4419, allocations: 416.9 kB / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005903/0.4425, allocations: 431.2 kB / 434.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.4427, allocations: 119.3 kB / 435 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003552/0.4431, allocations: 156.5 kB / 435.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.4434, allocations: 259.8 kB / 435.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.4439, allocations: 477.5 kB / 435.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.4463, allocations: 1.377 MB / 437.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4463, allocations: 1.094 kB / 437.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4463, allocations: 0.5156 kB / 437.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.453e-05/0.4463, allocations: 0 / 437.2 MB, free: 6.953 MB / 350.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.003191/0.4495, allocations: 1.209 MB / 438.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.4496, allocations: 15.91 kB / 438.5 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.4503, allocations: 129.7 kB / 438.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.4513, allocations: 0.5485 MB / 439.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.4515, allocations: 136.6 kB / 439.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.4516, allocations: 100.4 kB / 439.4 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.4554, allocations: 1.719 MB / 441.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.4555, allocations: 0 / 441.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.4556, allocations: 37.97 kB / 441.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.4556, allocations: 21.31 kB / 441.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.4575, allocations: 0.7886 MB / 441.9 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.4611, allocations: 2.13 MB / 444.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.4628, allocations: 0.9756 MB / 445 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008703/0.4636, allocations: 454.3 kB / 445.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.4637, allocations: 30.39 kB / 445.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000812/0.4645, allocations: 391 kB / 445.9 MB, free: 2.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.096e-06/0.4645, allocations: 5 kB / 445.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002531/0.467, allocations: 1.132 MB / 447 MB, free: 2.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.4672, allocations: 255.2 kB / 447.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.4678, allocations: 436.9 kB / 447.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.353e-05/0.4679, allocations: 62.3 kB / 447.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.4681, allocations: 285.6 kB / 448 MB, free: 1.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.4682, allocations: 165.4 kB / 448.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.4685, allocations: 217.6 kB / 448.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4687, allocations: 370 kB / 448.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006467/0.4693, allocations: 320.8 kB / 449.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000828/0.4702, allocations: 0.616 MB / 449.7 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.4715, allocations: 0.8326 MB / 450.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4715, allocations: 3.312 kB / 450.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00196/0.4735, allocations: 0.9975 MB / 451.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.52e-05/0.4735, allocations: 36.95 kB / 451.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.4736, allocations: 9.469 kB / 451.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/0.4736, allocations: 19.78 kB / 451.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.474, allocations: 108.3 kB / 451.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.142e-05/0.474, allocations: 20.45 kB / 451.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4745, allocations: 91.67 kB / 451.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/0.4745, allocations: 42.41 kB / 451.9 MB, free: 15.07 MB / 366.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,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,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,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006406/0.4752, allocations: 408.6 kB / 452.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007412/0.4759, allocations: 399.1 kB / 452.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.4761, allocations: 81.16 kB / 452.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.4762, allocations: 22.94 kB / 452.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.4762, allocations: 1.375 kB / 452.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.4762, allocations: 7.625 kB / 452.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.4789, allocations: 1.665 MB / 454.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4789, allocations: 5.016 kB / 454.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.4793, allocations: 87.91 kB / 454.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4793, allocations: 4.469 kB / 454.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.4794, allocations: 27.91 kB / 454.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.4794, allocations: 8.188 kB / 454.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.4794, allocations: 6 kB / 454.6 MB, free: 13.64 MB / 366.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012: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.001935/0.4813, allocations: 1.126 MB / 455.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.4815, allocations: 153.4 kB / 455.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4816, allocations: 32.61 kB / 455.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.482, allocations: 41.59 kB / 455.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.4822, allocations: 94.73 kB / 456 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.4822, allocations: 28.17 kB / 456 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.4826, allocations: 256 kB / 456.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4826, allocations: 0 / 456.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008503/0.4834, allocations: 180 kB / 456.5 MB, free: 12.57 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.4837, allocations: 212.8 kB / 456.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.4854, allocations: 0.8766 MB / 457.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4854, allocations: 1.188 kB / 457.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000561/0.486, allocations: 262.8 kB / 457.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4871, allocations: 290 kB / 458.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.4897, allocations: 1.466 MB / 459.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.4906, allocations: 0.9959 MB / 460.5 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.4908, allocations: 67.09 kB / 460.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4908, allocations: 1.344 kB / 460.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of Templates: time 0.01617/0.507, allocations: 9.445 MB / 470.1 MB, free: 4.332 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" 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: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,time [Calling sys.exit(0), Time elapsed: 8.368876664986601]