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.001256/0.001256, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001447/0.001447, allocations: 165.5 kB / 24.99 MB, free: 8.742 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.637 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 2.044e-06/2.044e-06, allocations: 0 / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.142e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003128/0.00316, allocations: 2.472 MB / 275.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.005271, allocations: 1.251 MB / 276.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.005424, allocations: 11.94 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.005658, allocations: 71.3 kB / 276.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.005802, allocations: 71.27 kB / 276.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.006441, allocations: 259.6 kB / 277.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.007915, allocations: 2.127 MB / 279.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006779/0.008593, allocations: 0.5497 MB / 279.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.01083, allocations: 2.469 MB / 282.3 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.01228, allocations: 1.173 MB / 283.5 MB, free: 7.348 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004715/0.01275, allocations: 216 kB / 283.7 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.01306, allocations: 216 kB / 283.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005942/0.01365, allocations: 0.6425 MB / 284.6 MB, free: 6.281 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.01443, allocations: 0.6113 MB / 285.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.01705, allocations: 3.193 MB / 288.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.01705, allocations: 0 / 288.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01705, allocations: 0 / 288.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.243e-05/0.01709, allocations: 0 / 288.4 MB, free: 2.465 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.1187/0.1358, allocations: 2.474 MB / 290.8 MB, free: 26.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1358, allocations: 9.844 kB / 290.8 MB, free: 26.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009807/0.1368, allocations: 282.8 kB / 291.1 MB, free: 26.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.138, allocations: 0.9157 MB / 292 MB, free: 26.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.138, allocations: 98.34 kB / 292.1 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.1383, allocations: 123.9 kB / 292.3 MB, free: 26.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.1407, allocations: 1.364 MB / 293.6 MB, free: 26.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.1407, allocations: 1.938 kB / 293.6 MB, free: 26.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.1409, allocations: 55.28 kB / 293.7 MB, free: 26.26 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.1409, allocations: 32.23 kB / 293.7 MB, free: 26.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.1427, allocations: 0.8364 MB / 294.5 MB, free: 26.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005278/0.148, allocations: 3.746 MB / 298.3 MB, free: 24.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1499, allocations: 1.07 MB / 299.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006619/0.1505, allocations: 401.9 kB / 299.8 MB, free: 24.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.1507, allocations: 25.94 kB / 299.8 MB, free: 24.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.1518, allocations: 0.9474 MB / 300.7 MB, free: 23.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.107e-06/0.1518, allocations: 0 / 300.7 MB, free: 23.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.002583/0.1544, allocations: 1.724 MB / 302.5 MB, free: 22.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1545, allocations: 94.42 kB / 302.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/0.1553, allocations: 0.9254 MB / 303.5 MB, free: 21.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.1554, allocations: 102.5 kB / 303.6 MB, free: 21.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1556, allocations: 0.5122 MB / 304.1 MB, free: 21.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.1559, allocations: 360 kB / 304.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007645/0.1567, allocations: 0.8018 MB / 305.2 MB, free: 20.15 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1568, allocations: 0.6289 MB / 305.9 MB, free: 19.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/0.1574, allocations: 389.5 kB / 306.2 MB, free: 19.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/0.158, allocations: 0.6282 MB / 306.9 MB, free: 18.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.1592, allocations: 1.048 MB / 307.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.1592, allocations: 0 / 307.9 MB, free: 17.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001926/0.1611, allocations: 1.559 MB / 309.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.1612, allocations: 37.7 kB / 309.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1612, allocations: 0 / 309.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/0.1612, allocations: 12 kB / 309.5 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1615, allocations: 239.5 kB / 309.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.1615, allocations: 15.52 kB / 309.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.162, allocations: 87.58 kB / 309.9 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005718/0.1626, allocations: 1.097 MB / 311 MB, free: 14.29 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.0006755/0.1632, allocations: 450.5 kB / 311.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/0.1635, allocations: 161.8 kB / 311.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.1637, allocations: 122.3 kB / 311.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1637, allocations: 12 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1637, allocations: 2.938 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1637, allocations: 3.984 kB / 311.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1649, allocations: 1.274 MB / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.1649, allocations: 0 / 313 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.1652, allocations: 223.7 kB / 313.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.1652, allocations: 4 kB / 313.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.1653, allocations: 187.8 kB / 313.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/0.1653, allocations: 8 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1653, allocations: 0 / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.167, allocations: 1.489 MB / 314.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.1675, allocations: 0.5477 MB / 315.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.1678, allocations: 115.9 kB / 315.5 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.168, allocations: 55.97 kB / 315.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/0.1684, allocations: 320.9 kB / 315.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005239/0.1689, allocations: 1.096 MB / 317 MB, free: 8.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002912/0.1692, allocations: 443 kB / 317.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1692, allocations: 0 / 317.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007904/0.17, allocations: 387.9 kB / 317.8 MB, free: 7.438 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.0003013/0.1703, allocations: 371.5 kB / 318.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.1718, allocations: 1.27 MB / 319.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1718, allocations: 0 / 319.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.1729, allocations: 0.7732 MB / 320.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.1755, allocations: 1.259 MB / 321.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.1787, allocations: 2.307 MB / 323.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.179, allocations: 246.4 kB / 324 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0055/0.1845, allocations: 3.265 MB / 327.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/0.187, allocations: 0.9631 MB / 328.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/0.187, allocations: 0 / 328.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of Templates: time 0.04775/0.2348, allocations: 41.99 MB / 370.2 MB, free: 2.383 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.500974009046331]