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.001818/0.001818, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002173/0.002173, allocations: 184.3 kB / 24.45 MB, free: 3.961 MB / 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.423/1.423, allocations: 225.7 MB / 253.3 MB, free: 12.81 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.001571/0.001571, allocations: 51.91 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2309, allocations: 52.16 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004941/0.2358, allocations: 2.998 MB / 426.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.238, allocations: 1.079 MB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002149/0.2382, allocations: 19.88 kB / 427.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.2385, allocations: 94.91 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.2386, allocations: 59.3 kB / 428.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000978/0.2396, allocations: 389.7 kB / 428.4 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009246/0.2405, allocations: 0.9406 MB / 429.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008275/0.2414, allocations: 0.5457 MB / 429.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.2418, allocations: 410.6 kB / 430.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.2423, allocations: 446 kB / 430.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.2425, allocations: 120 kB / 430.9 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.2427, allocations: 140 kB / 431 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.2429, allocations: 255.3 kB / 431.3 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.2433, allocations: 386.1 kB / 431.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.2446, allocations: 1.369 MB / 433 MB, free: 5.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2446, allocations: 4 kB / 433 MB, free: 5.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2446, allocations: 0 / 433 MB, free: 5.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.2446, allocations: 3.938 kB / 433 MB, free: 5.219 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.001871/0.2465, allocations: 1.124 MB / 434.1 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2465, allocations: 8.031 kB / 434.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.2467, allocations: 108.3 kB / 434.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/0.2476, allocations: 497.6 kB / 434.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.2478, allocations: 193.3 kB / 434.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2479, allocations: 92.38 kB / 435 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002895/0.2508, allocations: 1.787 MB / 436.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2508, allocations: 0 / 436.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.2509, allocations: 40 kB / 436.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.2509, allocations: 20 kB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.2525, allocations: 0.7855 MB / 437.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.2554, allocations: 1.732 MB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.2571, allocations: 0.909 MB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.2579, allocations: 452.3 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.2579, allocations: 23.98 kB / 440.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000747/0.2587, allocations: 442.7 kB / 441.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.935e-06/0.2587, allocations: 4 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002363/0.2611, allocations: 1.143 MB / 442.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.2612, allocations: 253.4 kB / 442.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.2617, allocations: 384.2 kB / 443 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.212e-05/0.2618, allocations: 61.69 kB / 443 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.262, allocations: 285.9 kB / 443.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.2622, allocations: 162.9 kB / 443.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.2625, allocations: 218.6 kB / 443.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2627, allocations: 370.8 kB / 444 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.2633, allocations: 351.5 kB / 444.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008647/0.2641, allocations: 0.637 MB / 445 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2654, allocations: 0.8565 MB / 445.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2654, allocations: 0 / 445.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001742/0.2672, allocations: 1.028 MB / 446.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.2672, allocations: 33.7 kB / 446.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.2672, allocations: 12 kB / 446.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.2673, allocations: 16 kB / 447 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.2676, allocations: 111.7 kB / 447.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/0.2677, allocations: 23.88 kB / 447.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.268, allocations: 83.53 kB / 447.2 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.2681, allocations: 47.98 kB / 447.2 MB, free: 6.289 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.000545/0.2687, allocations: 404.1 kB / 447.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006904/0.2693, allocations: 395.4 kB / 448 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.2701, allocations: 420.2 kB / 448.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.2701, allocations: 12 kB / 448.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.2701, allocations: 8 kB / 448.4 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2701, allocations: 3.984 kB / 448.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.2725, allocations: 1.419 MB / 449.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2725, allocations: 0 / 449.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.2728, allocations: 95.75 kB / 449.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.2729, allocations: 8 kB / 449.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.2729, allocations: 23.98 kB / 450 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.2729, allocations: 7.984 kB / 450 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2729, allocations: 4 kB / 450 MB, free: 3.457 MB / 350.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: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.001766/0.2747, allocations: 1.129 MB / 451.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.2748, allocations: 71.38 kB / 451.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.2749, allocations: 39.97 kB / 451.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.2753, allocations: 43.97 kB / 451.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.2754, allocations: 75.89 kB / 451.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.009e-05/0.2755, allocations: 35.98 kB / 451.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002444/0.2757, allocations: 223 kB / 451.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2757, allocations: 3.938 kB / 451.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007704/0.2765, allocations: 191.5 kB / 451.8 MB, free: 1.629 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.0003159/0.2768, allocations: 216.4 kB / 452 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.2785, allocations: 0.9241 MB / 452.9 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2785, allocations: 0 / 452.9 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.279, allocations: 271.1 kB / 453.2 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.2801, allocations: 268.9 kB / 453.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.2826, allocations: 1.449 MB / 454.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.283, allocations: 408.8 kB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.2832, allocations: 71.41 kB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2832, allocations: 7.938 kB / 455.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Templates: time 0.01502/0.2982, allocations: 9.545 MB / 464.9 MB, free: 4.367 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/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] "" 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.398717853240669]