Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.001679, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 59.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.274, allocations: 53.41 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005577/0.2796, allocations: 3.182 MB / 435.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002741/0.2824, allocations: 1.219 MB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.2829, allocations: 23.88 kB / 436.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.2833, allocations: 98.91 kB / 437 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003447/0.2836, allocations: 67.22 kB / 437 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2849, allocations: 398.8 kB / 437.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2861, allocations: 0.9523 MB / 438.4 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.2871, allocations: 0.5538 MB / 438.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.2878, allocations: 414.7 kB / 439.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.2884, allocations: 438 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.2887, allocations: 120 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.2889, allocations: 135.9 kB / 440 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2892, allocations: 263.3 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006429/0.2899, allocations: 473.7 kB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.2916, allocations: 1.371 MB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2916, allocations: 4 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2916, allocations: 3.938 kB / 442.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.54e-05/0.2916, allocations: 0 / 442.1 MB, free: 13.03 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.002502/0.2941, allocations: 1.136 MB / 443.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2942, allocations: 12.03 kB / 443.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005266/0.2947, allocations: 132.2 kB / 443.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.2957, allocations: 0.4937 MB / 443.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.2959, allocations: 189.4 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.2961, allocations: 92.38 kB / 444.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.2993, allocations: 1.726 MB / 445.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2993, allocations: 7.938 kB / 445.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.753e-05/0.2994, allocations: 36 kB / 445.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.2994, allocations: 20 kB / 445.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.3011, allocations: 0.7816 MB / 446.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.3047, allocations: 2.078 MB / 448.8 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3065, allocations: 0.9025 MB / 449.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.3073, allocations: 457.6 kB / 450.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.129e-05/0.3073, allocations: 24.12 kB / 450.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007283/0.3081, allocations: 391.3 kB / 450.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 5.05e-06/0.3081, allocations: 0 / 450.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002392/0.3105, allocations: 1.14 MB / 451.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/0.3107, allocations: 261.4 kB / 451.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.3113, allocations: 429.2 kB / 452.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.667e-05/0.3114, allocations: 61.69 kB / 452.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.3116, allocations: 285.8 kB / 452.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.3118, allocations: 174.9 kB / 452.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.3121, allocations: 210.6 kB / 453.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3123, allocations: 374.8 kB / 453.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.3129, allocations: 317.8 kB / 453.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.3137, allocations: 0.612 MB / 454.4 MB, free: 228 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.315, allocations: 0.8451 MB / 455.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.315, allocations: 4 kB / 455.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001787/0.3168, allocations: 0.9904 MB / 456.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.3169, allocations: 41.7 kB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.3169, allocations: 8 kB / 456.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/0.3169, allocations: 16 kB / 456.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.3173, allocations: 107.7 kB / 456.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.3173, allocations: 15.94 kB / 456.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.3177, allocations: 95.8 kB / 456.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.3178, allocations: 47.98 kB / 456.5 MB, free: 13.9 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.0006019/0.3184, allocations: 407.1 kB / 456.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007004/0.3191, allocations: 387.7 kB / 457.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.3193, allocations: 87.2 kB / 457.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3193, allocations: 12 kB / 457.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.3193, allocations: 0 / 457.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.3194, allocations: 7.984 kB / 457.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.322, allocations: 1.634 MB / 459 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.322, allocations: 3.938 kB / 459 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3224, allocations: 95.73 kB / 459.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3224, allocations: 8 kB / 459.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.3225, allocations: 31.92 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.3225, allocations: 4 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.3225, allocations: 4.062 kB / 459.2 MB, free: 11.18 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:8030:5-8030: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.001814/0.3243, allocations: 1.132 MB / 460.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.3244, allocations: 71.44 kB / 460.4 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3245, allocations: 39.97 kB / 460.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3249, allocations: 35.97 kB / 460.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.3251, allocations: 95.81 kB / 460.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.3251, allocations: 31.98 kB / 460.6 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002958/0.3254, allocations: 259.1 kB / 460.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3254, allocations: 0 / 460.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.3262, allocations: 183.6 kB / 461 MB, free: 9.309 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.0002884/0.3265, allocations: 208.3 kB / 461.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.3282, allocations: 0.8815 MB / 462.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3282, allocations: 0 / 462.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.3287, allocations: 260.3 kB / 462.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.3299, allocations: 290.8 kB / 462.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.3325, allocations: 1.472 MB / 464.1 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.3332, allocations: 0.9985 MB / 465.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.3335, allocations: 71.34 kB / 465.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3335, allocations: 0 / 465.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of Templates: time 0.01583/0.3493, allocations: 9.429 MB / 474.6 MB, free: 11.6 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.805616533150896]