Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9654/0.9654, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.[0-9,]+..RS1.TD1.x|Counter.FF.[0-9,]+..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.069e-05, allocations: 6.25 kB / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002446/0.002467, allocations: 2.465 MB / 270.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.004422, allocations: 1.235 MB / 271.7 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.004579, allocations: 11.88 kB / 271.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.004742, allocations: 67.38 kB / 271.8 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.004884, allocations: 75.25 kB / 271.8 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.00544, allocations: 255.6 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.006813, allocations: 2.131 MB / 274.2 MB, free: 192 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006138/0.007426, allocations: 0.5498 MB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002235/0.009661, allocations: 2.469 MB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.01098, allocations: 1.165 MB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004805/0.01146, allocations: 216 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003327/0.01179, allocations: 216 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004526/0.01224, allocations: 0.6502 MB / 279.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.01283, allocations: 0.6075 MB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.01488, allocations: 3.189 MB / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.01488, allocations: 0 / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01488, allocations: 0 / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.623e-05/0.01493, allocations: 0 / 283.3 MB, free: 7.09 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.002734/0.01766, allocations: 2.481 MB / 285.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.0177, allocations: 12.03 kB / 285.8 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.01815, allocations: 279.9 kB / 286 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.01904, allocations: 0.9206 MB / 287 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.01912, allocations: 98.91 kB / 287.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.01931, allocations: 124.4 kB / 287.2 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.0212, allocations: 1.371 MB / 288.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.02121, allocations: 192 / 288.6 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.02137, allocations: 56.38 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.02139, allocations: 35.94 kB / 288.6 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.02277, allocations: 0.8284 MB / 289.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1243/0.147, allocations: 3.729 MB / 293.2 MB, free: 26.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.1488, allocations: 1.076 MB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.1494, allocations: 403.8 kB / 294.7 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.1495, allocations: 21.69 kB / 294.7 MB, free: 26.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.1509, allocations: 0.9459 MB / 295.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.915e-06/0.1509, allocations: 0 / 295.6 MB, free: 25.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002731/0.1536, allocations: 1.718 MB / 297.4 MB, free: 25.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1536, allocations: 91.56 kB / 297.4 MB, free: 25.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.1545, allocations: 0.93 MB / 298.4 MB, free: 25.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.1547, allocations: 100.7 kB / 298.5 MB, free: 25.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.155, allocations: 0.5109 MB / 299 MB, free: 25.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.1553, allocations: 362.8 kB / 299.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009533/0.1562, allocations: 0.7987 MB / 300.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1564, allocations: 0.6323 MB / 300.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.157, allocations: 389.1 kB / 301.1 MB, free: 24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.1577, allocations: 0.6358 MB / 301.8 MB, free: 23.72 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.1588, allocations: 1.031 MB / 302.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1588, allocations: 0 / 302.8 MB, free: 23.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001801/0.1606, allocations: 1.569 MB / 304.4 MB, free: 22.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1606, allocations: 37.23 kB / 304.4 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1606, allocations: 0 / 304.4 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1607, allocations: 12 kB / 304.4 MB, free: 22.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1609, allocations: 246.3 kB / 304.7 MB, free: 22.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1609, allocations: 11.98 kB / 304.7 MB, free: 22.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.1613, allocations: 86.02 kB / 304.8 MB, free: 22.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005155/0.1618, allocations: 1.097 MB / 305.9 MB, free: 21.25 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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.0004541/0.1622, allocations: 457.2 kB / 306.3 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.1625, allocations: 163.1 kB / 306.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.1626, allocations: 114 kB / 306.6 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1626, allocations: 12 kB / 306.6 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.1626, allocations: 0 / 306.6 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1626, allocations: 6.141 kB / 306.6 MB, free: 20.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1637, allocations: 1.277 MB / 307.9 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1637, allocations: 0 / 307.9 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1639, allocations: 224.9 kB / 308.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1639, allocations: 4 kB / 308.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.1641, allocations: 183.9 kB / 308.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1641, allocations: 4 kB / 308.3 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1641, allocations: 4 kB / 308.3 MB, free: 19.01 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.1657, allocations: 1.479 MB / 309.8 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.1662, allocations: 0.5496 MB / 310.3 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.1664, allocations: 127.9 kB / 310.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.1667, allocations: 51.98 kB / 310.5 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004019/0.1671, allocations: 320.9 kB / 310.8 MB, free: 16.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005361/0.1676, allocations: 1.096 MB / 311.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000295/0.1679, allocations: 440.9 kB / 312.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 2.625 kB / 312.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006897/0.1686, allocations: 392.3 kB / 312.7 MB, free: 14.58 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002929/0.1689, allocations: 366.9 kB / 313.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.1702, allocations: 1.274 MB / 314.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1702, allocations: 0 / 314.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.1709, allocations: 0.7802 MB / 315.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.1729, allocations: 1.243 MB / 316.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.1752, allocations: 2.305 MB / 318.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.1754, allocations: 246.5 kB / 318.9 MB, free: 8.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003542/0.1789, allocations: 3.265 MB / 322.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/0.1805, allocations: 0.9631 MB / 323.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1805, allocations: 0 / 323.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of Templates: time 0.03846/0.2189, allocations: 43.39 MB / 366.5 MB, free: 8.164 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5039208456873894]