Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009927/0.0009927, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.155/1.155, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008376/0.0008376, allocations: 100 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001976/0.0001977, allocations: 8 kB / 357.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1683, allocations: 51.47 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0842/0.2525, allocations: 83.84 MB / 493.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.2528, allocations: 84.73 kB / 493.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02905/0.2818, allocations: 12.42 MB / 0.4939 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2818, allocations: 0 / 0.4939 GB, free: 10.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.297e-05/0.2819, allocations: 20 kB / 0.4939 GB, free: 10.19 MB / 378.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.001459/0.2834, allocations: 1.013 MB / 0.4949 GB, free: 9.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2834, allocations: 8.031 kB / 0.4949 GB, free: 9.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.2837, allocations: 126.8 kB / 0.495 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008321/0.2846, allocations: 0.5202 MB / 0.4956 GB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.2847, allocations: 133.4 kB / 0.4957 GB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.2848, allocations: 99.98 kB / 0.4958 GB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.2873, allocations: 1.652 MB / 0.4974 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.2873, allocations: 3.938 kB / 0.4974 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.117e-05/0.2874, allocations: 39.97 kB / 0.4974 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2874, allocations: 20 kB / 0.4974 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2888, allocations: 0.7703 MB / 0.4982 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002859/0.2917, allocations: 2.098 MB / 0.5002 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.2932, allocations: 1.02 MB / 0.5012 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.706e-05/0.2932, allocations: 36.05 kB / 0.5013 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.2939, allocations: 404.2 kB / 0.5017 GB, free: 1.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.336e-06/0.2939, allocations: 0 / 0.5017 GB, free: 1.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.002017/0.2959, allocations: 1.135 MB / 0.5028 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.296, allocations: 253.5 kB / 0.503 GB, free: 492 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/0.2964, allocations: 388.2 kB / 0.5034 GB, free: 92 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.2965, allocations: 69.62 kB / 0.5035 GB, free: 16 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1421/0.4386, allocations: 269.9 kB / 0.5037 GB, free: 91.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.4389, allocations: 149.7 kB / 0.5039 GB, free: 91.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.381e-05/0.439, allocations: 18.44 kB / 0.5039 GB, free: 91.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4391, allocations: 371 kB / 0.5042 GB, free: 90.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.4399, allocations: 330.2 kB / 0.5045 GB, free: 90.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007423/0.4406, allocations: 0.6066 MB / 0.5051 GB, free: 90.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.4413, allocations: 391.6 kB / 0.5055 GB, free: 90.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4413, allocations: 2.594 kB / 0.5055 GB, free: 90.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001631/0.443, allocations: 1.005 MB / 0.5065 GB, free: 90.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.443, allocations: 35.66 kB / 0.5065 GB, free: 90.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/0.443, allocations: 10.81 kB / 0.5065 GB, free: 90.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.4431, allocations: 20.34 kB / 0.5066 GB, free: 90.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.4434, allocations: 113.5 kB / 0.5067 GB, free: 90.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/0.4434, allocations: 23.58 kB / 0.5067 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.4438, allocations: 67.86 kB / 0.5067 GB, free: 90.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.4439, allocations: 43.98 kB / 0.5068 GB, free: 90.41 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.0004953/0.4444, allocations: 403.8 kB / 0.5072 GB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/0.445, allocations: 377.5 kB / 0.5075 GB, free: 90.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.4456, allocations: 410.4 kB / 0.5079 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4456, allocations: 16.95 kB / 0.5079 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.4457, allocations: 2.969 kB / 0.5079 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4457, allocations: 7.844 kB / 0.508 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.448, allocations: 1.665 MB / 0.5096 GB, free: 89.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.448, allocations: 4.625 kB / 0.5096 GB, free: 89.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.4484, allocations: 100.8 kB / 0.5097 GB, free: 89.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.4484, allocations: 8.391 kB / 0.5097 GB, free: 89.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/0.4484, allocations: 21.78 kB / 0.5097 GB, free: 89.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.4485, allocations: 5.438 kB / 0.5097 GB, free: 89.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4485, allocations: 5.656 kB / 0.5097 GB, free: 89.65 MB / 378.7 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7906:5-7906: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.001402/0.4499, allocations: 1.214 MB / 0.5109 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.45, allocations: 134.8 kB / 0.511 GB, free: 89.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.4501, allocations: 44.75 kB / 0.5111 GB, free: 89.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4504, allocations: 49.64 kB / 0.5111 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.4505, allocations: 85.75 kB / 0.5112 GB, free: 89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.4506, allocations: 33.31 kB / 0.5112 GB, free: 88.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4508, allocations: 252.6 kB / 0.5115 GB, free: 88.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4508, allocations: 0 / 0.5115 GB, free: 88.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006178/0.4514, allocations: 162.5 kB / 0.5116 GB, free: 88.81 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.000216/0.4516, allocations: 224.4 kB / 0.5118 GB, free: 88.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.4528, allocations: 0.9269 MB / 0.5127 GB, free: 88.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4528, allocations: 0 / 0.5127 GB, free: 88.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.4532, allocations: 299.2 kB / 0.513 GB, free: 88.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.4538, allocations: 270.4 kB / 0.5133 GB, free: 88.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.4555, allocations: 1.613 MB / 0.5149 GB, free: 87.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4558, allocations: 1.023 MB / 0.5159 GB, free: 86.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.4561, allocations: 131.8 kB / 0.516 GB, free: 86.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.4563, allocations: 58.56 kB / 0.516 GB, free: 86.43 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4563, allocations: 0 / 0.516 GB, free: 86.43 MB / 378.7 MB Notification: Performance of Templates: time 0.008729/0.465, allocations: 6.133 MB / 0.522 GB, free: 85.8 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","../files/Modelica_trunk_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