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.002047/0.002047, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001521/0.001521, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.002034/0.002034, allocations: 68.14 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005403/0.3333, allocations: 2.999 MB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3358, allocations: 1.18 MB / 435.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.3361, allocations: 27.81 kB / 435.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3363, allocations: 86.97 kB / 435.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.3365, allocations: 71.22 kB / 436 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.3375, allocations: 398.4 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009698/0.3385, allocations: 0.9407 MB / 437.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008725/0.3394, allocations: 0.5461 MB / 437.9 MB, free: 224 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00062/0.34, allocations: 418.6 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.3405, allocations: 442 kB / 438.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.3407, allocations: 120 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.3409, allocations: 144 kB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.3412, allocations: 255.3 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.3416, allocations: 386.1 kB / 439.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.3432, allocations: 1.384 MB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3432, allocations: 4 kB / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3432, allocations: 0 / 441 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3432, allocations: 0 / 441 MB, free: 13.1 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.00206/0.3452, allocations: 1.132 MB / 442.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3453, allocations: 19.98 kB / 442.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.3457, allocations: 128.2 kB / 442.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.3468, allocations: 0.4898 MB / 442.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.347, allocations: 189.4 kB / 442.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3471, allocations: 100.4 kB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003058/0.3502, allocations: 1.772 MB / 444.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.3502, allocations: 8 kB / 444.8 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.3503, allocations: 39.98 kB / 444.8 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.3503, allocations: 20 kB / 444.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.3519, allocations: 0.7816 MB / 445.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.355, allocations: 1.728 MB / 447.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.3567, allocations: 0.9036 MB / 448.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008223/0.3575, allocations: 445.8 kB / 448.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.3576, allocations: 19.98 kB / 448.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007747/0.3584, allocations: 450.8 kB / 449.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.656e-06/0.3584, allocations: 0 / 449.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002384/0.3608, allocations: 1.136 MB / 450.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002187/0.361, allocations: 253.4 kB / 450.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/0.3615, allocations: 388.2 kB / 450.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3616, allocations: 65.69 kB / 451 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.3618, allocations: 289.8 kB / 451.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.362, allocations: 162.9 kB / 451.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.3623, allocations: 222.5 kB / 451.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3625, allocations: 370.8 kB / 452 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006532/0.3632, allocations: 347.5 kB / 452.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009415/0.3641, allocations: 0.6448 MB / 453 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.3655, allocations: 0.8412 MB / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3655, allocations: 0 / 453.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001767/0.3672, allocations: 1.027 MB / 454.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.3673, allocations: 33.7 kB / 454.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.3673, allocations: 15.94 kB / 454.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.3673, allocations: 12 kB / 454.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003831/0.3677, allocations: 107.7 kB / 455 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/0.3677, allocations: 23.92 kB / 455.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.3681, allocations: 83.84 kB / 455.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/0.3682, allocations: 44 kB / 455.2 MB, free: 14.17 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.0006509/0.3689, allocations: 407.6 kB / 455.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007476/0.3696, allocations: 403.5 kB / 456 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.3698, allocations: 75.11 kB / 456 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.3698, allocations: 12 kB / 456.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3698, allocations: 4 kB / 456.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.3698, allocations: 7.969 kB / 456.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.3723, allocations: 1.424 MB / 457.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.3723, allocations: 4 kB / 457.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3727, allocations: 87.8 kB / 457.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.3727, allocations: 8 kB / 457.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.3727, allocations: 19.98 kB / 457.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.3727, allocations: 8 kB / 457.6 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3727, allocations: 3.938 kB / 457.6 MB, free: 11.67 MB / 366.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/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.001796/0.3745, allocations: 1.129 MB / 458.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3747, allocations: 67.41 kB / 458.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3748, allocations: 39.98 kB / 458.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.3751, allocations: 39.97 kB / 458.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.3753, allocations: 87.81 kB / 459 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.3754, allocations: 35.98 kB / 459 MB, free: 10.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002595/0.3757, allocations: 219 kB / 459.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3757, allocations: 4 kB / 459.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008059/0.3765, allocations: 195.4 kB / 459.4 MB, free: 9.832 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.000297/0.3768, allocations: 208.3 kB / 459.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.3786, allocations: 0.9093 MB / 460.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3786, allocations: 0 / 460.5 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005523/0.3792, allocations: 263.7 kB / 460.8 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3804, allocations: 288.9 kB / 461.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.3829, allocations: 1.458 MB / 462.5 MB, free: 6.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.3834, allocations: 424.8 kB / 463 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003353/0.3838, allocations: 128.7 kB / 463.1 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.384, allocations: 63.42 kB / 463.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.384, allocations: 0 / 463.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of Templates: time 0.01521/0.3992, allocations: 7.178 MB / 470.3 MB, free: 14.88 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/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:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[2].k,conjunctiveClock.clock.useSolver,conjunctiveClock.input_memory[1].Qini,conjunctiveClock.input_memory[1].pre.pre_u_start,conjunctiveClock.input_memory[2].Qini,conjunctiveClock.input_memory[2].pre.pre_u_start,conjunctiveClock.input_ticked[1].input_hold.y_start,conjunctiveClock.input_ticked[1].input_ticked.pre_u_start,conjunctiveClock.input_ticked[2].input_hold.y_start,conjunctiveClock.input_ticked[2].input_ticked.pre_u_start,conjunctiveClock.nu,conjunctiveClock.reset_ticked.input_hold.y_start,conjunctiveClock.reset_ticked.input_ticked.pre_u_start,conjunctiveClock.splitter.nout,conjunctiveClock.useSolver,cosine_angle_input.amplitude,cosine_angle_input.continuous,cosine_angle_input.f,cosine_angle_input.offset,cosine_angle_input.phase,cosine_angle_input.startTime,cosine_angle_input.y,disjunctiveClock.S_false[1].k,disjunctiveClock.S_false[2].k,disjunctiveClock.clock.useSolver,disjunctiveClock.input_memory[1].Qini,disjunctiveClock.input_memory[1].pre.pre_u_start,disjunctiveClock.input_memory[2].Qini,disjunctiveClock.input_memory[2].pre.pre_u_start,disjunctiveClock.input_ticked[1].input_hold.y_start,disjunctiveClock.input_ticked[1].input_ticked.pre_u_start,disjunctiveClock.input_ticked[2].input_hold.y_start,disjunctiveClock.input_ticked[2].input_ticked.pre_u_start,disjunctiveClock.nu,disjunctiveClock.reset_ticked.input_hold.y_start,disjunctiveClock.reset_ticked.input_ticked.pre_u_start,disjunctiveClock.splitter.nout,disjunctiveClock.useSolver,rotational_clock_1.abs1.generateEvent,rotational_clock_1.abs2.generateEvent,rotational_clock_1.angle,rotational_clock_1.angular_offset.y_start,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.direction_sign.generateEvent,rotational_clock_1.sub.k1,rotational_clock_1.sub.k2,rotational_clock_1.useSolver,rotational_clock_1.y_clock.useSolver,rotational_clock_2.abs1.generateEvent,rotational_clock_2.abs2.generateEvent,rotational_clock_2.angle,rotational_clock_2.angular_offset.y_start,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.direction_sign.generateEvent,rotational_clock_2.sub.k1,rotational_clock_2.sub.k2,rotational_clock_2.useSolver,rotational_clock_2.y_clock.useSolver,sample_conjunctive.y,sample_disjunctive.u,sample_disjunctive.y,sine_angle_input.amplitude,sine_angle_input.continuous,sine_angle_input.f,sine_angle_input.offset,sine_angle_input.phase,sine_angle_input.startTime,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width [Calling sys.exit(0), Time elapsed: 5.226663663983345]