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.001757/0.001757, allocations: 99.64 kB / 21.18 MB, free: 0.6445 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.001503/0.001503, allocations: 205.9 kB / 24.48 MB, free: 3.934 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.44/1.44, allocations: 230.5 MB / 258.1 MB, free: 7.75 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.001911/0.001911, allocations: 59.91 kB / 379 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2598, allocations: 53.41 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004964/0.2648, allocations: 2.996 MB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.267, allocations: 1.172 MB / 436.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.2672, allocations: 19.88 kB / 436.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.2675, allocations: 90.97 kB / 436.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.2677, allocations: 71.22 kB / 436.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.2686, allocations: 410.2 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009527/0.2695, allocations: 0.9406 MB / 438.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008642/0.2704, allocations: 0.549 MB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005698/0.271, allocations: 418.6 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004806/0.2715, allocations: 450 kB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.2716, allocations: 120 kB / 439.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.2718, allocations: 132 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.2721, allocations: 267.2 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.2724, allocations: 370.2 kB / 440.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.2738, allocations: 1.389 MB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2738, allocations: 0 / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2738, allocations: 0 / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2738, allocations: 0 / 441.7 MB, free: 13.14 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.001911/0.2757, allocations: 1.14 MB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2757, allocations: 11.98 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.2762, allocations: 132.2 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.2771, allocations: 0.4937 MB / 443.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.2773, allocations: 189.4 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2774, allocations: 100.4 kB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.2804, allocations: 1.772 MB / 445.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2804, allocations: 3.938 kB / 445.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/0.2805, allocations: 39.97 kB / 445.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.2805, allocations: 20 kB / 445.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.2821, allocations: 0.7894 MB / 446.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003152/0.2852, allocations: 1.724 MB / 448.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.2869, allocations: 0.9037 MB / 449 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.2877, allocations: 449.8 kB / 449.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.2877, allocations: 12 kB / 449.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000735/0.2885, allocations: 462.6 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.085e-06/0.2885, allocations: 0 / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002295/0.2908, allocations: 1.128 MB / 451.1 MB, free: 3.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.2909, allocations: 253.5 kB / 451.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.2914, allocations: 392.2 kB / 451.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.515e-05/0.2915, allocations: 61.69 kB / 451.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.2917, allocations: 281.8 kB / 452 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.2919, allocations: 166.9 kB / 452.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.2922, allocations: 222.6 kB / 452.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2924, allocations: 370.8 kB / 452.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/0.293, allocations: 351.4 kB / 453.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.2938, allocations: 0.637 MB / 453.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2951, allocations: 0.8412 MB / 454.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2951, allocations: 4 kB / 454.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001711/0.2968, allocations: 1.015 MB / 455.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.2968, allocations: 45.62 kB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2969, allocations: 12 kB / 455.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.2969, allocations: 16.59 kB / 455.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.2973, allocations: 111.7 kB / 455.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.2973, allocations: 15.94 kB / 455.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.2977, allocations: 79.59 kB / 455.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.2977, allocations: 43.98 kB / 455.9 MB, free: 14.2 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.0005411/0.2983, allocations: 407.6 kB / 456.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/0.299, allocations: 407.5 kB / 456.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.2991, allocations: 79.11 kB / 456.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.2991, allocations: 12 kB / 456.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.2992, allocations: 0 / 456.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.2992, allocations: 7.984 kB / 456.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.3015, allocations: 1.424 MB / 458.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.3015, allocations: 0 / 458.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.3018, allocations: 99.73 kB / 458.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.3018, allocations: 4 kB / 458.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.3019, allocations: 23.98 kB / 458.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.3019, allocations: 7.938 kB / 458.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3019, allocations: 8 kB / 458.4 MB, free: 11.69 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: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.00182/0.3037, allocations: 1.121 MB / 459.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.3038, allocations: 63.48 kB / 459.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.3039, allocations: 39.98 kB / 459.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3043, allocations: 39.95 kB / 459.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.3045, allocations: 83.89 kB / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.3045, allocations: 35.98 kB / 459.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.3048, allocations: 227 kB / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 460 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007196/0.3055, allocations: 195.4 kB / 460.2 MB, free: 9.863 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.0002796/0.3058, allocations: 204.3 kB / 460.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.3075, allocations: 0.9115 MB / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.3075, allocations: 1.875 kB / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.308, allocations: 263.7 kB / 461.6 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.309, allocations: 291.1 kB / 461.8 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.3114, allocations: 1.467 MB / 463.3 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.3119, allocations: 408.8 kB / 463.7 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3121, allocations: 71.41 kB / 463.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3121, allocations: 0 / 463.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of Templates: time 0.01404/0.3261, allocations: 9.421 MB / 473.2 MB, free: 12.73 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.395115368999541]