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.001427/0.001427, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001161/0.001161, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.456e-05, allocations: 6.25 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005343/0.005357, allocations: 2.44 MB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003001/0.008358, allocations: 1.259 MB / 277.1 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.008709, allocations: 7.938 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.009117, allocations: 67.42 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.009401, allocations: 71.25 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.01006, allocations: 263.5 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.01145, allocations: 2.135 MB / 279.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005778/0.01202, allocations: 0.5381 MB / 280.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.0138, allocations: 2.469 MB / 282.6 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009158/0.01472, allocations: 1.173 MB / 283.8 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.01503, allocations: 220 kB / 284 MB, free: 6.582 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.01533, allocations: 216 kB / 284.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003976/0.01573, allocations: 0.6463 MB / 284.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.01618, allocations: 0.6036 MB / 285.5 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.01801, allocations: 3.193 MB / 288.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01801, allocations: 0 / 288.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01801, allocations: 0 / 288.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.01803, allocations: 4 kB / 288.7 MB, free: 1.91 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.1207/0.1388, allocations: 2.472 MB / 291.2 MB, free: 24.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1388, allocations: 9.734 kB / 291.2 MB, free: 24.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.1395, allocations: 286.3 kB / 291.4 MB, free: 24.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1408, allocations: 0.8488 MB / 292.3 MB, free: 24.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.1409, allocations: 96.92 kB / 292.4 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.1412, allocations: 127.1 kB / 292.5 MB, free: 24.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.1436, allocations: 1.277 MB / 293.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.1436, allocations: 0.75 kB / 293.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.1438, allocations: 55.31 kB / 293.8 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.827e-05/0.1438, allocations: 36.25 kB / 293.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001581/0.1454, allocations: 0.7177 MB / 294.6 MB, free: 24.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005199/0.1506, allocations: 3.408 MB / 298 MB, free: 23.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.1526, allocations: 0.998 MB / 299 MB, free: 22.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007283/0.1533, allocations: 363.5 kB / 299.4 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.1535, allocations: 25.38 kB / 299.4 MB, free: 22.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.1548, allocations: 0.8997 MB / 300.3 MB, free: 22.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.867e-06/0.1548, allocations: 0 / 300.3 MB, free: 22.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.003205/0.158, allocations: 1.609 MB / 301.9 MB, free: 22.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.158, allocations: 98.03 kB / 302 MB, free: 22.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.1589, allocations: 0.9184 MB / 302.9 MB, free: 21.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.1592, allocations: 96.12 kB / 303 MB, free: 21.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.1594, allocations: 0.5262 MB / 303.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.1598, allocations: 357.2 kB / 303.9 MB, free: 20.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.1609, allocations: 0.801 MB / 304.7 MB, free: 19.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.1611, allocations: 0.6345 MB / 305.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.1617, allocations: 337.5 kB / 305.6 MB, free: 18.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000813/0.1626, allocations: 0.587 MB / 306.2 MB, free: 18.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.1641, allocations: 0.9607 MB / 307.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1641, allocations: 0 / 307.2 MB, free: 17.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00244/0.1666, allocations: 1.461 MB / 308.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.1666, allocations: 41.69 kB / 308.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1666, allocations: 7.531 kB / 308.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.1666, allocations: 8 kB / 308.7 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.167, allocations: 239.5 kB / 308.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.167, allocations: 12 kB / 308.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004678/0.1675, allocations: 79.77 kB / 309 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007237/0.1682, allocations: 1.089 MB / 310.1 MB, free: 14.13 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.0004502/0.1687, allocations: 449.2 kB / 310.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.1689, allocations: 163.2 kB / 310.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.169, allocations: 118.3 kB / 310.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.169, allocations: 12 kB / 310.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.169, allocations: 4 kB / 310.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.169, allocations: 3.984 kB / 310.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.1699, allocations: 0.9873 MB / 311.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.1699, allocations: 0.6562 kB / 311.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.1701, allocations: 219.7 kB / 312.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1701, allocations: 4 kB / 312.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.1703, allocations: 191.8 kB / 312.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1703, allocations: 4 kB / 312.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1703, allocations: 7.625 kB / 312.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1716, allocations: 1.402 MB / 313.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.1721, allocations: 0.5204 MB / 314.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.1723, allocations: 119.9 kB / 314.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1726, allocations: 51.98 kB / 314.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.1728, allocations: 277 kB / 314.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004907/0.1733, allocations: 1.089 MB / 315.7 MB, free: 8.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1735, allocations: 418.8 kB / 316.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1735, allocations: 0 / 316.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006744/0.1742, allocations: 388.8 kB / 316.5 MB, free: 7.727 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.0002683/0.1745, allocations: 363.1 kB / 316.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.1756, allocations: 1.176 MB / 318 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1756, allocations: 0 / 318 MB, free: 6.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005919/0.1761, allocations: 0.7263 MB / 318.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.1784, allocations: 1.256 MB / 320 MB, free: 4.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.1804, allocations: 2.255 MB / 322.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.1805, allocations: 250.3 kB / 322.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003606/0.1842, allocations: 2.883 MB / 325.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/0.1868, allocations: 1.367 MB / 326.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1868, allocations: 0 / 326.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of Templates: time 0.04139/0.2282, allocations: 44.14 MB / 370.9 MB, free: 0.75 MB / 314.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.4387055533006787]