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.0009312/0.0009312, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001032/0.001032, allocations: 143.9 kB / 24.89 MB, free: 8.777 MB / 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 1.015/1.015, allocations: 173.4 MB / 201.5 MB, free: 8.727 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 1.543e-06/1.543e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.355e-05, allocations: 6.25 kB / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.006396/0.00642, allocations: 2.472 MB / 271 MB, free: 3.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.01201, allocations: 1.251 MB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.01222, allocations: 7.938 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.01243, allocations: 71.36 kB / 272.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.01262, allocations: 71.25 kB / 272.4 MB, free: 2.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.01323, allocations: 255.6 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004809/0.01804, allocations: 2.135 MB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/0.01883, allocations: 0.5537 MB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/0.02447, allocations: 2.445 MB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.02912, allocations: 1.169 MB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005781/0.0297, allocations: 216 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.03004, allocations: 216 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005644/0.03061, allocations: 0.6463 MB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003825/0.03443, allocations: 0.6075 MB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.037, allocations: 3.193 MB / 283.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.037, allocations: 0 / 283.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.037, allocations: 0 / 283.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.552e-05/0.03705, allocations: 0 / 283.8 MB, free: 6.586 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.009251/0.0463, allocations: 1.989 MB / 285.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.04634, allocations: 8.031 kB / 285.8 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005532/0.04689, allocations: 228.8 kB / 286 MB, free: 4.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.04793, allocations: 0.7474 MB / 286.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.04802, allocations: 94.91 kB / 286.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/0.0483, allocations: 124.4 kB / 287 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.05128, allocations: 1.082 MB / 288.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.0513, allocations: 4.188 kB / 288.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.0515, allocations: 60.36 kB / 288.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.05153, allocations: 35.94 kB / 288.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.05268, allocations: 427 kB / 288.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/0.1598, allocations: 2.567 MB / 291.2 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.1611, allocations: 0.6885 MB / 291.8 MB, free: 27.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.1615, allocations: 227.6 kB / 292.1 MB, free: 27.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.1616, allocations: 25.62 kB / 292.1 MB, free: 27.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.1625, allocations: 0.6508 MB / 292.7 MB, free: 27.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.679e-06/0.1625, allocations: 0 / 292.7 MB, free: 27.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001626/0.1642, allocations: 0.8103 MB / 293.5 MB, free: 27.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.1642, allocations: 92.7 kB / 293.6 MB, free: 27.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.1648, allocations: 0.6533 MB / 294.3 MB, free: 27.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.165, allocations: 99.33 kB / 294.4 MB, free: 27.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1652, allocations: 399.1 kB / 294.8 MB, free: 26.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.1655, allocations: 318.6 kB / 295.1 MB, free: 26.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006859/0.1662, allocations: 460.3 kB / 295.5 MB, free: 26.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1663, allocations: 409.2 kB / 295.9 MB, free: 26.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/0.1667, allocations: 204 kB / 296.1 MB, free: 26.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.1672, allocations: 390.4 kB / 296.5 MB, free: 26.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1683, allocations: 0.7612 MB / 297.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.1684, allocations: 0 / 297.3 MB, free: 25.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00132/0.1697, allocations: 0.7579 MB / 298 MB, free: 25.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.1697, allocations: 39.36 kB / 298.1 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1697, allocations: 4.781 kB / 298.1 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.1697, allocations: 12.56 kB / 298.1 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.1702, allocations: 188.1 kB / 298.3 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.1702, allocations: 10.61 kB / 298.3 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.1706, allocations: 83.92 kB / 298.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007472/0.1713, allocations: 0.9796 MB / 299.4 MB, free: 25.76 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.0006177/0.1719, allocations: 409.9 kB / 299.8 MB, free: 25.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.1722, allocations: 118.2 kB / 299.9 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.1723, allocations: 116.4 kB / 300 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.1723, allocations: 12.66 kB / 300 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/0.1723, allocations: 0.6562 kB / 300 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.1723, allocations: 7.219 kB / 300 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.1732, allocations: 0.7222 MB / 300.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1732, allocations: 2.109 kB / 300.7 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.1736, allocations: 164.6 kB / 300.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1736, allocations: 4.125 kB / 300.9 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/0.1737, allocations: 72.69 kB / 301 MB, free: 25.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1737, allocations: 11.33 kB / 301 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1737, allocations: 1.188 kB / 301 MB, free: 25.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1748, allocations: 0.6745 MB / 301.6 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.1752, allocations: 359.7 kB / 302 MB, free: 25.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.1754, allocations: 114.7 kB / 302.1 MB, free: 25.06 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.1757, allocations: 57.23 kB / 302.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.176, allocations: 166.2 kB / 302.3 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005135/0.1765, allocations: 0.9742 MB / 303.3 MB, free: 24.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.1767, allocations: 259.3 kB / 303.6 MB, free: 24.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1767, allocations: 0 / 303.6 MB, free: 24.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007798/0.1774, allocations: 389.3 kB / 303.9 MB, free: 24.46 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.0002879/0.1777, allocations: 351.1 kB / 304.3 MB, free: 24.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1788, allocations: 0.767 MB / 305 MB, free: 23.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.1788, allocations: 8 kB / 305.1 MB, free: 23.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.1793, allocations: 462.9 kB / 305.5 MB, free: 22.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.1809, allocations: 1.146 MB / 306.7 MB, free: 21.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.183, allocations: 2.147 MB / 308.8 MB, free: 19.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.1831, allocations: 238.5 kB / 309 MB, free: 19.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003757/0.1869, allocations: 2.883 MB / 311.9 MB, free: 16.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/0.1894, allocations: 1.289 MB / 313.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.874e-06/0.1894, allocations: 0 / 313.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Templates: time 0.03931/0.2287, allocations: 43.94 MB / 357.1 MB, free: 2.789 MB / 298.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 -s gbode -gbm=radauIIA3 -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.2015045415610075]