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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001908/0.001908, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 69.86 kB / 307.7 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1388, allocations: 50.53 MB / 358.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.00614/0.145, allocations: 3.137 MB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002945/0.148, allocations: 1.207 MB / 362.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003888/0.1484, allocations: 15.94 kB / 362.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.1488, allocations: 90.92 kB / 362.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.149, allocations: 63.22 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.1501, allocations: 395.3 kB / 363.1 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.1511, allocations: 0.9445 MB / 364 MB, free: 8.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1525, allocations: 0.94 MB / 365 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.1531, allocations: 398.7 kB / 365.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005778/0.1537, allocations: 438 kB / 365.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.1539, allocations: 120 kB / 365.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.1542, allocations: 143.9 kB / 366 MB, free: 6.148 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.1545, allocations: 255.3 kB / 366.3 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.1551, allocations: 473.5 kB / 366.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.1565, allocations: 1.317 MB / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1566, allocations: 0 / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.991e-06/0.1566, allocations: 7.984 kB / 368.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.1566, allocations: 0 / 368.1 MB, free: 4.105 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002349/0.1589, allocations: 1.185 MB / 369.3 MB, free: 2.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.159, allocations: 8.031 kB / 369.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.1595, allocations: 119.8 kB / 369.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008178/0.1604, allocations: 0.5381 MB / 369.9 MB, free: 2.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.1606, allocations: 134 kB / 370.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1607, allocations: 96.38 kB / 370.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.1639, allocations: 1.729 MB / 371.9 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.164, allocations: 3.984 kB / 371.9 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.1641, allocations: 36 kB / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1642, allocations: 20 kB / 371.9 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2155/0.3796, allocations: 0.7865 MB / 372.7 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.3835, allocations: 2.144 MB / 374.9 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.3853, allocations: 1.031 MB / 375.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008316/0.3862, allocations: 486.3 kB / 376.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.3863, allocations: 26.14 kB / 376.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007907/0.3871, allocations: 396.1 kB / 376.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.677e-06/0.3871, allocations: 0.9688 kB / 376.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.00257/0.3896, allocations: 1.137 MB / 377.9 MB, free: 18.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.3898, allocations: 256 kB / 378.2 MB, free: 17.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.3905, allocations: 430.1 kB / 378.6 MB, free: 17.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.3906, allocations: 63 kB / 378.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3908, allocations: 282 kB / 378.9 MB, free: 17.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.3909, allocations: 158.9 kB / 379.1 MB, free: 17.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.3913, allocations: 221.1 kB / 379.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3914, allocations: 373.3 kB / 379.7 MB, free: 16.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.3921, allocations: 321.1 kB / 380 MB, free: 16.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.3928, allocations: 0.6127 MB / 380.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.394, allocations: 0.8362 MB / 381.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.394, allocations: 1.469 kB / 381.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001777/0.3958, allocations: 0.9905 MB / 382.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.3959, allocations: 39.8 kB / 382.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.3959, allocations: 10.75 kB / 382.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/0.3959, allocations: 15.72 kB / 382.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.3963, allocations: 111.7 kB / 382.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/0.3964, allocations: 21.09 kB / 382.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.3968, allocations: 86.89 kB / 382.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.3969, allocations: 42.66 kB / 382.7 MB, free: 15.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007107/0.3976, allocations: 408.3 kB / 383.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007143/0.3984, allocations: 393.5 kB / 383.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.3985, allocations: 85.75 kB / 383.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.3986, allocations: 12.53 kB / 383.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.3986, allocations: 2.219 kB / 383.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.3986, allocations: 12.78 kB / 383.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.4012, allocations: 1.652 MB / 385.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.4013, allocations: 1.062 kB / 385.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4017, allocations: 97.77 kB / 385.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.4017, allocations: 5.375 kB / 385.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.4018, allocations: 21.94 kB / 385.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.4018, allocations: 5.672 kB / 385.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4018, allocations: 2.375 kB / 385.4 MB, free: 13.74 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956: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.001743/0.4036, allocations: 1.127 MB / 386.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4037, allocations: 152.1 kB / 386.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4038, allocations: 37.55 kB / 386.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4042, allocations: 37.78 kB / 386.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.4044, allocations: 83.61 kB / 386.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.197e-05/0.4045, allocations: 33.45 kB / 386.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003446/0.4048, allocations: 251.7 kB / 387.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4049, allocations: 3.5 kB / 387.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001051/0.4059, allocations: 188.3 kB / 387.3 MB, free: 12.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.4062, allocations: 221.5 kB / 387.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.4085, allocations: 1.01 MB / 388.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4085, allocations: 1.25 kB / 388.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005542/0.4091, allocations: 276.3 kB / 388.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.4102, allocations: 293.4 kB / 389.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4126, allocations: 1.46 MB / 390.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.4131, allocations: 0.9993 MB / 391.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.4133, allocations: 68.78 kB / 391.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4134, allocations: 0 / 391.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01435/0.4277, allocations: 9.327 MB / 400.9 MB, free: 3.418 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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:rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y,time