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.0009397/0.0009398, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.212/1.212, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0008208/0.0008208, allocations: 86.67 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 11.94 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2514, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09337/0.3448, allocations: 83.05 MB / 484.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3451, allocations: 75.95 kB / 484.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03006/0.3752, allocations: 12.2 MB / 496.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3752, allocations: 0 / 496.8 MB, free: 1.109 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.3753, allocations: 27.94 kB / 496.8 MB, free: 1.082 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.001642/0.3769, allocations: 0.9934 MB / 497.8 MB, free: 16 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.377, allocations: 11.97 kB / 497.9 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.3772, allocations: 107 kB / 498 MB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008535/0.378, allocations: 0.5161 MB / 498.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.3782, allocations: 137.4 kB / 498.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3783, allocations: 96 kB / 498.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.3809, allocations: 1.66 MB / 0.4886 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.381, allocations: 7.938 kB / 0.4886 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.381, allocations: 36 kB / 0.4887 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.99e-05/0.3811, allocations: 20 kB / 0.4887 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.3825, allocations: 0.7587 MB / 0.4894 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.3857, allocations: 2.094 MB / 0.4915 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.3874, allocations: 1.027 MB / 0.4925 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/0.3875, allocations: 32.06 kB / 0.4925 GB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006648/0.3881, allocations: 407.6 kB / 0.4929 GB, free: 8.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=102): time 3.487e-06/0.3881, allocations: 0 / 0.4929 GB, free: 8.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=102): time 0.002098/0.3903, allocations: 1.133 MB / 0.494 GB, free: 7.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.3904, allocations: 253.4 kB / 0.4943 GB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.3908, allocations: 392.2 kB / 0.4946 GB, free: 7.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/0.3909, allocations: 61.69 kB / 0.4947 GB, free: 6.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3911, allocations: 273.3 kB / 0.4949 GB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.3913, allocations: 162.3 kB / 0.4951 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3913, allocations: 16 kB / 0.4951 GB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3915, allocations: 378.7 kB / 0.4955 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.3921, allocations: 325.8 kB / 0.4958 GB, free: 5.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.3928, allocations: 0.6043 MB / 0.4964 GB, free: 5.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.3934, allocations: 391.3 kB / 0.4967 GB, free: 4.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3934, allocations: 4 kB / 0.4968 GB, free: 4.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001563/0.395, allocations: 1.005 MB / 0.4977 GB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.395, allocations: 41.69 kB / 0.4978 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3951, allocations: 8 kB / 0.4978 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/0.3951, allocations: 16.38 kB / 0.4978 GB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.3955, allocations: 115.7 kB / 0.4979 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.3955, allocations: 23.92 kB / 0.4979 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.3959, allocations: 55.83 kB / 0.498 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.3959, allocations: 51.91 kB / 0.498 GB, free: 3.348 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.0005226/0.3965, allocations: 407.6 kB / 0.4984 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006001/0.3971, allocations: 383.1 kB / 0.4988 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.3977, allocations: 415.5 kB / 0.4992 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.3977, allocations: 12 kB / 0.4992 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3978, allocations: 0 / 0.4992 GB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3978, allocations: 7.984 kB / 0.4992 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4001, allocations: 1.662 MB / 0.5008 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4001, allocations: 0 / 0.5008 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.4005, allocations: 99.73 kB / 0.5009 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.4005, allocations: 7.984 kB / 0.5009 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.4005, allocations: 23.98 kB / 0.501 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4006, allocations: 4 kB / 0.501 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4006, allocations: 4 kB / 0.501 GB, free: 284 kB / 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.1819/0.5825, allocations: 1.199 MB / 0.5021 GB, free: 95.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.5826, allocations: 135.5 kB / 0.5023 GB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.5828, allocations: 36.72 kB / 0.5023 GB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.5832, allocations: 47.67 kB / 0.5023 GB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.5835, allocations: 87.92 kB / 0.5024 GB, free: 95.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/0.5836, allocations: 32.39 kB / 0.5025 GB, free: 95.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003498/0.5839, allocations: 252.7 kB / 0.5027 GB, free: 95.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.5839, allocations: 1.875 kB / 0.5027 GB, free: 95.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009216/0.5849, allocations: 166.4 kB / 0.5029 GB, free: 95.46 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.0003284/0.5852, allocations: 220.9 kB / 0.5031 GB, free: 95.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.587, allocations: 0.9142 MB / 0.504 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.587, allocations: 0.6562 kB / 0.504 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.5877, allocations: 290.9 kB / 0.5042 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.5886, allocations: 288.9 kB / 0.5045 GB, free: 95.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/0.5918, allocations: 1.62 MB / 0.5061 GB, free: 94.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.5924, allocations: 1.031 MB / 0.5071 GB, free: 93.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003808/0.5927, allocations: 127.3 kB / 0.5072 GB, free: 93.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.5929, allocations: 65.88 kB / 0.5073 GB, free: 93.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5929, allocations: 3.906 kB / 0.5073 GB, free: 93.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01101/0.604, allocations: 6.108 MB / 0.5133 GB, free: 93.54 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/jenkins/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