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.001411/0.001411, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.578/1.578, allocations: 227.7 MB / 247.7 MB, free: 10.36 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.002051/0.002052, allocations: 69.23 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.128, allocations: 50.54 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005924/0.134, allocations: 3.117 MB / 361.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.1368, allocations: 1.211 MB / 362.8 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.1373, allocations: 15.94 kB / 362.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.1376, allocations: 94.91 kB / 362.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1379, allocations: 67.22 kB / 362.9 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1391, allocations: 386.8 kB / 363.3 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1402, allocations: 0.9484 MB / 364.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.1416, allocations: 0.9361 MB / 365.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/0.1422, allocations: 394.7 kB / 365.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.1428, allocations: 441.9 kB / 366 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.143, allocations: 116 kB / 366.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.1432, allocations: 147.9 kB / 366.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.1435, allocations: 263.3 kB / 366.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.144, allocations: 477.6 kB / 367 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1456, allocations: 1.321 MB / 368.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1456, allocations: 0 / 368.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1456, allocations: 0 / 368.3 MB, free: 3.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.1457, allocations: 0 / 368.3 MB, free: 3.98 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.00239/0.1481, allocations: 1.181 MB / 369.5 MB, free: 2.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.946e-05/0.1481, allocations: 19.97 kB / 369.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007753/0.1489, allocations: 119.8 kB / 369.6 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1502, allocations: 0.5342 MB / 370.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.1505, allocations: 138 kB / 370.3 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.1507, allocations: 104.4 kB / 370.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004781/0.1555, allocations: 1.721 MB / 372.1 MB, free: 0 / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.2317/0.3872, allocations: 0.6719 kB / 372.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.3876, allocations: 35.52 kB / 372.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.3876, allocations: 20.59 kB / 372.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.3897, allocations: 0.7886 MB / 373 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.3933, allocations: 2.138 MB / 375.1 MB, free: 19.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3951, allocations: 1.038 MB / 376.2 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007595/0.3959, allocations: 488.3 kB / 376.6 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.396, allocations: 23.05 kB / 376.7 MB, free: 18.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007352/0.3967, allocations: 399 kB / 377 MB, free: 18.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.895e-06/0.3967, allocations: 0 / 377 MB, free: 18.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002325/0.399, allocations: 1.133 MB / 378.2 MB, free: 17.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.3992, allocations: 263.6 kB / 378.4 MB, free: 17.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.3997, allocations: 426.9 kB / 378.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.779e-05/0.3998, allocations: 63.53 kB / 378.9 MB, free: 17.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.4, allocations: 278.7 kB / 379.2 MB, free: 17.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.4002, allocations: 159.2 kB / 379.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/0.4005, allocations: 220.5 kB / 379.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4006, allocations: 370.3 kB / 379.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.4012, allocations: 320.3 kB / 380.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.402, allocations: 0.6085 MB / 380.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.4031, allocations: 0.8413 MB / 381.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.4031, allocations: 6.75 kB / 381.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001746/0.4049, allocations: 0.9893 MB / 382.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.4049, allocations: 36.17 kB / 382.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.4049, allocations: 9.562 kB / 382.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.405, allocations: 14.81 kB / 382.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/0.4054, allocations: 109.9 kB / 382.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/0.4054, allocations: 24.47 kB / 382.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.4058, allocations: 85.31 kB / 382.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-05/0.4059, allocations: 39.97 kB / 383 MB, free: 14.74 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.0005929/0.4065, allocations: 415.8 kB / 383.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/0.4072, allocations: 390.8 kB / 383.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.4074, allocations: 80.72 kB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.4074, allocations: 15.72 kB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.4074, allocations: 1.219 kB / 383.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.4075, allocations: 11.56 kB / 383.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.41, allocations: 1.66 MB / 385.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.41, allocations: 6.125 kB / 385.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.4104, allocations: 88.7 kB / 385.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.4104, allocations: 4.469 kB / 385.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.4105, allocations: 27.23 kB / 385.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.669e-06/0.4105, allocations: 5.812 kB / 385.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4105, allocations: 10.06 kB / 385.7 MB, free: 13.33 MB / 302.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.4122, allocations: 1.12 MB / 386.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4123, allocations: 152.9 kB / 387 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.4124, allocations: 37.66 kB / 387 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003799/0.4128, allocations: 40.8 kB / 387 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.413, allocations: 92.56 kB / 387.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.4131, allocations: 33.19 kB / 387.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003086/0.4134, allocations: 252 kB / 387.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4134, allocations: 0 / 387.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009045/0.4143, allocations: 180.5 kB / 387.6 MB, free: 12.32 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.000298/0.4146, allocations: 217.1 kB / 387.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.4168, allocations: 1.009 MB / 388.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.4168, allocations: 0 / 388.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.4173, allocations: 280.7 kB / 389.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.4184, allocations: 290.4 kB / 389.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.4211, allocations: 1.458 MB / 390.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.4216, allocations: 1.005 MB / 391.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.4219, allocations: 64.8 kB / 391.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4219, allocations: 0 / 391.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of Templates: time 0.01621/0.4381, allocations: 9.336 MB / 401.2 MB, free: 3.02 MB / 302.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 -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:rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y,time