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.0007896/0.0007902, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.000853/0.0008533, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002745/0.0002746, allocations: 16.61 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1071, allocations: 50.41 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003825/0.111, allocations: 2.707 MB / 354.5 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.113, allocations: 1.056 MB / 355.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.1133, allocations: 15.94 kB / 355.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1135, allocations: 59.42 kB / 355.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.1136, allocations: 35.66 kB / 355.7 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/0.1145, allocations: 334.9 kB / 356 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007849/0.1153, allocations: 0.8546 MB / 356.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.1164, allocations: 0.8893 MB / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.1167, allocations: 210.7 kB / 358 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.117, allocations: 266.1 kB / 358.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.176e-05/0.117, allocations: 20 kB / 358.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1172, allocations: 28 kB / 358.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1173, allocations: 127.4 kB / 358.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.1176, allocations: 343.4 kB / 358.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.1188, allocations: 1.192 MB / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1188, allocations: 0 / 359.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1188, allocations: 4 kB / 359.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.1188, allocations: 0 / 359.9 MB, free: 11.51 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.001658/0.1205, allocations: 0.99 MB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1205, allocations: 12.03 kB / 360.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.1207, allocations: 103.7 kB / 361 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/0.1214, allocations: 0.5343 MB / 361.6 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.1216, allocations: 134 kB / 361.7 MB, free: 9.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1217, allocations: 100.4 kB / 361.8 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.1245, allocations: 1.737 MB / 363.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.1246, allocations: 3.938 kB / 363.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/0.1247, allocations: 40 kB / 363.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.1247, allocations: 20 kB / 363.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1262, allocations: 0.8016 MB / 364.4 MB, free: 6.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.1294, allocations: 2.156 MB / 366.6 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.1312, allocations: 1.045 MB / 367.6 MB, free: 3.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008388/0.132, allocations: 0.4928 MB / 368.1 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.731e-05/0.1321, allocations: 24.12 kB / 368.1 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007118/0.1329, allocations: 415.2 kB / 368.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.016e-06/0.1329, allocations: 0 / 368.5 MB, free: 2.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002316/0.1352, allocations: 1.172 MB / 369.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003028/0.1355, allocations: 241.6 kB / 369.9 MB, free: 1.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.136, allocations: 429 kB / 370.4 MB, free: 0.668 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1361, allocations: 65.67 kB / 370.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.1364, allocations: 281.2 kB / 370.7 MB, free: 324 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.1366, allocations: 158.3 kB / 370.9 MB, free: 164 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.1367, allocations: 145.6 kB / 371 MB, free: 12 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1951/0.3318, allocations: 366.2 kB / 371.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009708/0.3328, allocations: 326.9 kB / 371.7 MB, free: 24.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008179/0.3337, allocations: 0.6234 MB / 372.3 MB, free: 23.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.3349, allocations: 0.8707 MB / 373.2 MB, free: 23.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.3349, allocations: 2.969 kB / 373.2 MB, free: 23.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001898/0.3368, allocations: 1.018 MB / 374.2 MB, free: 23.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/0.3369, allocations: 36.97 kB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.3369, allocations: 9.562 kB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.3369, allocations: 15.94 kB / 374.2 MB, free: 23.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.3373, allocations: 108.7 kB / 374.4 MB, free: 23.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.872e-05/0.3374, allocations: 21 kB / 374.4 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.3378, allocations: 100.1 kB / 374.5 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/0.3379, allocations: 43.83 kB / 374.5 MB, free: 23.27 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.0006816/0.3386, allocations: 409.6 kB / 374.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/0.3394, allocations: 394.6 kB / 375.3 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008201/0.3402, allocations: 410.8 kB / 375.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.3402, allocations: 12.38 kB / 375.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.3403, allocations: 1.375 kB / 375.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.3403, allocations: 12.28 kB / 375.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.3431, allocations: 1.692 MB / 377.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.3431, allocations: 2.188 kB / 377.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.3435, allocations: 102 kB / 377.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.3436, allocations: 4.188 kB / 377.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.3436, allocations: 23.38 kB / 377.5 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.3436, allocations: 9.734 kB / 377.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3436, allocations: 2.438 kB / 377.6 MB, free: 22.03 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:7947:5-7947: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.001704/0.3454, allocations: 1.153 MB / 378.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.3455, allocations: 152 kB / 378.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3456, allocations: 34.19 kB / 378.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.346, allocations: 50.84 kB / 378.9 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.3462, allocations: 84.47 kB / 379 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.3462, allocations: 33.44 kB / 379.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3465, allocations: 249.6 kB / 379.3 MB, free: 21.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3465, allocations: 0 / 379.3 MB, free: 21.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007796/0.3473, allocations: 185.9 kB / 379.5 MB, free: 21.02 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.0003124/0.3476, allocations: 226.6 kB / 379.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3494, allocations: 0.9289 MB / 380.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3494, allocations: 1.031 kB / 380.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.3499, allocations: 290.5 kB / 380.9 MB, free: 20.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.351, allocations: 299.7 kB / 381.2 MB, free: 20.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.3534, allocations: 1.714 MB / 382.9 MB, free: 19.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.3539, allocations: 1.012 MB / 383.9 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.3543, allocations: 128.7 kB / 384.1 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.3545, allocations: 60.03 kB / 384.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3545, allocations: 0 / 384.1 MB, free: 18.54 MB / 302.1 MB Notification: Performance of Templates: time 0.01174/0.3662, allocations: 6.427 MB / 390.6 MB, free: 16.34 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) Reference file matches