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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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=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.0.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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 51.91 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3265, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.00539/0.3319, allocations: 3.169 MB / 424 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3342, allocations: 1.129 MB / 425.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.3345, allocations: 15.94 kB / 425.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3348, allocations: 90.97 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.335, allocations: 67.22 kB / 425.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.336, allocations: 371.4 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009709/0.337, allocations: 0.9445 MB / 426.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009215/0.3379, allocations: 0.5534 MB / 427.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.3384, allocations: 394.6 kB / 427.6 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.3389, allocations: 441.9 kB / 428 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.339, allocations: 120 kB / 428.1 MB, free: 7.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.3392, allocations: 136 kB / 428.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.3395, allocations: 259.3 kB / 428.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005165/0.34, allocations: 469.7 kB / 429 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.3415, allocations: 1.371 MB / 430.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3415, allocations: 4 kB / 430.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3415, allocations: 0 / 430.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3415, allocations: 0 / 430.3 MB, free: 5.543 MB / 334.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.002083/0.3436, allocations: 1.199 MB / 431.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3437, allocations: 8.031 kB / 431.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.3439, allocations: 108.3 kB / 431.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.3447, allocations: 0.5502 MB / 432.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.3449, allocations: 138 kB / 432.3 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.3451, allocations: 96.38 kB / 432.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.3481, allocations: 1.725 MB / 434.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.3481, allocations: 0 / 434.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.3482, allocations: 39.94 kB / 434.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.3482, allocations: 24 kB / 434.2 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.3498, allocations: 0.7859 MB / 435 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003232/0.353, allocations: 2.125 MB / 437.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.3547, allocations: 0.9805 MB / 438.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.3555, allocations: 457.1 kB / 438.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.3556, allocations: 20.12 kB / 438.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007625/0.3563, allocations: 407.3 kB / 439 MB, free: 12.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.886e-06/0.3563, allocations: 0 / 439 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002315/0.3587, allocations: 1.145 MB / 440.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.3588, allocations: 253.5 kB / 440.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.3593, allocations: 421.3 kB / 440.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-05/0.3594, allocations: 61.69 kB / 440.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.3597, allocations: 293.7 kB / 441.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.3599, allocations: 162.9 kB / 441.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.3601, allocations: 218.6 kB / 441.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.3603, allocations: 370.8 kB / 441.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.3609, allocations: 321.8 kB / 442.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008447/0.3618, allocations: 0.612 MB / 442.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.363, allocations: 0.8532 MB / 443.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.363, allocations: 11.88 kB / 443.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001754/0.3648, allocations: 0.9991 MB / 444.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.3648, allocations: 33.7 kB / 444.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.3649, allocations: 12 kB / 444.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.3649, allocations: 12 kB / 444.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.3653, allocations: 107.7 kB / 444.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.3653, allocations: 24.27 kB / 444.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.3657, allocations: 91.48 kB / 444.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/0.3658, allocations: 40 kB / 445 MB, free: 6.18 MB / 350.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.0005907/0.3664, allocations: 411.1 kB / 445.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006947/0.367, allocations: 395.6 kB / 445.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.3678, allocations: 411.5 kB / 446.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3678, allocations: 12 kB / 446.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3678, allocations: 0 / 446.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.3678, allocations: 7.984 kB / 446.2 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.3703, allocations: 1.668 MB / 447.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3703, allocations: 128 / 447.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.3707, allocations: 103.7 kB / 447.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.3707, allocations: 8 kB / 447.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.3707, allocations: 23.98 kB / 448 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3707, allocations: 4 kB / 448 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3707, allocations: 11.88 kB / 448 MB, free: 3.07 MB / 350.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: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.001741/0.3725, allocations: 1.13 MB / 449.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.3726, allocations: 148.5 kB / 449.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.3727, allocations: 35.98 kB / 449.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.3731, allocations: 35.97 kB / 449.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3733, allocations: 91.84 kB / 449.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.3733, allocations: 31.98 kB / 449.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.3736, allocations: 255.1 kB / 449.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3736, allocations: 0 / 449.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007682/0.3744, allocations: 195.5 kB / 449.9 MB, free: 1.121 MB / 350.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.0003084/0.3747, allocations: 212.6 kB / 450.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.3763, allocations: 0.8819 MB / 451 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3763, allocations: 0 / 451 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.3769, allocations: 268.3 kB / 451.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.3779, allocations: 290.6 kB / 451.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3803, allocations: 1.459 MB / 453 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.381, allocations: 1.014 MB / 454 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.3813, allocations: 128.7 kB / 454.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3815, allocations: 59.42 kB / 454.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3815, allocations: 4 kB / 454.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01451/0.396, allocations: 7.227 MB / 461.4 MB, free: 5.527 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.140452262014151]