Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001413/0.001413, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 215.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 55.91 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2363, allocations: 50.55 MB / 410.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004941/0.2412, allocations: 3.146 MB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2434, allocations: 1.204 MB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.2436, allocations: 15.94 kB / 414.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.2438, allocations: 98.84 kB / 414.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.244, allocations: 67.22 kB / 414.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.2449, allocations: 394.4 kB / 415.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009381/0.2459, allocations: 0.9562 MB / 416.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009449/0.2468, allocations: 0.694 MB / 416.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004951/0.2473, allocations: 410.6 kB / 417.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.2477, allocations: 426 kB / 417.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.2479, allocations: 120 kB / 417.7 MB, free: 9.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2481, allocations: 147.9 kB / 417.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.2483, allocations: 267.3 kB / 418.1 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.2487, allocations: 473.7 kB / 418.6 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.2502, allocations: 1.377 MB / 419.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2502, allocations: 0 / 419.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2502, allocations: 0 / 419.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2502, allocations: 0 / 419.9 MB, free: 7.652 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.001989/0.2522, allocations: 1.211 MB / 421.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2522, allocations: 16.03 kB / 421.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004661/0.2527, allocations: 128.2 kB / 421.3 MB, free: 6.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008913/0.2536, allocations: 0.5502 MB / 421.8 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001515/0.2537, allocations: 134 kB / 422 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.2538, allocations: 96.38 kB / 422.1 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.2568, allocations: 1.721 MB / 423.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.2569, allocations: 7.938 kB / 423.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.2569, allocations: 36 kB / 423.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.257, allocations: 24 kB / 423.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.2585, allocations: 0.7859 MB / 424.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.262, allocations: 2.125 MB / 426.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.2638, allocations: 0.9804 MB / 427.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.2646, allocations: 456.2 kB / 428.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-05/0.2647, allocations: 23.89 kB / 428.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.2654, allocations: 391.3 kB / 428.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.266e-06/0.2654, allocations: 0 / 428.6 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002388/0.2678, allocations: 1.143 MB / 429.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.268, allocations: 253.6 kB / 430 MB, free: 13.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005458/0.2685, allocations: 433.3 kB / 430.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.2686, allocations: 61.69 kB / 430.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.2689, allocations: 285.8 kB / 430.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.269, allocations: 170.8 kB / 430.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.2693, allocations: 214.6 kB / 431.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.2695, allocations: 374.8 kB / 431.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.2701, allocations: 317.8 kB / 431.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008314/0.271, allocations: 0.6119 MB / 432.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.2722, allocations: 0.8351 MB / 433.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.2722, allocations: 7.938 kB / 433.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001726/0.274, allocations: 0.9945 MB / 434.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.274, allocations: 33.7 kB / 434.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.274, allocations: 16 kB / 434.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.2741, allocations: 12 kB / 434.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.2744, allocations: 115.7 kB / 434.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.2744, allocations: 15.94 kB / 434.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.2749, allocations: 95.42 kB / 434.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.2749, allocations: 43.98 kB / 434.6 MB, free: 8.281 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.0005273/0.2755, allocations: 407.1 kB / 435 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006941/0.2761, allocations: 387.7 kB / 435.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.2764, allocations: 87.27 kB / 435.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2764, allocations: 12 kB / 435.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.2764, allocations: 4 kB / 435.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.2764, allocations: 3.984 kB / 435.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/0.2789, allocations: 1.667 MB / 437.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2789, allocations: 0 / 437.1 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.2793, allocations: 99.73 kB / 437.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.2793, allocations: 7.984 kB / 437.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.2794, allocations: 28.11 kB / 437.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.2794, allocations: 4 kB / 437.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2794, allocations: 3.938 kB / 437.3 MB, free: 5.516 MB / 350.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:8012:5-8012: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.001747/0.2811, allocations: 1.129 MB / 438.4 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.2813, allocations: 152.5 kB / 438.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/0.2814, allocations: 35.98 kB / 438.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.2817, allocations: 35.97 kB / 438.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.2819, allocations: 91.83 kB / 438.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.282, allocations: 31.98 kB / 438.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.2822, allocations: 251.2 kB / 439 MB, free: 3.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2822, allocations: 0 / 439 MB, free: 3.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007001/0.2829, allocations: 187.6 kB / 439.2 MB, free: 3.566 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.0002542/0.2832, allocations: 212.6 kB / 439.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2848, allocations: 0.8779 MB / 440.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2848, allocations: 0 / 440.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.2853, allocations: 266.3 kB / 440.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2864, allocations: 283.2 kB / 440.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.2887, allocations: 1.471 MB / 442.2 MB, free: 412 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006991/0.2894, allocations: 1.014 MB / 443.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.2898, allocations: 132.7 kB / 443.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.29, allocations: 67.41 kB / 443.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.29, allocations: 0 / 443.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of Templates: time 0.01506/0.305, allocations: 6.883 MB / 450.3 MB, free: 8.305 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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