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.001399/0.001398, allocations: 176.5 kB / 8.345 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.5 MB / 230.3 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 88.31 kB / 281.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.251e-05/1.262e-05, allocations: 0 / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.09885, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4249, allocations: 82.3 MB / 469.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.4253, allocations: 83.88 kB / 469.8 MB, free: 12.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0413/0.4666, allocations: 12.1 MB / 481.9 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4666, allocations: 0 / 481.9 MB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.17e-05/0.4667, allocations: 20 kB / 482 MB, free: 332 kB / 346.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.001443/0.4681, allocations: 0.9543 MB / 482.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4682, allocations: 12.03 kB / 482.9 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.4683, allocations: 106.8 kB / 483 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.4691, allocations: 0.5208 MB / 483.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.4692, allocations: 105.4 kB / 483.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/0.4693, allocations: 56 kB / 483.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/0.4705, allocations: 0.7107 MB / 484.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.4727, allocations: 1.449 MB / 485.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4727, allocations: 0 / 485.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.4728, allocations: 11.98 kB / 485.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.4728, allocations: 20 kB / 485.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.4755, allocations: 1.936 MB / 487.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4766, allocations: 0.9057 MB / 488.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.4771, allocations: 408 kB / 489.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.999e-05/0.4772, allocations: 28.81 kB / 489.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004855/0.4777, allocations: 362.9 kB / 489.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 2.415e-06/0.4777, allocations: 0 / 489.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=102): time 0.001064/0.4788, allocations: 0.664 MB / 490.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4789, allocations: 242.7 kB / 490.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.4792, allocations: 340.5 kB / 490.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.4793, allocations: 41.69 kB / 490.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.4795, allocations: 273.5 kB / 491.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4796, allocations: 154.3 kB / 491.2 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.4797, allocations: 0 / 491.2 MB, free: 6.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4798, allocations: 370.8 kB / 491.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.4802, allocations: 262.5 kB / 491.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.4807, allocations: 0.5541 MB / 492.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/0.4812, allocations: 318.4 kB / 492.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4812, allocations: 0 / 492.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001148/0.4823, allocations: 0.8122 MB / 493.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.4824, allocations: 33.7 kB / 493.5 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4824, allocations: 8 kB / 493.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.4824, allocations: 16 kB / 493.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.4828, allocations: 115.7 kB / 493.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.349e-05/0.4829, allocations: 28.23 kB / 493.7 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.4832, allocations: 47.73 kB / 493.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.4833, allocations: 47.98 kB / 493.8 MB, free: 3.902 MB / 362.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 () * 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.0002255/0.4835, allocations: 206.6 kB / 494 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005113/0.484, allocations: 346.9 kB / 494.3 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/0.4846, allocations: 363.5 kB / 494.7 MB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4846, allocations: 8 kB / 494.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4846, allocations: 11.94 kB / 494.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4847, allocations: 3.984 kB / 494.7 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.4864, allocations: 1.431 MB / 496.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4865, allocations: 8 kB / 496.2 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.4868, allocations: 99.73 kB / 496.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.4869, allocations: 8 kB / 496.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.4869, allocations: 11.98 kB / 496.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4869, allocations: 4 kB / 496.3 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4869, allocations: 4 kB / 496.3 MB, free: 1.355 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) 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/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317: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/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7358:5-7358: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.001197/0.4881, allocations: 1.091 MB / 497.4 MB, free: 204 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.4882, allocations: 128.4 kB / 497.5 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.972e-05/0.4883, allocations: 19.98 kB / 497.5 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4887, allocations: 27.97 kB / 497.5 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.4889, allocations: 95.83 kB / 497.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.4889, allocations: 35.98 kB / 497.7 MB, free: 15.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.4891, allocations: 196.6 kB / 497.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4891, allocations: 0 / 497.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006579/0.4898, allocations: 127.8 kB / 498 MB, free: 15.56 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) * 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.0002828/0.4901, allocations: 216.4 kB / 498.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4912, allocations: 0.7911 MB / 499 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4912, allocations: 0 / 499 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.4915, allocations: 245.5 kB / 499.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.4922, allocations: 236 kB / 499.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.494, allocations: 1.064 MB / 0.4888 GB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4946, allocations: 1.033 MB / 0.4898 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.4949, allocations: 124.7 kB / 0.4899 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.4951, allocations: 55.42 kB / 0.49 GB, free: 11.72 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4951, allocations: 0 / 0.49 GB, free: 11.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01122/0.5063, allocations: 5.704 MB / 0.4955 GB, free: 6.039 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[2].k,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.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[2].k,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.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