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.001411/0.001412, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001506/0.001506, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.362/1.362, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009789/0.000979, allocations: 46.98 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1058, allocations: 49.43 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004636/0.1105, allocations: 3.117 MB / 354.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1124, allocations: 1.118 MB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.1127, allocations: 15.94 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.113, allocations: 90.92 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.1131, allocations: 59.28 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.1139, allocations: 377.9 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007628/0.1147, allocations: 0.9444 MB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1157, allocations: 0.9361 MB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.1161, allocations: 394.6 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.1165, allocations: 434 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.1167, allocations: 120 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.1169, allocations: 136 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.1171, allocations: 259.3 kB / 359.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.1175, allocations: 477.6 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1186, allocations: 1.363 MB / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1186, allocations: 0 / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1186, allocations: 0 / 361.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1187, allocations: 4 kB / 361.3 MB, free: 9.84 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.001728/0.1204, allocations: 1.169 MB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1204, allocations: 8.031 kB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1206, allocations: 103.7 kB / 362.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008069/0.1214, allocations: 0.546 MB / 363.1 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.1216, allocations: 138 kB / 363.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1217, allocations: 96.38 kB / 363.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.1245, allocations: 1.729 MB / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1245, allocations: 0 / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.1246, allocations: 36 kB / 365.1 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.1246, allocations: 27.92 kB / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1261, allocations: 0.7821 MB / 365.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.129, allocations: 2.117 MB / 368 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1307, allocations: 1.037 MB / 369.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007625/0.1314, allocations: 484.7 kB / 369.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-05/0.1315, allocations: 24.73 kB / 369.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00063/0.1322, allocations: 403.2 kB / 370 MB, free: 0.793 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.316e-06/0.1322, allocations: 0 / 370 MB, free: 0.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.1853/0.3175, allocations: 1.132 MB / 371.1 MB, free: 25.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.3176, allocations: 243.6 kB / 371.3 MB, free: 25.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006281/0.3183, allocations: 428.4 kB / 371.7 MB, free: 25.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.3184, allocations: 61.12 kB / 371.8 MB, free: 25.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3186, allocations: 282.7 kB / 372.1 MB, free: 25.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3188, allocations: 156.4 kB / 372.2 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/0.3191, allocations: 219.6 kB / 372.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3192, allocations: 373.1 kB / 372.8 MB, free: 24.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.3199, allocations: 318.7 kB / 373.1 MB, free: 24.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.3206, allocations: 0.6135 MB / 373.7 MB, free: 24.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3218, allocations: 0.8548 MB / 374.6 MB, free: 23.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.3218, allocations: 2.562 kB / 374.6 MB, free: 23.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001647/0.3235, allocations: 0.9909 MB / 375.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3235, allocations: 36.73 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3235, allocations: 9.625 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.3236, allocations: 17.25 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3239, allocations: 114.6 kB / 375.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.324, allocations: 21.31 kB / 375.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.3243, allocations: 88.23 kB / 375.9 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.3244, allocations: 44.44 kB / 375.9 MB, free: 23.18 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.0005001/0.3249, allocations: 414.7 kB / 376.3 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.3256, allocations: 387.5 kB / 376.7 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.3262, allocations: 417.2 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3263, allocations: 11.72 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.3263, allocations: 2.594 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3263, allocations: 7.219 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.3287, allocations: 1.665 MB / 378.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.3287, allocations: 9.5 kB / 378.8 MB, free: 21.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.3291, allocations: 92.02 kB / 378.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.3291, allocations: 5.75 kB / 378.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.3291, allocations: 26.56 kB / 378.9 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.3292, allocations: 11.08 kB / 378.9 MB, free: 21.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3292, allocations: 1.922 kB / 378.9 MB, free: 21.65 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:8011:5-8011: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.001816/0.331, allocations: 1.128 MB / 380.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3311, allocations: 143.1 kB / 380.2 MB, free: 20.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3312, allocations: 41.59 kB / 380.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3316, allocations: 36.33 kB / 380.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3318, allocations: 87.02 kB / 380.4 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.3319, allocations: 32.98 kB / 380.4 MB, free: 20.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002959/0.3322, allocations: 251.1 kB / 380.6 MB, free: 20.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3322, allocations: 0 / 380.6 MB, free: 20.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008286/0.3331, allocations: 191.1 kB / 380.8 MB, free: 20.64 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.0002838/0.3334, allocations: 215.6 kB / 381 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.335, allocations: 0.9212 MB / 382 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.335, allocations: 5 kB / 382 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005206/0.3355, allocations: 289.2 kB / 382.2 MB, free: 20.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3365, allocations: 294.7 kB / 382.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.339, allocations: 1.426 MB / 384 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000589/0.3396, allocations: 1.012 MB / 385 MB, free: 18.47 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.3399, allocations: 131 kB / 385.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.3401, allocations: 64.98 kB / 385.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3401, allocations: 0 / 385.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01256/0.3527, allocations: 6.912 MB / 392.1 MB, free: 15.82 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 -s cvode -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) Reference file matches