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.001588/0.001588, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001602/0.001602, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.002586/0.002586, allocations: 47.92 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3181, allocations: 53.36 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005337/0.3234, allocations: 3.014 MB / 434.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.326, allocations: 1.172 MB / 435.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.3262, allocations: 23.88 kB / 435.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3265, allocations: 86.92 kB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.3267, allocations: 71.27 kB / 435.9 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3277, allocations: 403 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.3288, allocations: 0.9445 MB / 437.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009769/0.3297, allocations: 0.55 MB / 437.8 MB, free: 448 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005564/0.3303, allocations: 418.6 kB / 438.2 MB, free: 28 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.3308, allocations: 438.2 kB / 438.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.331, allocations: 120 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.3312, allocations: 143.9 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3315, allocations: 267.3 kB / 439.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.3319, allocations: 370.1 kB / 439.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.3335, allocations: 1.391 MB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.3335, allocations: 0 / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3335, allocations: 0 / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3335, allocations: 0 / 440.9 MB, free: 13.32 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.002385/0.3359, allocations: 1.14 MB / 442.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.336, allocations: 12.03 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.3365, allocations: 132.2 kB / 442.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3376, allocations: 0.4937 MB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.3378, allocations: 185.4 kB / 442.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.338, allocations: 100.4 kB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/0.3413, allocations: 1.767 MB / 444.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.3413, allocations: 4 kB / 444.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.3414, allocations: 36 kB / 444.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.3414, allocations: 24 kB / 444.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.3431, allocations: 0.7816 MB / 445.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.3464, allocations: 1.728 MB / 447.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.3482, allocations: 0.9111 MB / 448.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008737/0.3491, allocations: 448.5 kB / 448.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.3492, allocations: 19.98 kB / 448.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.3499, allocations: 450.7 kB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.366e-06/0.3499, allocations: 0 / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002409/0.3523, allocations: 1.131 MB / 450.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.3526, allocations: 257.4 kB / 450.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.3531, allocations: 392.2 kB / 450.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.562e-05/0.3532, allocations: 57.69 kB / 450.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.3535, allocations: 289.9 kB / 451.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.3536, allocations: 166.9 kB / 451.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.3539, allocations: 218.6 kB / 451.6 MB, free: 2.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.3542, allocations: 370.8 kB / 452 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.3548, allocations: 347.5 kB / 452.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.3557, allocations: 0.6331 MB / 452.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.3572, allocations: 0.8467 MB / 453.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.3572, allocations: 4 kB / 453.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001865/0.359, allocations: 1.022 MB / 454.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.3591, allocations: 37.7 kB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3591, allocations: 8 kB / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.545e-05/0.3592, allocations: 16 kB / 454.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.3595, allocations: 107.7 kB / 455 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/0.3596, allocations: 19.94 kB / 455 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.36, allocations: 87.81 kB / 455.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.3601, allocations: 43.98 kB / 455.1 MB, free: 14.39 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.0006336/0.3607, allocations: 407.4 kB / 455.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/0.3614, allocations: 408.2 kB / 455.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3616, allocations: 79.11 kB / 456 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.3617, allocations: 12 kB / 456 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3617, allocations: 0 / 456 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.3617, allocations: 7.984 kB / 456 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.3642, allocations: 1.419 MB / 457.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3642, allocations: 128 / 457.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/0.3646, allocations: 99.75 kB / 457.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.3646, allocations: 4 kB / 457.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.3647, allocations: 23.98 kB / 457.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.547e-05/0.3647, allocations: 7.984 kB / 457.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3647, allocations: 4 kB / 457.6 MB, free: 11.89 MB / 366.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:8018:5-8018: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.001852/0.3666, allocations: 1.125 MB / 458.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.3667, allocations: 67.48 kB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3668, allocations: 35.98 kB / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003826/0.3671, allocations: 35.97 kB / 458.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.3673, allocations: 87.88 kB / 458.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.3674, allocations: 31.98 kB / 459 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.3677, allocations: 227 kB / 459.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3677, allocations: 4 kB / 459.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007559/0.3684, allocations: 191.5 kB / 459.4 MB, free: 10.06 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.0003227/0.3687, allocations: 212.3 kB / 459.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.3704, allocations: 0.9114 MB / 460.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3704, allocations: 0 / 460.5 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.371, allocations: 262.8 kB / 460.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.372, allocations: 294.3 kB / 461 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3745, allocations: 1.459 MB / 462.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/0.3751, allocations: 428.8 kB / 462.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.3754, allocations: 128.6 kB / 463 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.3756, allocations: 63.41 kB / 463.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3756, allocations: 0 / 463.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01505/0.3906, allocations: 7.169 MB / 470.3 MB, free: 15.11 MB / 382.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/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:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[2].k,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.useSolver,cosine_angle_input.amplitude,cosine_angle_input.continuous,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[2].k,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.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.continuous,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 [Calling sys.exit(0), Time elapsed: 5.07964564114809]