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.001614/0.001614, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.002161, allocations: 200.7 kB / 18.73 MB, free: 4.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3792, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005617/0.3849, allocations: 3.138 MB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3876, allocations: 1.199 MB / 413.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.3879, allocations: 15.94 kB / 413.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.3883, allocations: 94.97 kB / 413.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.3885, allocations: 67.22 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3897, allocations: 398.8 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.3907, allocations: 0.9406 MB / 415.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.3921, allocations: 0.9361 MB / 416 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.3929, allocations: 402.6 kB / 416.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.3934, allocations: 430 kB / 416.8 MB, free: 9.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3936, allocations: 116 kB / 416.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.3938, allocations: 155.9 kB / 417.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.3941, allocations: 255.3 kB / 417.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005067/0.3947, allocations: 477.6 kB / 417.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.3961, allocations: 1.37 MB / 419.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3961, allocations: 0 / 419.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3961, allocations: 0 / 419.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.3961, allocations: 0 / 419.2 MB, free: 7.59 MB / 334.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.002007/0.3981, allocations: 1.219 MB / 420.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.3982, allocations: 8.031 kB / 420.4 MB, free: 6.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.3986, allocations: 128.2 kB / 420.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008206/0.3995, allocations: 0.5463 MB / 421.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.3997, allocations: 142 kB / 421.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3998, allocations: 96.38 kB / 421.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.4027, allocations: 1.725 MB / 423 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4027, allocations: 0 / 423 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.4028, allocations: 39.98 kB / 423.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4028, allocations: 24 kB / 423.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.4043, allocations: 0.7898 MB / 423.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003134/0.4075, allocations: 2.122 MB / 426 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4092, allocations: 1.028 MB / 427 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/0.41, allocations: 489.6 kB / 427.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.4101, allocations: 24.12 kB / 427.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.411, allocations: 395.3 kB / 427.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.597e-06/0.411, allocations: 0 / 427.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002437/0.4135, allocations: 1.145 MB / 429.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.4137, allocations: 249.6 kB / 429.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.4142, allocations: 433.3 kB / 429.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.4143, allocations: 61.69 kB / 429.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.4146, allocations: 285.8 kB / 430.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.4148, allocations: 166.9 kB / 430.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/0.4151, allocations: 214.6 kB / 430.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4153, allocations: 378.7 kB / 430.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.4159, allocations: 321.8 kB / 431.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/0.4168, allocations: 0.6158 MB / 431.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.4182, allocations: 0.8328 MB / 432.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4182, allocations: 4 kB / 432.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001677/0.4199, allocations: 0.9984 MB / 433.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.4199, allocations: 41.77 kB / 433.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4199, allocations: 8 kB / 433.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.42, allocations: 16 kB / 433.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.4203, allocations: 103.8 kB / 433.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/0.4204, allocations: 27.91 kB / 433.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.4208, allocations: 87.42 kB / 433.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.4209, allocations: 44 kB / 433.9 MB, free: 8.129 MB / 350.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.0005347/0.4214, allocations: 403.7 kB / 434.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/0.4221, allocations: 396.1 kB / 434.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4223, allocations: 91.27 kB / 434.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4223, allocations: 12 kB / 434.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4223, allocations: 0 / 434.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4223, allocations: 7.984 kB / 434.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.4246, allocations: 1.663 MB / 436.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4247, allocations: 0 / 436.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.425, allocations: 95.73 kB / 436.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.425, allocations: 4 kB / 436.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.4251, allocations: 23.98 kB / 436.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.4251, allocations: 4 kB / 436.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4251, allocations: 7.938 kB / 436.6 MB, free: 5.367 MB / 350.1 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.) 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/jenkins/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/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: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.001626/0.4268, allocations: 1.135 MB / 437.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4269, allocations: 144.5 kB / 437.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.519e-05/0.427, allocations: 35.98 kB / 437.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/0.4274, allocations: 43.97 kB / 437.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.4275, allocations: 87.78 kB / 438 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.217e-05/0.4276, allocations: 31.98 kB / 438.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.4278, allocations: 251.2 kB / 438.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4279, allocations: 4 kB / 438.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007179/0.4286, allocations: 187.5 kB / 438.5 MB, free: 3.41 MB / 350.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.0002373/0.4288, allocations: 212.6 kB / 438.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4304, allocations: 0.903 MB / 439.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4304, allocations: 0 / 439.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.4309, allocations: 279.7 kB / 439.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4319, allocations: 312.9 kB / 440.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4341, allocations: 1.461 MB / 441.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.4347, allocations: 1.014 MB / 442.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.4351, allocations: 128.8 kB / 442.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4352, allocations: 63.41 kB / 442.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4353, allocations: 0 / 442.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01224/0.4475, allocations: 6.87 MB / 449.7 MB, free: 8.113 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/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