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.001208/0.001208, allocations: 110.9 kB / 17.28 MB, free: 6.199 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.001123/0.001123, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 51.14 kB / 300.8 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1145, allocations: 49.45 MB / 350.2 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005562/0.1201, allocations: 3.124 MB / 353.4 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.1226, allocations: 1.071 MB / 354.4 MB, free: 444 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1229, allocations: 15.94 kB / 354.4 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.1233, allocations: 55.42 kB / 354.5 MB, free: 372 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1234, allocations: 35.66 kB / 354.5 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.1245, allocations: 344.5 kB / 354.9 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009054/0.1254, allocations: 0.9365 MB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.1266, allocations: 0.9361 MB / 356.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.1272, allocations: 390.6 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/0.1276, allocations: 434 kB / 357.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.1278, allocations: 120 kB / 357.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.128, allocations: 143.9 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.1283, allocations: 255.3 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.1289, allocations: 469.7 kB / 358.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.1301, allocations: 1.065 MB / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1301, allocations: 0 / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1302, allocations: 0 / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.898e-05/0.1302, allocations: 7.938 kB / 359.6 MB, free: 11.23 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.002309/0.1325, allocations: 1.169 MB / 360.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1326, allocations: 8.031 kB / 360.8 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.1328, allocations: 111.7 kB / 360.9 MB, free: 9.879 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/0.1336, allocations: 0.5343 MB / 361.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.1338, allocations: 130 kB / 361.5 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.1339, allocations: 96.38 kB / 361.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.137, allocations: 1.741 MB / 363.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1371, allocations: 0 / 363.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.1372, allocations: 36 kB / 363.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.1372, allocations: 20 kB / 363.4 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.1388, allocations: 0.7966 MB / 364.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.1426, allocations: 2.14 MB / 366.4 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.1449, allocations: 1.019 MB / 367.4 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.1457, allocations: 0.4886 MB / 367.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.1459, allocations: 28.11 kB / 367.9 MB, free: 2.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007954/0.1467, allocations: 399.1 kB / 368.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.877e-06/0.1467, allocations: 0 / 368.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002626/0.1493, allocations: 1.142 MB / 369.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002813/0.1496, allocations: 249.6 kB / 369.7 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.1504, allocations: 425 kB / 370.1 MB, free: 320 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.1505, allocations: 61.69 kB / 370.1 MB, free: 252 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.294/0.4446, allocations: 276 kB / 370.4 MB, free: 25.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.4449, allocations: 159.3 kB / 370.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/0.4453, allocations: 217.3 kB / 370.8 MB, free: 25.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4455, allocations: 370.9 kB / 371.1 MB, free: 25.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.4462, allocations: 322.1 kB / 371.5 MB, free: 25.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.447, allocations: 0.61 MB / 372.1 MB, free: 24.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4482, allocations: 0.8504 MB / 372.9 MB, free: 24.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4482, allocations: 2.656 kB / 372.9 MB, free: 24.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001809/0.4501, allocations: 1.003 MB / 373.9 MB, free: 24.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.4501, allocations: 37.33 kB / 374 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.4501, allocations: 11.66 kB / 374 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.4502, allocations: 14.09 kB / 374 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000373/0.4506, allocations: 109.5 kB / 374.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/0.4506, allocations: 20.61 kB / 374.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/0.451, allocations: 95 kB / 374.2 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.4511, allocations: 44.05 kB / 374.3 MB, free: 24.04 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.0006286/0.4517, allocations: 406 kB / 374.7 MB, free: 23.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007082/0.4524, allocations: 393 kB / 375 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.4532, allocations: 416.1 kB / 375.4 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4532, allocations: 12.22 kB / 375.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.4532, allocations: 2.438 kB / 375.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.4532, allocations: 6.406 kB / 375.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.4556, allocations: 1.666 MB / 377.1 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4556, allocations: 9.156 kB / 377.1 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.456, allocations: 90.48 kB / 377.2 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.456, allocations: 5.75 kB / 377.2 MB, free: 22.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-05/0.4561, allocations: 22.25 kB / 377.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.4561, allocations: 6.172 kB / 377.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4561, allocations: 9.031 kB / 377.3 MB, free: 22.5 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:7953:5-7953: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.001653/0.4578, allocations: 1.126 MB / 378.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.4579, allocations: 148.7 kB / 378.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.458, allocations: 40.77 kB / 378.6 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.4584, allocations: 36.25 kB / 378.6 MB, free: 21.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.4586, allocations: 90.02 kB / 378.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/0.4586, allocations: 37.48 kB / 378.7 MB, free: 21.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002638/0.4589, allocations: 250.7 kB / 379 MB, free: 21.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4589, allocations: 3.375 kB / 379 MB, free: 21.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008709/0.4598, allocations: 187.8 kB / 379.2 MB, free: 21.49 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.0003005/0.4601, allocations: 219.3 kB / 379.4 MB, free: 21.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.462, allocations: 0.9983 MB / 380.4 MB, free: 20.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.462, allocations: 9.438 kB / 380.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005051/0.4625, allocations: 276.7 kB / 380.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4636, allocations: 294.9 kB / 380.9 MB, free: 20.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.4661, allocations: 1.708 MB / 382.7 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.4666, allocations: 1.001 MB / 383.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.4669, allocations: 68.83 kB / 383.7 MB, free: 19 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4669, allocations: 0 / 383.7 MB, free: 19 MB / 302.1 MB Notification: Performance of Templates: time 0.01662/0.4835, allocations: 9.461 MB / 393.2 MB, free: 14.73 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