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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.00194/0.00194, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.582/1.582, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001586/0.001586, allocations: 59.91 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005478/0.3236, allocations: 3.182 MB / 435.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3262, allocations: 1.231 MB / 436.8 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.3265, allocations: 19.88 kB / 436.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3268, allocations: 90.91 kB / 436.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.327, allocations: 67.28 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.328, allocations: 395.3 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.3291, allocations: 0.9523 MB / 438.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.33, allocations: 0.5422 MB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.3306, allocations: 418.6 kB / 439.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.3312, allocations: 434 kB / 439.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.3313, allocations: 120 kB / 439.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.3316, allocations: 151.9 kB / 440 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.3318, allocations: 255.3 kB / 440.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005397/0.3324, allocations: 485.6 kB / 440.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.3339, allocations: 1.375 MB / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3339, allocations: 0 / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3339, allocations: 0 / 442.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.3339, allocations: 4 kB / 442.1 MB, free: 13.21 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.002103/0.336, allocations: 1.136 MB / 443.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.336, allocations: 15.97 kB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.3365, allocations: 132.2 kB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009085/0.3374, allocations: 0.4936 MB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.3376, allocations: 193.4 kB / 444 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.3378, allocations: 100.4 kB / 444.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003029/0.3408, allocations: 1.709 MB / 445.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3408, allocations: 4 kB / 445.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.3409, allocations: 43.97 kB / 445.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3409, allocations: 20 kB / 445.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3426, allocations: 0.7933 MB / 446.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.3461, allocations: 2.067 MB / 448.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3478, allocations: 0.9048 MB / 449.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.3487, allocations: 456.1 kB / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.3487, allocations: 24.12 kB / 450.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007821/0.3495, allocations: 395.3 kB / 450.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.597e-06/0.3495, allocations: 4 kB / 450.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002478/0.352, allocations: 1.137 MB / 451.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.3522, allocations: 253.5 kB / 451.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/0.3529, allocations: 437.2 kB / 452.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.3531, allocations: 65.62 kB / 452.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.3534, allocations: 285.8 kB / 452.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.3536, allocations: 162.9 kB / 452.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.3539, allocations: 210.6 kB / 453 MB, free: 1.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.3542, allocations: 374.8 kB / 453.4 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.3548, allocations: 321.8 kB / 453.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009629/0.3558, allocations: 0.6119 MB / 454.3 MB, free: 400 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3572, allocations: 0.8389 MB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3572, allocations: 4 kB / 455.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001851/0.3591, allocations: 0.9946 MB / 456.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.3591, allocations: 41.69 kB / 456.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3591, allocations: 12 kB / 456.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/0.3592, allocations: 16 kB / 456.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.3596, allocations: 107.7 kB / 456.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.932e-05/0.3596, allocations: 23.92 kB / 456.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.36, allocations: 79.5 kB / 456.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.021e-05/0.3601, allocations: 47.98 kB / 456.5 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007116/0.3608, allocations: 407.6 kB / 456.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/0.3616, allocations: 395.9 kB / 457.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.3618, allocations: 91.2 kB / 457.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3618, allocations: 16 kB / 457.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.3618, allocations: 0 / 457.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.3618, allocations: 7.984 kB / 457.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.3646, allocations: 1.638 MB / 459 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.3646, allocations: 0 / 459 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.365, allocations: 95.73 kB / 459.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.365, allocations: 7.938 kB / 459.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.365, allocations: 27.98 kB / 459.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.918e-06/0.3651, allocations: 4 kB / 459.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.3651, allocations: 3.938 kB / 459.2 MB, free: 11.34 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.001896/0.367, allocations: 1.125 MB / 460.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3671, allocations: 75.42 kB / 460.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3672, allocations: 35.98 kB / 460.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.3675, allocations: 43.97 kB / 460.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/0.3678, allocations: 87.81 kB / 460.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.3678, allocations: 27.98 kB / 460.6 MB, free: 9.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003515/0.3682, allocations: 259.2 kB / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3682, allocations: 0 / 460.8 MB, free: 9.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008901/0.3691, allocations: 179.6 kB / 461 MB, free: 9.484 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.0003298/0.3694, allocations: 224.2 kB / 461.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.3712, allocations: 0.875 MB / 462.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3712, allocations: 0 / 462.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.3717, allocations: 262.5 kB / 462.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.3728, allocations: 287.3 kB / 462.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.3755, allocations: 1.469 MB / 464.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007313/0.3762, allocations: 0.9946 MB / 465.1 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.3765, allocations: 67.41 kB / 465.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3765, allocations: 0 / 465.1 MB, free: 5.223 MB / 366.1 MB Notification: Performance of Templates: time 0.01694/0.3934, allocations: 9.437 MB / 474.6 MB, free: 11.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y Variables in the result:rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y,time [Calling sys.exit(0), Time elapsed: 7.866844225907698]