Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008549, allocations: 85.88 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 181.5 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002591, allocations: 4.5 kB / 300.8 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1099, allocations: 50.41 MB / 351.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003392/0.1134, allocations: 2.603 MB / 353.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1153, allocations: 1.056 MB / 354.9 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.1155, allocations: 15.88 kB / 354.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1157, allocations: 63.41 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.1158, allocations: 27.72 kB / 355 MB, free: 232 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1169, allocations: 270.3 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.118, allocations: 0.8194 MB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.1189, allocations: 0.6535 MB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.1193, allocations: 206.8 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1195, allocations: 246.4 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.1196, allocations: 16 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1197, allocations: 39.98 kB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.1199, allocations: 115.4 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1201, allocations: 161.2 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1212, allocations: 1.021 MB / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1212, allocations: 0 / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1212, allocations: 0 / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.1213, allocations: 0 / 358.5 MB, free: 12.67 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.001804/0.1231, allocations: 0.9977 MB / 359.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1231, allocations: 8.031 kB / 359.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.1233, allocations: 102.8 kB / 359.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.124, allocations: 0.5177 MB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.1242, allocations: 133.4 kB / 360.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1243, allocations: 96 kB / 360.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.1272, allocations: 1.721 MB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1272, allocations: 0 / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.214e-05/0.1273, allocations: 40 kB / 362.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.1274, allocations: 20 kB / 362.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.1288, allocations: 0.8054 MB / 363 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.1322, allocations: 2.144 MB / 365.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.134, allocations: 1.051 MB / 366.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.1348, allocations: 491.4 kB / 366.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/0.1349, allocations: 28.12 kB / 366.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.1358, allocations: 411.1 kB / 367.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.755e-06/0.1358, allocations: 0 / 367.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002138/0.138, allocations: 1.153 MB / 368.2 MB, free: 2.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.1381, allocations: 252.5 kB / 368.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.1386, allocations: 425 kB / 368.9 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.87e-05/0.1387, allocations: 61.69 kB / 368.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1389, allocations: 281.2 kB / 369.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.1391, allocations: 150.3 kB / 369.4 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.1391, allocations: 20 kB / 369.4 MB, free: 1.371 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.1394, allocations: 374.7 kB / 369.7 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000651/0.14, allocations: 329.8 kB / 370.1 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2084/0.3484, allocations: 0.6068 MB / 370.7 MB, free: 23.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.3497, allocations: 390.6 kB / 371.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.296e-05/0.3498, allocations: 5.906 kB / 371.1 MB, free: 23.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002284/0.3521, allocations: 1.014 MB / 372.1 MB, free: 23.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3521, allocations: 36.52 kB / 372.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/0.3522, allocations: 10.91 kB / 372.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/0.3522, allocations: 15.81 kB / 372.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.3526, allocations: 115.8 kB / 372.2 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.3527, allocations: 22.08 kB / 372.3 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.3531, allocations: 89.34 kB / 372.4 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.3532, allocations: 45.08 kB / 372.4 MB, free: 23.52 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,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].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,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].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,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,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,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007576/0.3539, allocations: 403.3 kB / 372.8 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009604/0.3549, allocations: 391.8 kB / 373.2 MB, free: 23.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008439/0.3558, allocations: 413.2 kB / 373.6 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.3558, allocations: 16.05 kB / 373.6 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.305e-05/0.3558, allocations: 1.781 kB / 373.6 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.3558, allocations: 7.203 kB / 373.6 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.3583, allocations: 1.693 MB / 375.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3584, allocations: 1.406 kB / 375.3 MB, free: 22.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.3588, allocations: 101.9 kB / 375.4 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.3588, allocations: 6.75 kB / 375.4 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/0.3588, allocations: 22.91 kB / 375.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.3588, allocations: 6.344 kB / 375.4 MB, free: 22.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.3589, allocations: 1.375 kB / 375.4 MB, free: 22.66 MB / 302.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:7863:5-7863: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.001674/0.3605, allocations: 1.143 MB / 376.6 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-05/0.3606, allocations: 152.2 kB / 376.7 MB, free: 21.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.3607, allocations: 43.09 kB / 376.8 MB, free: 21.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.3611, allocations: 41.83 kB / 376.8 MB, free: 21.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.3613, allocations: 91.91 kB / 376.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.3614, allocations: 29.55 kB / 376.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.3616, allocations: 247.8 kB / 377.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3616, allocations: 0 / 377.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008309/0.3625, allocations: 186.4 kB / 377.4 MB, free: 21.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002839/0.3628, allocations: 224 kB / 377.6 MB, free: 21.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.3644, allocations: 0.9057 MB / 378.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3644, allocations: 1.281 kB / 378.5 MB, free: 21.17 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.3649, allocations: 296.7 kB / 378.8 MB, free: 21.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.3659, allocations: 307.3 kB / 379.1 MB, free: 20.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.3682, allocations: 1.623 MB / 380.7 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.3688, allocations: 1.016 MB / 381.7 MB, free: 19.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003656/0.3691, allocations: 133.9 kB / 381.8 MB, free: 19.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.3693, allocations: 59.67 kB / 381.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3693, allocations: 3.938 kB / 381.9 MB, free: 19.24 MB / 302.1 MB Notification: Performance of Templates: time 0.01189/0.3812, allocations: 6.139 MB / 388 MB, free: 17.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.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.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