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.0009437/0.0009437, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009646/0.0009646, allocations: 170.3 kB / 24.91 MB, free: 9.195 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 0.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.442e-06/1.442e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.163e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003599/0.003621, allocations: 2.494 MB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.006335, allocations: 1.27 MB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.006485, allocations: 19.81 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.006788, allocations: 67.44 kB / 277.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.00697, allocations: 75.25 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.007598, allocations: 255.5 kB / 277.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.009388, allocations: 2.131 MB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007398/0.01013, allocations: 0.5537 MB / 280.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.0128, allocations: 2.438 MB / 282.8 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.0142, allocations: 1.173 MB / 284 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.01462, allocations: 219.9 kB / 284.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.01495, allocations: 220 kB / 284.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.01552, allocations: 0.6386 MB / 285 MB, free: 5.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006745/0.01619, allocations: 0.6075 MB / 285.6 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.01901, allocations: 3.193 MB / 288.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.01902, allocations: 0 / 288.8 MB, free: 1.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01902, allocations: 4 kB / 288.8 MB, free: 1.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.718e-05/0.01904, allocations: 0 / 288.8 MB, free: 1.844 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.1121/0.1311, allocations: 1.979 MB / 290.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1312, allocations: 10.12 kB / 290.8 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/0.1321, allocations: 226.8 kB / 291 MB, free: 24.87 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1333, allocations: 0.7506 MB / 291.8 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.362e-05/0.1334, allocations: 98.22 kB / 291.9 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.1337, allocations: 128 kB / 292 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.136, allocations: 1.08 MB / 293.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.136, allocations: 1.281 kB / 293.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.1362, allocations: 56.06 kB / 293.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.651e-05/0.1362, allocations: 37.47 kB / 293.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1375, allocations: 435.1 kB / 293.6 MB, free: 24.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.1422, allocations: 2.569 MB / 296.2 MB, free: 23.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.1437, allocations: 0.6882 MB / 296.9 MB, free: 23.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.1442, allocations: 233 kB / 297.1 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.1444, allocations: 24.14 kB / 297.1 MB, free: 23.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.1454, allocations: 0.6574 MB / 297.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.889e-06/0.1454, allocations: 0 / 297.8 MB, free: 23.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.001969/0.1474, allocations: 0.8043 MB / 298.6 MB, free: 23.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1475, allocations: 92.92 kB / 298.7 MB, free: 23.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.148, allocations: 0.644 MB / 299.3 MB, free: 22.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.1482, allocations: 102.4 kB / 299.4 MB, free: 22.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1484, allocations: 399.7 kB / 299.8 MB, free: 22.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.1487, allocations: 320.5 kB / 300.1 MB, free: 22.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007735/0.1495, allocations: 458.1 kB / 300.6 MB, free: 22.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.1496, allocations: 409.3 kB / 301 MB, free: 21.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/0.1502, allocations: 202.7 kB / 301.2 MB, free: 21.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.1507, allocations: 396.2 kB / 301.5 MB, free: 21.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.152, allocations: 0.758 MB / 302.3 MB, free: 21.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.152, allocations: 1.281 kB / 302.3 MB, free: 21.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.001648/0.1537, allocations: 0.7621 MB / 303.1 MB, free: 20.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.1537, allocations: 35.86 kB / 303.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1537, allocations: 3.25 kB / 303.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.1538, allocations: 9.312 kB / 303.1 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/0.1543, allocations: 192.9 kB / 303.3 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1543, allocations: 12.47 kB / 303.3 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.1548, allocations: 87.95 kB / 303.4 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006897/0.1555, allocations: 0.9792 MB / 304.4 MB, free: 20.06 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.0006943/0.1562, allocations: 410.9 kB / 304.8 MB, free: 19.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.1565, allocations: 123.8 kB / 304.9 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.1566, allocations: 118.3 kB / 305 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1566, allocations: 12 kB / 305 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.1566, allocations: 0 / 305 MB, free: 19.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1567, allocations: 7.984 kB / 305 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1577, allocations: 0.718 MB / 305.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.1577, allocations: 0 / 305.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.1581, allocations: 159.6 kB / 305.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1581, allocations: 4 kB / 305.9 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.1583, allocations: 79.33 kB / 306 MB, free: 18.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1583, allocations: 4 kB / 306 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1583, allocations: 0 / 306 MB, free: 18.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1596, allocations: 0.6738 MB / 306.7 MB, free: 17.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.1601, allocations: 367 kB / 307 MB, free: 17.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.1604, allocations: 115.9 kB / 307.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.1607, allocations: 55.97 kB / 307.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004378/0.1612, allocations: 165 kB / 307.4 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006722/0.1619, allocations: 0.9754 MB / 308.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1621, allocations: 255.1 kB / 308.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 308.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001029/0.1631, allocations: 391.9 kB / 309 MB, free: 15.45 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.0004226/0.1635, allocations: 344.2 kB / 309.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.165, allocations: 0.7687 MB / 310.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.165, allocations: 12 kB / 310.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.1658, allocations: 463.8 kB / 310.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.1679, allocations: 1.142 MB / 311.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.1706, allocations: 2.143 MB / 313.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.1707, allocations: 246.3 kB / 314.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.003673/0.1744, allocations: 2.879 MB / 316.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002368/0.1768, allocations: 1.283 MB / 318.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1768, allocations: 0 / 318.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of Templates: time 0.05058/0.2274, allocations: 43.94 MB / 362.2 MB, free: 9.664 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 -s gbode -gbm=radauIIA3 -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.392780513036996]