Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009799/0.0009799, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.045/1.045, allocations: 177.2 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.77e-05, allocations: 6.25 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002422/0.00244, allocations: 2.479 MB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.004447, allocations: 1.259 MB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.004567, allocations: 7.938 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.004745, allocations: 71.3 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.004872, allocations: 75.25 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.005389, allocations: 251.6 kB / 277.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.006743, allocations: 2.135 MB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000558/0.007301, allocations: 0.5459 MB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.009103, allocations: 2.461 MB / 282.3 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.01023, allocations: 1.173 MB / 283.4 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.01064, allocations: 223.9 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.01096, allocations: 216 kB / 283.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.0114, allocations: 0.6464 MB / 284.5 MB, free: 5.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.01197, allocations: 0.6075 MB / 285.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.01387, allocations: 3.193 MB / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.01388, allocations: 0 / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01388, allocations: 0 / 288.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.091e-05/0.01391, allocations: 0 / 288.3 MB, free: 2.125 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.1196/0.1335, allocations: 2.475 MB / 290.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1335, allocations: 8.438 kB / 290.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007639/0.1343, allocations: 283.9 kB / 291.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.1354, allocations: 0.9133 MB / 292 MB, free: 24.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.1355, allocations: 99.45 kB / 292.1 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.1357, allocations: 127.6 kB / 292.2 MB, free: 24.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.1384, allocations: 1.365 MB / 293.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.1384, allocations: 1.094 kB / 293.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1386, allocations: 54.84 kB / 293.6 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.1386, allocations: 37.34 kB / 293.7 MB, free: 24.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.1404, allocations: 0.8283 MB / 294.5 MB, free: 24.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.1452, allocations: 3.746 MB / 298.2 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.1468, allocations: 1.076 MB / 299.3 MB, free: 22.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005823/0.1474, allocations: 400.8 kB / 299.7 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.1475, allocations: 21.94 kB / 299.7 MB, free: 22.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.1486, allocations: 0.9468 MB / 300.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.086e-06/0.1486, allocations: 0.7188 kB / 300.7 MB, free: 22.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002331/0.1509, allocations: 1.722 MB / 302.4 MB, free: 21.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1509, allocations: 95.33 kB / 302.5 MB, free: 21.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007076/0.1516, allocations: 0.9248 MB / 303.4 MB, free: 20.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.1518, allocations: 97.66 kB / 303.5 MB, free: 20.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.152, allocations: 0.5173 MB / 304 MB, free: 19.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.1522, allocations: 358.9 kB / 304.4 MB, free: 19.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006961/0.1529, allocations: 0.8003 MB / 305.2 MB, free: 18.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1531, allocations: 0.6289 MB / 305.8 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.1536, allocations: 389.5 kB / 306.2 MB, free: 17.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.1542, allocations: 0.6265 MB / 306.8 MB, free: 17.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1554, allocations: 1.042 MB / 307.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1554, allocations: 7.938 kB / 307.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001739/0.1571, allocations: 1.561 MB / 309.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.1571, allocations: 30.33 kB / 309.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1571, allocations: 4 kB / 309.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.1572, allocations: 12 kB / 309.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.1574, allocations: 239.5 kB / 309.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.1574, allocations: 14.73 kB / 309.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.1578, allocations: 90.11 kB / 309.8 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/0.1583, allocations: 1.097 MB / 310.9 MB, free: 12.9 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.0004574/0.1587, allocations: 462.7 kB / 311.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.159, allocations: 155.3 kB / 311.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.1591, allocations: 125.2 kB / 311.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.1591, allocations: 12 kB / 311.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.1591, allocations: 0 / 311.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.1591, allocations: 3.984 kB / 311.6 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1604, allocations: 1.275 MB / 312.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1604, allocations: 7.938 kB / 312.9 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.1606, allocations: 215.7 kB / 313.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1606, allocations: 4 kB / 313.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.1608, allocations: 187.9 kB / 313.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1608, allocations: 8.031 kB / 313.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1608, allocations: 0 / 313.3 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.1625, allocations: 1.493 MB / 314.8 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.1631, allocations: 0.5438 MB / 315.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.1633, allocations: 111.9 kB / 315.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.1636, allocations: 55.97 kB / 315.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.1639, allocations: 324.9 kB / 315.8 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005143/0.1645, allocations: 1.096 MB / 316.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000288/0.1647, allocations: 443 kB / 317.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1647, allocations: 0 / 317.4 MB, free: 6.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006548/0.1654, allocations: 388.6 kB / 317.8 MB, free: 6.027 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.0003058/0.1657, allocations: 363.8 kB / 318.1 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.1671, allocations: 1.273 MB / 319.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1671, allocations: 0 / 319.4 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007116/0.1678, allocations: 0.7732 MB / 320.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.1696, allocations: 1.268 MB / 321.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1717, allocations: 2.305 MB / 323.7 MB, free: 64 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.1719, allocations: 246.4 kB / 324 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.003939/0.1758, allocations: 3.265 MB / 327.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/0.1775, allocations: 0.967 MB / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1775, allocations: 0 / 328.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Templates: time 0.0384/0.2159, allocations: 43.37 MB / 371.6 MB, free: 15.58 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5836765598505735]