Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009548/0.0009548, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9368/0.9368, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.529e-05, allocations: 9.125 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002631/0.002656, allocations: 2.465 MB / 275.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.004868, allocations: 1.27 MB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.005018, allocations: 11.94 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.005209, allocations: 67.36 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.005355, allocations: 79.25 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.005962, allocations: 251.6 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001397/0.007358, allocations: 2.135 MB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007267/0.008085, allocations: 0.542 MB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/0.01029, allocations: 2.461 MB / 282.2 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.01165, allocations: 1.169 MB / 283.4 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005575/0.01221, allocations: 220 kB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.01258, allocations: 216 kB / 283.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.01317, allocations: 0.6502 MB / 284.4 MB, free: 5.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009364/0.0141, allocations: 0.6076 MB / 285 MB, free: 5.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.01665, allocations: 3.189 MB / 288.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.01666, allocations: 4 kB / 288.2 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.01667, allocations: 0 / 288.2 MB, free: 2.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.424e-05/0.01676, allocations: 0 / 288.2 MB, free: 2.055 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.1159/0.1327, allocations: 2.469 MB / 290.7 MB, free: 24.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1327, allocations: 13.55 kB / 290.7 MB, free: 24.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008456/0.1336, allocations: 282.3 kB / 291 MB, free: 24.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.135, allocations: 0.9214 MB / 291.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.1351, allocations: 98.05 kB / 292 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/0.1354, allocations: 125.4 kB / 292.1 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.1383, allocations: 1.37 MB / 293.5 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1383, allocations: 0.8125 kB / 293.5 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002143/0.1385, allocations: 56.88 kB / 293.6 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.1386, allocations: 36.39 kB / 293.6 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.1407, allocations: 0.8258 MB / 294.4 MB, free: 24.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006102/0.1468, allocations: 3.746 MB / 298.2 MB, free: 22.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.149, allocations: 1.075 MB / 299.2 MB, free: 22.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.1498, allocations: 393.5 kB / 299.6 MB, free: 22.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.15, allocations: 21.28 kB / 299.6 MB, free: 22.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.1514, allocations: 0.9507 MB / 300.6 MB, free: 22.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.027e-06/0.1514, allocations: 0 / 300.6 MB, free: 22.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=128): time 0.003223/0.1546, allocations: 1.723 MB / 302.3 MB, free: 21.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1546, allocations: 94.41 kB / 302.4 MB, free: 21.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.1556, allocations: 0.9287 MB / 303.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.1558, allocations: 94.91 kB / 303.4 MB, free: 20.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.156, allocations: 0.5217 MB / 304 MB, free: 19.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003403/0.1563, allocations: 356.5 kB / 304.3 MB, free: 19.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000976/0.1573, allocations: 0.8002 MB / 305.1 MB, free: 18.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1575, allocations: 0.6328 MB / 305.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.1583, allocations: 381.5 kB / 306.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.1592, allocations: 0.6342 MB / 306.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.1608, allocations: 1.043 MB / 307.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1608, allocations: 5.469 kB / 307.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00249/0.1633, allocations: 1.553 MB / 309.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1633, allocations: 41.53 kB / 309.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1633, allocations: 4 kB / 309.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.1634, allocations: 10.91 kB / 309.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.1638, allocations: 239.5 kB / 309.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.1638, allocations: 12.84 kB / 309.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.1643, allocations: 92.33 kB / 309.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007203/0.165, allocations: 1.093 MB / 310.8 MB, free: 12.77 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.0006866/0.1657, allocations: 459.6 kB / 311.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.166, allocations: 155.3 kB / 311.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1662, allocations: 118.3 kB / 311.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.1662, allocations: 16 kB / 311.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1662, allocations: 3.984 kB / 311.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1662, allocations: 5.141 kB / 311.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.1677, allocations: 1.271 MB / 312.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.1677, allocations: 3.938 kB / 312.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.1681, allocations: 219.1 kB / 313.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1681, allocations: 8 kB / 313.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.1683, allocations: 183.9 kB / 313.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.1683, allocations: 7.625 kB / 313.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1683, allocations: 0 / 313.3 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.1706, allocations: 1.485 MB / 314.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007597/0.1713, allocations: 0.5477 MB / 315.3 MB, free: 8.285 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.1716, allocations: 120 kB / 315.4 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.172, allocations: 55.97 kB / 315.5 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/0.1725, allocations: 320.9 kB / 315.8 MB, free: 7.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006895/0.1732, allocations: 1.093 MB / 316.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003973/0.1735, allocations: 443 kB / 317.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1735, allocations: 3.938 kB / 317.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009646/0.1745, allocations: 392.8 kB / 317.7 MB, free: 5.91 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.000386/0.1749, allocations: 363.1 kB / 318 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.1769, allocations: 1.277 MB / 319.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1769, allocations: 0 / 319.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.1779, allocations: 0.7772 MB / 320.1 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.1804, allocations: 1.252 MB / 321.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.1833, allocations: 2.298 MB / 323.6 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1836, allocations: 250.3 kB / 323.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.005316/0.1889, allocations: 3.265 MB / 327.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/0.1907, allocations: 0.9592 MB / 328.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.1907, allocations: 0 / 328.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of Templates: time 0.03959/0.2302, allocations: 41.97 MB / 370.1 MB, free: 0.7969 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.481265258975327]