Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00186/0.001861, allocations: 105.6 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.177/2.177, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 46.39 kB / 300.6 MB, free: 6.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1708, allocations: 49.44 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.00786/0.1787, allocations: 3.139 MB / 353.2 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.1822, allocations: 1.063 MB / 354.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.1829, allocations: 15.94 kB / 354.3 MB, free: 380 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1834, allocations: 55.42 kB / 354.3 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.1838, allocations: 43.67 kB / 354.4 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.1853, allocations: 341.7 kB / 354.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.1867, allocations: 0.8586 MB / 355.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.1885, allocations: 0.901 MB / 356.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.1893, allocations: 306.7 kB / 356.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.1899, allocations: 381.9 kB / 357.1 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.1901, allocations: 56 kB / 357.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1903, allocations: 79.98 kB / 357.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1906, allocations: 179.3 kB / 357.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006017/0.1912, allocations: 397.6 kB / 357.8 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1928, allocations: 1.053 MB / 358.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1928, allocations: 0 / 358.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1928, allocations: 4 kB / 358.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.942e-05/0.1929, allocations: 0 / 358.9 MB, free: 11.71 MB / 302.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.003546/0.1964, allocations: 1.173 MB / 360.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.758e-05/0.1965, allocations: 12.03 kB / 360.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.1969, allocations: 99.72 kB / 360.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.1983, allocations: 0.5343 MB / 360.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002212/0.1985, allocations: 138 kB / 360.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.1988, allocations: 104.3 kB / 360.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005222/0.204, allocations: 1.726 MB / 362.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.2041, allocations: 0 / 362.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.2043, allocations: 32 kB / 362.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.2043, allocations: 23.94 kB / 362.7 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.207, allocations: 0.7899 MB / 363.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.2126, allocations: 2.148 MB / 365.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.2158, allocations: 1.028 MB / 366.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.2172, allocations: 484.5 kB / 367.2 MB, free: 3.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.2173, allocations: 28.7 kB / 367.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2184, allocations: 399.2 kB / 367.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 6.272e-06/0.2185, allocations: 0 / 367.6 MB, free: 2.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.003862/0.2223, allocations: 1.142 MB / 368.7 MB, free: 1.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002902/0.2227, allocations: 249.5 kB / 369 MB, free: 1.219 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.2237, allocations: 429 kB / 369.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.2238, allocations: 61.69 kB / 369.4 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.2242, allocations: 285.2 kB / 369.7 MB, free: 452 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.2245, allocations: 154.2 kB / 369.9 MB, free: 296 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.225, allocations: 218.6 kB / 370.1 MB, free: 68 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.3296/0.5547, allocations: 368.2 kB / 370.4 MB, free: 25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5561, allocations: 316.5 kB / 370.8 MB, free: 25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.5574, allocations: 0.6171 MB / 371.4 MB, free: 24.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.5593, allocations: 0.8488 MB / 372.2 MB, free: 24.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/0.5594, allocations: 2.469 kB / 372.2 MB, free: 24.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002917/0.5623, allocations: 1.001 MB / 373.2 MB, free: 24.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.5624, allocations: 39.67 kB / 373.3 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.5624, allocations: 9.312 kB / 373.3 MB, free: 24.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.591e-05/0.5625, allocations: 19.42 kB / 373.3 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.5631, allocations: 108.1 kB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-05/0.5631, allocations: 20.88 kB / 373.4 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.5639, allocations: 85.33 kB / 373.5 MB, free: 24.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.564, allocations: 43.67 kB / 373.5 MB, free: 24.05 MB / 302.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.0009603/0.565, allocations: 405.4 kB / 373.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001128/0.5661, allocations: 397.5 kB / 374.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.5672, allocations: 417.6 kB / 374.7 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.5673, allocations: 16.22 kB / 374.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/0.5673, allocations: 1.531 kB / 374.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/0.5673, allocations: 8.156 kB / 374.8 MB, free: 23.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.5711, allocations: 1.669 MB / 376.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.5711, allocations: 1.375 kB / 376.4 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000643/0.5718, allocations: 93.22 kB / 376.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/0.5718, allocations: 4.922 kB / 376.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.5719, allocations: 23.62 kB / 376.5 MB, free: 22.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/0.5719, allocations: 4.922 kB / 376.6 MB, free: 22.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.572, allocations: 5.25 kB / 376.6 MB, free: 22.6 MB / 302.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:7947:5-7947: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.002717/0.5747, allocations: 1.138 MB / 377.7 MB, free: 21.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.5749, allocations: 145.8 kB / 377.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.575, allocations: 39.56 kB / 377.9 MB, free: 21.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/0.5757, allocations: 34.05 kB / 377.9 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.5761, allocations: 90 kB / 378 MB, free: 21.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5762, allocations: 35.2 kB / 378 MB, free: 21.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004381/0.5766, allocations: 249.9 kB / 378.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5767, allocations: 4 kB / 378.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001512/0.5782, allocations: 186.2 kB / 378.5 MB, free: 21.58 MB / 302.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.0004223/0.5786, allocations: 220.3 kB / 378.7 MB, free: 21.44 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002724/0.5814, allocations: 0.9094 MB / 379.6 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5814, allocations: 1 kB / 379.6 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008412/0.5822, allocations: 286.9 kB / 379.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5841, allocations: 291.4 kB / 380.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.5882, allocations: 1.707 MB / 381.9 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/0.5891, allocations: 0.9979 MB / 382.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.5895, allocations: 67.08 kB / 382.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5895, allocations: 0 / 382.9 MB, free: 19.1 MB / 302.1 MB Notification: Performance of Templates: time 0.02449/0.6141, allocations: 9.45 MB / 392.4 MB, free: 15.13 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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