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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 241.4 MB, free: 9.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 97.5 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 11.94 kB / 352.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 50.41 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4356, allocations: 83.12 MB / 485.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.4359, allocations: 75.95 kB / 485.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03445/0.4704, allocations: 12.21 MB / 498.1 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4704, allocations: 0 / 498.1 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.4705, allocations: 27.94 kB / 498.2 MB, free: 0.8867 MB / 362.7 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.001857/0.4724, allocations: 0.9858 MB / 499.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4724, allocations: 8.031 kB / 499.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.4727, allocations: 107.7 kB / 499.3 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.4736, allocations: 0.5251 MB / 499.8 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.4737, allocations: 130 kB / 499.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.4739, allocations: 96.38 kB / 0.4883 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.4767, allocations: 1.676 MB / 0.4899 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.4767, allocations: 3.938 kB / 0.4899 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.4768, allocations: 36 kB / 0.49 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4768, allocations: 24 kB / 0.49 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4785, allocations: 0.7664 MB / 0.4907 GB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003464/0.4819, allocations: 2.098 MB / 0.4928 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.4836, allocations: 1.023 MB / 0.4938 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.4843, allocations: 481.6 kB / 0.4943 GB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.852e-05/0.4844, allocations: 24.12 kB / 0.4943 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006572/0.4851, allocations: 403.9 kB / 0.4947 GB, free: 8.148 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 5.951e-06/0.4851, allocations: 0 / 0.4947 GB, free: 8.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.002101/0.4872, allocations: 1.145 MB / 0.4958 GB, free: 7.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.4874, allocations: 260.1 kB / 0.496 GB, free: 6.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.4879, allocations: 421.1 kB / 0.4964 GB, free: 6.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.39e-05/0.488, allocations: 61.69 kB / 0.4965 GB, free: 6.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.4882, allocations: 273.3 kB / 0.4967 GB, free: 5.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.4884, allocations: 162.3 kB / 0.4969 GB, free: 5.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.4885, allocations: 16 kB / 0.4969 GB, free: 5.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4887, allocations: 378.8 kB / 0.4973 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005881/0.4893, allocations: 321.8 kB / 0.4976 GB, free: 5.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.49, allocations: 0.6119 MB / 0.4982 GB, free: 4.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.4913, allocations: 0.8611 MB / 0.499 GB, free: 3.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.4913, allocations: 4 kB / 0.499 GB, free: 3.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001761/0.4931, allocations: 1.006 MB / 0.5 GB, free: 2.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.4931, allocations: 41.7 kB / 0.5 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.4932, allocations: 8 kB / 0.5001 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.091e-05/0.4932, allocations: 16 kB / 0.5001 GB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.4936, allocations: 115.7 kB / 0.5002 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.4936, allocations: 19.94 kB / 0.5002 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.4941, allocations: 71.66 kB / 0.5003 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.4942, allocations: 44 kB / 0.5003 GB, free: 2 MB / 378.7 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 (conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.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,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.u[1],disjunctiveClock.combinator.u[2],disjunctiveClock.clock.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].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.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].S,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].S,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.u[1],conjunctiveClock.combinator.u[2],conjunctiveClock.clock.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].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.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].S,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].S,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition5,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,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008625/0.4951, allocations: 399.6 kB / 0.5007 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008127/0.4959, allocations: 376.7 kB / 0.5011 GB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.4966, allocations: 411 kB / 0.5014 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4966, allocations: 12.12 kB / 0.5015 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.4967, allocations: 7.984 kB / 0.5015 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4967, allocations: 7.984 kB / 0.5015 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2471/0.7438, allocations: 1.648 MB / 0.5031 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/0.7438, allocations: 4.047 kB / 0.5031 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006743/0.7445, allocations: 98.14 kB / 0.5032 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.7445, allocations: 4.875 kB / 0.5032 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.7446, allocations: 27.25 kB / 0.5032 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.699e-05/0.7447, allocations: 9.344 kB / 0.5032 GB, free: 95.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.7447, allocations: 5.844 kB / 0.5032 GB, free: 95.66 MB / 378.7 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.) conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: conjunctiveClock.reset_ticked.input_ticked.u conjunctiveClock.reset_ticked.input_hold.u conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_sample.y equations: conjunctiveClock.reset_ticked.input_sample.y = $getPart(conjunctiveClock.reset_ticked.input_ticked.u) conjunctiveClock.reset_ticked.input_tick.u = conjunctiveClock.reset_ticked.input_sample.y conjunctiveClock.reset_ticked.input_tick.y = not conjunctiveClock.reset_ticked.input_tick.u conjunctiveClock.reset_ticked.input_hold.u = conjunctiveClock.reset_ticked.input_tick.y conjunctiveClock.reset_ticked.input_ticked.u = $getPart(conjunctiveClock.reset_ticked.input_hold.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:7938:5-7938: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.002727/0.7474, allocations: 1.133 MB / 0.5043 GB, free: 95.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.7476, allocations: 136.2 kB / 0.5045 GB, free: 95.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.7478, allocations: 40.48 kB / 0.5045 GB, free: 95.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/0.7484, allocations: 47.38 kB / 0.5045 GB, free: 95.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.7487, allocations: 90.88 kB / 0.5046 GB, free: 95.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.7489, allocations: 35.45 kB / 0.5047 GB, free: 95.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004186/0.7493, allocations: 247.8 kB / 0.5049 GB, free: 95.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.7493, allocations: 3.234 kB / 0.5049 GB, free: 95.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00134/0.7507, allocations: 156.6 kB / 0.5051 GB, free: 95.14 MB / 378.7 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,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.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.clock.u,conjunctiveClock.combinator.u[1],conjunctiveClock.combinator.u[2],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.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].S,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].S,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.clock.u,disjunctiveClock.combinator.u[1],disjunctiveClock.combinator.u[2],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.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].S,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].S,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition4,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004484/0.7511, allocations: 224.5 kB / 0.5053 GB, free: 95.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.7539, allocations: 0.9182 MB / 0.5062 GB, free: 94.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.7539, allocations: 3.562 kB / 0.5062 GB, free: 94.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007814/0.7547, allocations: 291.8 kB / 0.5064 GB, free: 94.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.7564, allocations: 303.3 kB / 0.5067 GB, free: 94.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.7595, allocations: 1.62 MB / 0.5083 GB, free: 94.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.7601, allocations: 1.014 MB / 0.5093 GB, free: 93.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005127/0.7606, allocations: 135.7 kB / 0.5094 GB, free: 93.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.7608, allocations: 60.92 kB / 0.5095 GB, free: 93.53 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7608, allocations: 0 / 0.5095 GB, free: 93.53 MB / 378.7 MB Notification: Performance of Templates: time 0.01688/0.7777, allocations: 6.128 MB / 0.5155 GB, free: 93.19 MB / 378.7 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","../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:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[1].y,conjunctiveClock.S_false[2].k,conjunctiveClock.S_false[2].y,conjunctiveClock.clock.useSolver,conjunctiveClock.input_memory[1].Qini,conjunctiveClock.input_memory[1].pre.pre_u_start,conjunctiveClock.input_memory[2].Qini,conjunctiveClock.input_memory[2].pre.pre_u_start,conjunctiveClock.input_ticked[1].input_hold.y_start,conjunctiveClock.input_ticked[1].input_ticked.pre_u_start,conjunctiveClock.input_ticked[2].input_hold.y_start,conjunctiveClock.input_ticked[2].input_ticked.pre_u_start,conjunctiveClock.nu,conjunctiveClock.reset_ticked.input_hold.y_start,conjunctiveClock.reset_ticked.input_ticked.pre_u_start,conjunctiveClock.splitter.nout,conjunctiveClock.suppress_S[1].u1,conjunctiveClock.suppress_S[2].u1,conjunctiveClock.useSolver,cosine_angle_input.amplitude,cosine_angle_input.f,cosine_angle_input.offset,cosine_angle_input.phase,cosine_angle_input.startTime,cosine_angle_input.y,disjunctiveClock.S_false[1].k,disjunctiveClock.S_false[1].y,disjunctiveClock.S_false[2].k,disjunctiveClock.S_false[2].y,disjunctiveClock.clock.useSolver,disjunctiveClock.input_memory[1].Qini,disjunctiveClock.input_memory[1].pre.pre_u_start,disjunctiveClock.input_memory[2].Qini,disjunctiveClock.input_memory[2].pre.pre_u_start,disjunctiveClock.input_ticked[1].input_hold.y_start,disjunctiveClock.input_ticked[1].input_ticked.pre_u_start,disjunctiveClock.input_ticked[2].input_hold.y_start,disjunctiveClock.input_ticked[2].input_ticked.pre_u_start,disjunctiveClock.nu,disjunctiveClock.reset_ticked.input_hold.y_start,disjunctiveClock.reset_ticked.input_ticked.pre_u_start,disjunctiveClock.splitter.nout,disjunctiveClock.suppress_S[1].u1,disjunctiveClock.suppress_S[2].u1,disjunctiveClock.useSolver,rotational_clock_1.abs1.generateEvent,rotational_clock_1.abs2.generateEvent,rotational_clock_1.angle,rotational_clock_1.angular_offset.y_start,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.direction_sign.generateEvent,rotational_clock_1.sub.k1,rotational_clock_1.sub.k2,rotational_clock_1.useSolver,rotational_clock_1.y_clock.useSolver,rotational_clock_2.abs1.generateEvent,rotational_clock_2.abs2.generateEvent,rotational_clock_2.angle,rotational_clock_2.angular_offset.y_start,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.direction_sign.generateEvent,rotational_clock_2.sub.k1,rotational_clock_2.sub.k2,rotational_clock_2.useSolver,rotational_clock_2.y_clock.useSolver,sample_conjunctive.y,sample_disjunctive.y,sine_angle_input.amplitude,sine_angle_input.f,sine_angle_input.offset,sine_angle_input.phase,sine_angle_input.startTime,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width