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.001235/0.001235, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 58.22 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09659/0.09779, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004754/0.1026, allocations: 3.137 MB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.1047, allocations: 1.211 MB / 363.2 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1049, allocations: 23.88 kB / 363.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1052, allocations: 86.97 kB / 363.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.1054, allocations: 63.22 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.1061, allocations: 390.7 kB / 363.8 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.1069, allocations: 0.9523 MB / 364.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009647/0.1079, allocations: 0.9283 MB / 365.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.1083, allocations: 406.7 kB / 366.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1086, allocations: 437.9 kB / 366.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1088, allocations: 120 kB / 366.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1089, allocations: 140 kB / 366.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.1092, allocations: 259.3 kB / 367 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.1095, allocations: 481.5 kB / 367.5 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009945/0.1105, allocations: 1.367 MB / 368.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1105, allocations: 0 / 368.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1106, allocations: 0 / 368.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1106, allocations: 0 / 368.8 MB, free: 3.32 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.001718/0.1123, allocations: 1.193 MB / 370 MB, free: 2.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1123, allocations: 12.03 kB / 370 MB, free: 2.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.1128, allocations: 119.8 kB / 370.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008235/0.1136, allocations: 0.5499 MB / 370.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1138, allocations: 134 kB / 370.8 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1139, allocations: 96.38 kB / 370.9 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1717/0.2856, allocations: 1.715 MB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.667e-05/0.2857, allocations: 4.5 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.2859, allocations: 41.8 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.286, allocations: 20.38 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.2878, allocations: 0.7898 MB / 373.5 MB, free: 19.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/0.2914, allocations: 2.12 MB / 375.6 MB, free: 18.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.2932, allocations: 1.032 MB / 376.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.2939, allocations: 483.7 kB / 377.1 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-05/0.294, allocations: 23.94 kB / 377.2 MB, free: 18.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.2948, allocations: 398.5 kB / 377.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 4.168e-06/0.2948, allocations: 0 / 377.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002629/0.2974, allocations: 1.142 MB / 378.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.2976, allocations: 243.9 kB / 378.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.2984, allocations: 429 kB / 379.3 MB, free: 17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.2985, allocations: 61.94 kB / 379.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2987, allocations: 291.1 kB / 379.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.2989, allocations: 158.5 kB / 379.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003856/0.2993, allocations: 219.1 kB / 380.1 MB, free: 16.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2995, allocations: 370.5 kB / 380.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.3002, allocations: 321.3 kB / 380.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.3011, allocations: 0.6094 MB / 381.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.3024, allocations: 0.8525 MB / 382.2 MB, free: 15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3024, allocations: 1.781 kB / 382.2 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001741/0.3041, allocations: 0.9904 MB / 383.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.3042, allocations: 35.47 kB / 383.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3042, allocations: 10.41 kB / 383.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.305e-05/0.3043, allocations: 14.19 kB / 383.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.3046, allocations: 110.2 kB / 383.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.9e-05/0.3047, allocations: 19.69 kB / 383.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.3051, allocations: 82.12 kB / 383.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.3052, allocations: 45.47 kB / 383.5 MB, free: 14.48 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.0006094/0.3058, allocations: 415.6 kB / 383.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007369/0.3066, allocations: 394.2 kB / 384.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.3068, allocations: 81.72 kB / 384.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.3068, allocations: 11.75 kB / 384.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.3068, allocations: 2.594 kB / 384.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3068, allocations: 10.31 kB / 384.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.3093, allocations: 1.663 MB / 386.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.3093, allocations: 1.75 kB / 386.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.3097, allocations: 97.05 kB / 386.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.3097, allocations: 9.75 kB / 386.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.838e-05/0.3098, allocations: 21.86 kB / 386.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.397e-06/0.3098, allocations: 9.734 kB / 386.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3098, allocations: 2.469 kB / 386.2 MB, free: 13.05 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:8011:5-8011: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.001522/0.3113, allocations: 1.118 MB / 387.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3114, allocations: 152.9 kB / 387.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/0.3115, allocations: 35.95 kB / 387.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.3119, allocations: 42.83 kB / 387.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3121, allocations: 83.73 kB / 387.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.593e-05/0.3121, allocations: 31.72 kB / 387.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002557/0.3124, allocations: 256.6 kB / 387.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3124, allocations: 0 / 387.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007872/0.3132, allocations: 185.7 kB / 388.1 MB, free: 12.05 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.0002171/0.3134, allocations: 212.6 kB / 388.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.3149, allocations: 0.9176 MB / 389.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3149, allocations: 1.438 kB / 389.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004702/0.3154, allocations: 278.1 kB / 389.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3164, allocations: 295.4 kB / 389.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3184, allocations: 1.428 MB / 391.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.3188, allocations: 1.016 MB / 392.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.3191, allocations: 128.5 kB / 392.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3193, allocations: 66.05 kB / 392.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3193, allocations: 0 / 392.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Templates: time 0.01031/0.3296, allocations: 6.76 MB / 399.2 MB, free: 4.965 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 -s cvode -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.0.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: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.continuous,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.u,sample_disjunctive.y,sine_angle_input.amplitude,sine_angle_input.continuous,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