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.0009476/0.0009476, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001134/0.001134, allocations: 152 kB / 24.81 MB, free: 9.281 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.001/1.001, allocations: 173.4 MB / 201.4 MB, free: 9.238 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.714e-06/1.714e-06, allocations: 0 / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.491e-05, allocations: 2.312 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003488/0.003513, allocations: 2.426 MB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.005956, allocations: 1.228 MB / 272.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.006147, allocations: 7.938 kB / 272.1 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.006379, allocations: 75.3 kB / 272.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.006597, allocations: 79.25 kB / 272.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.007376, allocations: 251.6 kB / 272.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.009248, allocations: 2.139 MB / 274.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.009991, allocations: 0.538 MB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.01224, allocations: 2.465 MB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.01373, allocations: 1.173 MB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005841/0.01431, allocations: 220 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/0.01463, allocations: 220 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.0151, allocations: 0.6541 MB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.0162, allocations: 0.5997 MB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.01827, allocations: 3.189 MB / 283.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01827, allocations: 4 kB / 283.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01828, allocations: 0 / 283.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.824e-05/0.01833, allocations: 0 / 283.7 MB, free: 6.898 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.002925/0.02126, allocations: 2.477 MB / 286.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.0213, allocations: 8.031 kB / 286.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.0218, allocations: 287.9 kB / 286.4 MB, free: 4.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.02316, allocations: 0.8542 MB / 287.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-05/0.02324, allocations: 98.91 kB / 287.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/0.02344, allocations: 124.4 kB / 287.5 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.02502, allocations: 1.269 MB / 288.8 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.02504, allocations: 4.125 kB / 288.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.02518, allocations: 56.38 kB / 288.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.0252, allocations: 35.94 kB / 288.9 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009818/0.02618, allocations: 0.7254 MB / 289.6 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/0.1509, allocations: 3.387 MB / 293 MB, free: 28.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.1526, allocations: 0.9984 MB / 294 MB, free: 27.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/0.1532, allocations: 358.1 kB / 294.3 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.1533, allocations: 23.19 kB / 294.3 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.1545, allocations: 0.9014 MB / 295.2 MB, free: 27.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.289e-06/0.1545, allocations: 2.344 kB / 295.2 MB, free: 27.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002442/0.1569, allocations: 1.606 MB / 296.9 MB, free: 27.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1569, allocations: 97.25 kB / 296.9 MB, free: 27.46 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.1579, allocations: 0.9183 MB / 297.9 MB, free: 27.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/0.1581, allocations: 98.97 kB / 298 MB, free: 27.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.1583, allocations: 0.5146 MB / 298.5 MB, free: 26.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.1587, allocations: 366.2 kB / 298.8 MB, free: 26.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009167/0.1596, allocations: 0.7981 MB / 299.6 MB, free: 26.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1598, allocations: 0.6373 MB / 300.3 MB, free: 25.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.1603, allocations: 337.5 kB / 300.6 MB, free: 25.85 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.1609, allocations: 0.5823 MB / 301.2 MB, free: 25.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1619, allocations: 0.9613 MB / 302.1 MB, free: 25.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1619, allocations: 0 / 302.1 MB, free: 25.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00171/0.1636, allocations: 1.48 MB / 303.6 MB, free: 24.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.1636, allocations: 33.7 kB / 303.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1636, allocations: 0 / 303.7 MB, free: 24.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1636, allocations: 12 kB / 303.7 MB, free: 24.81 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1639, allocations: 242 kB / 303.9 MB, free: 24.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.1639, allocations: 9.969 kB / 303.9 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.1644, allocations: 79.62 kB / 304 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005226/0.1649, allocations: 1.089 MB / 305.1 MB, free: 23.47 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.0006336/0.1655, allocations: 454.8 kB / 305.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.1658, allocations: 163.3 kB / 305.7 MB, free: 22.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.817e-05/0.1659, allocations: 119 kB / 305.8 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.1659, allocations: 12 kB / 305.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/0.1659, allocations: 0 / 305.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1659, allocations: 3.938 kB / 305.8 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1669, allocations: 0.9873 MB / 306.8 MB, free: 21.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.1669, allocations: 0 / 306.8 MB, free: 21.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.1671, allocations: 219.7 kB / 307 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1672, allocations: 4 kB / 307 MB, free: 21.63 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.1673, allocations: 191.8 kB / 307.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1673, allocations: 6.297 kB / 307.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1673, allocations: 7.312 kB / 307.2 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.1687, allocations: 1.407 MB / 308.6 MB, free: 19.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.1692, allocations: 0.5137 MB / 309.1 MB, free: 19.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.1694, allocations: 119.9 kB / 309.3 MB, free: 19.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1697, allocations: 55.97 kB / 309.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.17, allocations: 281 kB / 309.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005349/0.1705, allocations: 1.085 MB / 310.7 MB, free: 17.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1707, allocations: 410.9 kB / 311.1 MB, free: 17.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1707, allocations: 4 kB / 311.1 MB, free: 17.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001014/0.1718, allocations: 392.3 kB / 311.5 MB, free: 17.19 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.0003308/0.1721, allocations: 355.3 kB / 311.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.1734, allocations: 1.181 MB / 313 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1734, allocations: 0 / 313 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.174, allocations: 0.7294 MB / 313.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.1758, allocations: 1.246 MB / 315 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.1782, allocations: 2.244 MB / 317.2 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.1784, allocations: 246.5 kB / 317.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003579/0.1819, allocations: 2.887 MB / 320.3 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/0.1843, allocations: 1.363 MB / 321.7 MB, free: 6.902 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1843, allocations: 4 kB / 321.7 MB, free: 6.898 MB / 266.7 MB Notification: Performance of Templates: time 0.044/0.2283, allocations: 44.15 MB / 365.9 MB, free: 10.2 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.3076559407636523]