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.00177/0.00177, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00234/0.00234, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.47/1.47, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001706/0.001706, allocations: 43.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2796, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005003/0.2846, allocations: 3.007 MB / 435.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.287, allocations: 1.176 MB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.2872, allocations: 23.81 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2875, allocations: 86.97 kB / 436.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2877, allocations: 71.22 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009868/0.2887, allocations: 402.6 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009673/0.2896, allocations: 0.9446 MB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.2905, allocations: 0.5497 MB / 438.6 MB, free: 452 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005554/0.291, allocations: 418.6 kB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.2916, allocations: 442 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.2917, allocations: 120 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002224/0.2919, allocations: 132 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.2922, allocations: 271.2 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003652/0.2926, allocations: 378.2 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.294, allocations: 1.377 MB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2941, allocations: 0 / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2941, allocations: 4 kB / 441.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.2941, allocations: 0 / 441.7 MB, free: 13.33 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.002063/0.2961, allocations: 1.14 MB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2962, allocations: 8.031 kB / 442.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.2966, allocations: 128.2 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/0.2976, allocations: 0.5015 MB / 443.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.2978, allocations: 185.4 kB / 443.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2979, allocations: 96.38 kB / 443.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.3009, allocations: 1.779 MB / 445.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.301, allocations: 0 / 445.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.288e-05/0.301, allocations: 39.98 kB / 445.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.3011, allocations: 20 kB / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.3027, allocations: 0.7971 MB / 446.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.3057, allocations: 1.724 MB / 448.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/0.3074, allocations: 0.8991 MB / 449 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/0.3082, allocations: 453.8 kB / 449.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.3083, allocations: 19.92 kB / 449.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000788/0.3091, allocations: 450.7 kB / 449.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.406e-06/0.3091, allocations: 0 / 449.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002422/0.3115, allocations: 1.132 MB / 451 MB, free: 3.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002177/0.3117, allocations: 257.5 kB / 451.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004889/0.3122, allocations: 384.2 kB / 451.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.683e-05/0.3123, allocations: 61.69 kB / 451.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3126, allocations: 293.9 kB / 452 MB, free: 2.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3127, allocations: 166.8 kB / 452.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.313, allocations: 218.6 kB / 452.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.3132, allocations: 370.7 kB / 452.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006403/0.3139, allocations: 351.5 kB / 453.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008826/0.3147, allocations: 0.637 MB / 453.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.316, allocations: 0.8392 MB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.3161, allocations: 8 kB / 454.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00177/0.3178, allocations: 1.01 MB / 455.6 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.3179, allocations: 49.78 kB / 455.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3179, allocations: 8 kB / 455.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.3179, allocations: 16 kB / 455.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.3183, allocations: 107.7 kB / 455.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/0.3183, allocations: 23.92 kB / 455.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.3187, allocations: 71.61 kB / 455.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.443e-05/0.3188, allocations: 47.98 kB / 455.9 MB, free: 14.4 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.0006148/0.3194, allocations: 407.6 kB / 456.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/0.3201, allocations: 396.2 kB / 456.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.3203, allocations: 87.17 kB / 456.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3203, allocations: 12 kB / 456.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3203, allocations: 8 kB / 456.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.3204, allocations: 7.922 kB / 456.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002438/0.3228, allocations: 1.417 MB / 458.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.3228, allocations: 4 kB / 458.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.3232, allocations: 95.8 kB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.3232, allocations: 4 kB / 458.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.3233, allocations: 23.98 kB / 458.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.3233, allocations: 15.92 kB / 458.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3233, allocations: 0 / 458.3 MB, free: 11.89 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.00183/0.3251, allocations: 1.117 MB / 459.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3252, allocations: 67.48 kB / 459.5 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3253, allocations: 47.91 kB / 459.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.3257, allocations: 35.97 kB / 459.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.3259, allocations: 83.89 kB / 459.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.326, allocations: 31.98 kB / 459.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3262, allocations: 227 kB / 459.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3262, allocations: 0 / 459.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.327, allocations: 187.5 kB / 460.1 MB, free: 10.07 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.0002775/0.3273, allocations: 224.2 kB / 460.3 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.329, allocations: 0.9044 MB / 461.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.329, allocations: 0 / 461.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.3295, allocations: 266.7 kB / 461.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3306, allocations: 283.2 kB / 461.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3331, allocations: 1.468 MB / 463.2 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.3336, allocations: 408.8 kB / 463.6 MB, free: 6.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.3338, allocations: 71.41 kB / 463.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3338, allocations: 0 / 463.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of Templates: time 0.0155/0.3493, allocations: 9.427 MB / 473.1 MB, free: 12.91 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.677094046026468]