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.001175/0.001175, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001227/0.001227, allocations: 141.5 kB / 24.97 MB, free: 8.766 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.016/1.016, allocations: 173.3 MB / 201.5 MB, free: 9.359 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.503e-06/1.503e-06, allocations: 3.938 kB / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.96e-05/2.11e-05, allocations: 2.312 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002515/0.002536, allocations: 2.446 MB / 270.5 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.004787, allocations: 1.232 MB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.004955, allocations: 15.88 kB / 271.8 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.005138, allocations: 67.36 kB / 271.8 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.005281, allocations: 79.23 kB / 271.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.005878, allocations: 255.6 kB / 272.2 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.007341, allocations: 2.127 MB / 274.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.008057, allocations: 0.5421 MB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.01015, allocations: 2.473 MB / 277.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.01125, allocations: 1.173 MB / 278.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005831/0.01184, allocations: 216 kB / 278.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.01213, allocations: 216 kB / 278.9 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000482/0.01262, allocations: 0.6502 MB / 279.5 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.01322, allocations: 0.6037 MB / 280.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.01521, allocations: 3.185 MB / 283.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01521, allocations: 0 / 283.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01521, allocations: 0 / 283.3 MB, free: 7.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.023e-05/0.01524, allocations: 4 kB / 283.3 MB, free: 7.414 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.002949/0.01819, allocations: 2.478 MB / 285.8 MB, free: 4.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.01823, allocations: 8.031 kB / 285.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004901/0.01872, allocations: 283.9 kB / 286.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000957/0.01968, allocations: 0.9206 MB / 287 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.848e-05/0.01976, allocations: 98.89 kB / 287.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.01996, allocations: 124.4 kB / 287.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.02191, allocations: 1.367 MB / 288.6 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.02193, allocations: 12.11 kB / 288.6 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.02209, allocations: 52.38 kB / 288.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.02211, allocations: 35.94 kB / 288.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.02364, allocations: 0.8284 MB / 289.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1241/0.1477, allocations: 3.729 MB / 293.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.1499, allocations: 1.075 MB / 294.3 MB, free: 26.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.1506, allocations: 396.2 kB / 294.7 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.1508, allocations: 22.47 kB / 294.7 MB, free: 26.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/0.1522, allocations: 0.9452 MB / 295.7 MB, free: 26.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.398e-06/0.1522, allocations: 0 / 295.7 MB, free: 26.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.003045/0.1552, allocations: 1.722 MB / 297.4 MB, free: 26.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1553, allocations: 96.64 kB / 297.5 MB, free: 25.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1564, allocations: 0.9315 MB / 298.4 MB, free: 25.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.1565, allocations: 98.92 kB / 298.5 MB, free: 25.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.1568, allocations: 0.5148 MB / 299 MB, free: 25.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.1572, allocations: 354.8 kB / 299.4 MB, free: 24.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/0.1582, allocations: 0.8014 MB / 300.2 MB, free: 24.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.1584, allocations: 0.6304 MB / 300.8 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/0.1591, allocations: 387.8 kB / 301.2 MB, free: 24.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007384/0.1598, allocations: 0.6368 MB / 301.8 MB, free: 23.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.1611, allocations: 1.041 MB / 302.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1611, allocations: 0 / 302.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002048/0.1632, allocations: 1.558 MB / 304.4 MB, free: 23.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1632, allocations: 41.88 kB / 304.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1632, allocations: 4.484 kB / 304.5 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.1633, allocations: 18.12 kB / 304.5 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.1635, allocations: 238.4 kB / 304.7 MB, free: 22.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.1636, allocations: 8 kB / 304.7 MB, free: 22.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.164, allocations: 87.33 kB / 304.8 MB, free: 22.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005274/0.1645, allocations: 1.096 MB / 305.9 MB, free: 21.68 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.0006769/0.1652, allocations: 465 kB / 306.4 MB, free: 21.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.1655, allocations: 155.3 kB / 306.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1656, allocations: 118 kB / 306.6 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1656, allocations: 17.03 kB / 306.7 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.06e-05/0.1657, allocations: 0 / 306.7 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1657, allocations: 3.844 kB / 306.7 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1671, allocations: 1.277 MB / 307.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.1671, allocations: 0 / 307.9 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1674, allocations: 218.3 kB / 308.2 MB, free: 19.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.1674, allocations: 11.17 kB / 308.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.1675, allocations: 183.9 kB / 308.3 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.1675, allocations: 4 kB / 308.4 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1675, allocations: 11.5 kB / 308.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1693, allocations: 1.477 MB / 309.8 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.1699, allocations: 0.545 MB / 310.4 MB, free: 17.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.1702, allocations: 115.9 kB / 310.5 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.1705, allocations: 55.97 kB / 310.6 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/0.1709, allocations: 328.8 kB / 310.9 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005989/0.1715, allocations: 1.1 MB / 312 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003535/0.1719, allocations: 439 kB / 312.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1719, allocations: 0 / 312.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001074/0.1729, allocations: 384.2 kB / 312.8 MB, free: 15.04 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.0003594/0.1733, allocations: 366.4 kB / 313.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1749, allocations: 1.271 MB / 314.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1749, allocations: 0 / 314.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.1757, allocations: 0.7718 MB / 315.2 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.1777, allocations: 1.257 MB / 316.4 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.1808, allocations: 2.306 MB / 318.7 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.181, allocations: 242.5 kB / 319 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.004773/0.1857, allocations: 3.269 MB / 322.2 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/0.1878, allocations: 0.967 MB / 323.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of SimCode: time 2.013e-06/0.1878, allocations: 0 / 323.2 MB, free: 4.598 MB / 266.7 MB Notification: Performance of Templates: time 0.04193/0.2297, allocations: 41.98 MB / 365.2 MB, free: 10.04 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.477846252033487]