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.001514/0.001514, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001438/0.001438, allocations: 185.5 kB / 18.67 MB, free: 4.422 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 51.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2496, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004832/0.2544, allocations: 3.115 MB / 404.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.2566, allocations: 1.106 MB / 405.6 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.2568, allocations: 15.94 kB / 405.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.2571, allocations: 94.97 kB / 405.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.2573, allocations: 63.22 kB / 405.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008886/0.2582, allocations: 373.6 kB / 406.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000872/0.2591, allocations: 0.9485 MB / 407.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.2602, allocations: 0.94 MB / 408 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.2606, allocations: 398.6 kB / 408.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.2611, allocations: 437.9 kB / 408.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.2612, allocations: 120 kB / 409 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.2614, allocations: 140 kB / 409.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.2617, allocations: 259.3 kB / 409.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.2621, allocations: 465.7 kB / 409.8 MB, free: 384 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2634, allocations: 1.364 MB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2634, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2634, allocations: 0 / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2634, allocations: 4 kB / 411.2 MB, free: 15 MB / 334.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.001946/0.2654, allocations: 1.181 MB / 412.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2654, allocations: 12.03 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2656, allocations: 95.81 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007599/0.2664, allocations: 0.5498 MB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.2665, allocations: 138 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.2667, allocations: 92.38 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.2696, allocations: 1.71 MB / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2697, allocations: 0 / 415 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.2697, allocations: 43.94 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.2698, allocations: 20 kB / 415 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.2714, allocations: 0.7929 MB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.2745, allocations: 2.121 MB / 417.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.2763, allocations: 1.027 MB / 419 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000815/0.2771, allocations: 481.7 kB / 419.4 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.2772, allocations: 28.12 kB / 419.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007137/0.2779, allocations: 403.8 kB / 419.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/0.2779, allocations: 0 / 419.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.002389/0.2803, allocations: 1.136 MB / 421 MB, free: 4.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001897/0.2806, allocations: 257.5 kB / 421.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.2811, allocations: 421.1 kB / 421.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.2812, allocations: 65.69 kB / 421.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.2814, allocations: 277.2 kB / 422 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.2816, allocations: 158.2 kB / 422.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.282, allocations: 218.6 kB / 422.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.2822, allocations: 370.8 kB / 422.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.2828, allocations: 317.8 kB / 423 MB, free: 2.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.2837, allocations: 0.6119 MB / 423.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.2851, allocations: 0.8529 MB / 424.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.2851, allocations: 4.5 kB / 424.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001961/0.2871, allocations: 0.9981 MB / 425.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.2871, allocations: 41.69 kB / 425.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.2872, allocations: 8 kB / 425.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/0.2872, allocations: 19.94 kB / 425.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004147/0.2876, allocations: 111.7 kB / 425.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.2877, allocations: 19.92 kB / 425.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2881, allocations: 87.27 kB / 425.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.2882, allocations: 48.02 kB / 425.8 MB, free: 15.62 MB / 350.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.0006408/0.2889, allocations: 407.1 kB / 426.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007655/0.2897, allocations: 395.3 kB / 426.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.2904, allocations: 419.6 kB / 427 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/0.2904, allocations: 15.98 kB / 427 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.2905, allocations: 4 kB / 427 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.2905, allocations: 3.984 kB / 427 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2931, allocations: 1.666 MB / 428.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.2931, allocations: 4 kB / 428.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.2935, allocations: 95.67 kB / 428.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.2936, allocations: 8 kB / 428.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.2936, allocations: 23.98 kB / 428.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.2936, allocations: 8 kB / 428.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.2937, allocations: 8.062 kB / 428.8 MB, free: 12.51 MB / 350.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.001844/0.2955, allocations: 1.124 MB / 430 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.2957, allocations: 148.2 kB / 430.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.2958, allocations: 39.98 kB / 430.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.2962, allocations: 35.97 kB / 430.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.2964, allocations: 83.84 kB / 430.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.2965, allocations: 39.98 kB / 430.3 MB, free: 11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002867/0.2968, allocations: 247.2 kB / 430.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2968, allocations: 0 / 430.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000856/0.2977, allocations: 187.4 kB / 430.7 MB, free: 10.57 MB / 350.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.0003362/0.298, allocations: 220.5 kB / 431 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.2999, allocations: 0.9076 MB / 431.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.2999, allocations: 5.938 kB / 431.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.3004, allocations: 275.7 kB / 432.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.3015, allocations: 300.3 kB / 432.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3042, allocations: 1.425 MB / 433.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.3049, allocations: 0.9985 MB / 434.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.3052, allocations: 71.41 kB / 434.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3052, allocations: 0 / 434.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of Templates: time 0.01751/0.3227, allocations: 9.563 MB / 444.5 MB, free: 12.71 MB / 366.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