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.001114/0.001114, allocations: 104 kB / 17.59 MB, free: 5.559 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.001057/0.001057, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.42/1.42, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.45 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 49.45 MB / 350.7 MB, free: 4.41 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004824/0.1233, allocations: 3.113 MB / 353.8 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1252, allocations: 1.122 MB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.1255, allocations: 15.94 kB / 355 MB, free: 128 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.1258, allocations: 86.98 kB / 355.1 MB, free: 40 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1259, allocations: 67.33 kB / 355.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.1269, allocations: 370.8 kB / 355.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.1277, allocations: 0.9404 MB / 356.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.1287, allocations: 0.9283 MB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004184/0.1291, allocations: 402.6 kB / 357.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.1295, allocations: 430 kB / 358.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.1297, allocations: 120 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1299, allocations: 144 kB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.1301, allocations: 259.3 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.1305, allocations: 473.7 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1316, allocations: 1.297 MB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1316, allocations: 0 / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1316, allocations: 4 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1316, allocations: 0 / 360.5 MB, free: 10.61 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.001802/0.1334, allocations: 1.181 MB / 361.6 MB, free: 9.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1335, allocations: 15.89 kB / 361.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1337, allocations: 99.72 kB / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.1344, allocations: 0.5265 MB / 362.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1345, allocations: 141.9 kB / 362.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1346, allocations: 100.3 kB / 362.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.1374, allocations: 1.722 MB / 364.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1374, allocations: 3.938 kB / 364.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.1375, allocations: 36 kB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.1376, allocations: 23.94 kB / 364.3 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.139, allocations: 0.786 MB / 365.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.1421, allocations: 2.152 MB / 367.2 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.1438, allocations: 1.023 MB / 368.3 MB, free: 2.477 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.1445, allocations: 488.4 kB / 368.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.365e-05/0.1446, allocations: 20.75 kB / 368.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006846/0.1453, allocations: 407.2 kB / 369.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.875e-06/0.1453, allocations: 0 / 369.1 MB, free: 1.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002118/0.1474, allocations: 1.138 MB / 370.3 MB, free: 412 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.1476, allocations: 246.1 kB / 370.5 MB, free: 116 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1757/0.3233, allocations: 424.7 kB / 370.9 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/0.3236, allocations: 60.84 kB / 371 MB, free: 25.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.3239, allocations: 283.2 kB / 371.3 MB, free: 25.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.324, allocations: 155.2 kB / 371.4 MB, free: 25.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3244, allocations: 218.7 kB / 371.6 MB, free: 25.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3245, allocations: 372.1 kB / 372 MB, free: 25.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007187/0.3253, allocations: 321.7 kB / 372.3 MB, free: 25.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008491/0.3261, allocations: 0.614 MB / 372.9 MB, free: 24.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3273, allocations: 0.8542 MB / 373.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3274, allocations: 2.375 kB / 373.8 MB, free: 24.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001928/0.3293, allocations: 0.9951 MB / 374.8 MB, free: 23.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.3294, allocations: 36.41 kB / 374.8 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.3294, allocations: 9.625 kB / 374.8 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/0.3294, allocations: 15.12 kB / 374.8 MB, free: 23.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3298, allocations: 109.2 kB / 375 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.79e-05/0.3298, allocations: 21.45 kB / 375 MB, free: 23.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.3303, allocations: 90.45 kB / 375.1 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.3304, allocations: 43.22 kB / 375.1 MB, free: 23.8 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.0006149/0.331, allocations: 410.4 kB / 375.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/0.3317, allocations: 396.9 kB / 375.9 MB, free: 23.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000682/0.3324, allocations: 411.5 kB / 376.3 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.3324, allocations: 11.7 kB / 376.3 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3324, allocations: 4.438 kB / 376.3 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.3324, allocations: 6.391 kB / 376.3 MB, free: 23.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.3348, allocations: 1.667 MB / 378 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3349, allocations: 1.281 kB / 378 MB, free: 22.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.3352, allocations: 93.42 kB / 378.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.3353, allocations: 6.625 kB / 378.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.3353, allocations: 26.42 kB / 378.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.3353, allocations: 4.625 kB / 378.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3353, allocations: 14.3 kB / 378.1 MB, free: 22.26 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.00176/0.3371, allocations: 1.131 MB / 379.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.3372, allocations: 148.8 kB / 379.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3373, allocations: 36.89 kB / 379.4 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.3377, allocations: 39.86 kB / 379.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.3379, allocations: 91.64 kB / 379.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.327e-05/0.338, allocations: 32.47 kB / 379.6 MB, free: 21.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.3383, allocations: 250.3 kB / 379.8 MB, free: 21.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3383, allocations: 1.531 kB / 379.8 MB, free: 21.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008544/0.3392, allocations: 189.5 kB / 380 MB, free: 21.24 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.0002773/0.3394, allocations: 213.8 kB / 380.2 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.3413, allocations: 1.008 MB / 381.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3414, allocations: 5.469 kB / 381.3 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.3419, allocations: 278.1 kB / 381.5 MB, free: 20.65 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.343, allocations: 295.6 kB / 381.8 MB, free: 20.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3454, allocations: 1.441 MB / 383.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.3461, allocations: 1.002 MB / 384.3 MB, free: 19.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.3463, allocations: 67.17 kB / 384.3 MB, free: 19 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3463, allocations: 0 / 384.3 MB, free: 19 MB / 302.1 MB Notification: Performance of Templates: time 0.01516/0.3615, allocations: 9.463 MB / 393.8 MB, free: 14.48 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_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: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