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.001228/0.001228, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001208/0.001208, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.971/0.971, allocations: 177 MB / 205.9 MB, free: 4.461 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.202e-06/1.202e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.791e-05, allocations: 2.312 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002498/0.002516, allocations: 2.43 MB / 276.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.004522, allocations: 1.259 MB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.004667, allocations: 11.88 kB / 277.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.004844, allocations: 59.44 kB / 277.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.004981, allocations: 80.78 kB / 278 MB, free: 448 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.005485, allocations: 261 kB / 278.2 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001582/0.007068, allocations: 2.135 MB / 280.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.007634, allocations: 0.5498 MB / 280.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.009512, allocations: 2.465 MB / 283.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.01061, allocations: 1.166 MB / 284.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.01092, allocations: 216 kB / 284.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.01122, allocations: 216.7 kB / 284.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.0117, allocations: 0.6503 MB / 285.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006379/0.01234, allocations: 0.6099 MB / 286.2 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.01465, allocations: 3.193 MB / 289.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01465, allocations: 0 / 289.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.01465, allocations: 0 / 289.4 MB, free: 4.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.475e-05/0.01468, allocations: 0 / 289.4 MB, free: 4.945 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.002634/0.01731, allocations: 2.481 MB / 291.9 MB, free: 2.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.01735, allocations: 12.02 kB / 291.9 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.01784, allocations: 283.9 kB / 292.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.01874, allocations: 0.8503 MB / 293 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.297e-05/0.01881, allocations: 102.9 kB / 293.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.01903, allocations: 124.4 kB / 293.2 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.02088, allocations: 1.273 MB / 294.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.0209, allocations: 4.188 kB / 294.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.02106, allocations: 52.38 kB / 294.6 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.02108, allocations: 35.94 kB / 294.6 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.02212, allocations: 0.7254 MB / 295.3 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.02593, allocations: 3.388 MB / 298.7 MB, free: 11.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.02725, allocations: 1.003 MB / 299.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.02771, allocations: 357.1 kB / 300.1 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.02783, allocations: 25.31 kB / 300.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000846/0.02868, allocations: 0.8982 MB / 301 MB, free: 9.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.555e-06/0.02868, allocations: 0 / 301 MB, free: 9.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=128): time 0.002394/0.03108, allocations: 1.607 MB / 302.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.03112, allocations: 94.41 kB / 302.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007417/0.03186, allocations: 0.9203 MB / 303.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.03201, allocations: 93.66 kB / 303.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.03228, allocations: 0.5242 MB / 304.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.0326, allocations: 361.6 kB / 304.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007672/0.03337, allocations: 0.7977 MB / 305.4 MB, free: 4.652 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.03358, allocations: 0.6366 MB / 306 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.03405, allocations: 341.5 kB / 306.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.03465, allocations: 0.5834 MB / 306.9 MB, free: 3.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.03578, allocations: 0.9664 MB / 307.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.03578, allocations: 0 / 307.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002046/0.03783, allocations: 1.472 MB / 309.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.03787, allocations: 33.7 kB / 309.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.03787, allocations: 4 kB / 309.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.03789, allocations: 8 kB / 309.4 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.03826, allocations: 239.6 kB / 309.7 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.03828, allocations: 11.94 kB / 309.7 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.03872, allocations: 83.77 kB / 309.7 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00077/0.03949, allocations: 1.093 MB / 310.8 MB, free: 15.02 MB / 298.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.000741/0.04023, allocations: 449 kB / 311.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.04058, allocations: 159.3 kB / 311.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.04072, allocations: 118.3 kB / 311.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.04073, allocations: 16 kB / 311.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.04074, allocations: 0 / 311.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.04075, allocations: 3.984 kB / 311.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.04207, allocations: 0.9895 MB / 312.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.04208, allocations: 3.938 kB / 312.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.04239, allocations: 215.7 kB / 312.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.0424, allocations: 7.938 kB / 312.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/0.04259, allocations: 187.9 kB / 313 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.0426, allocations: 4 kB / 313 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.0426, allocations: 4 kB / 313 MB, free: 12.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.04465, allocations: 1.407 MB / 314.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.04538, allocations: 0.5204 MB / 314.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.04567, allocations: 119.8 kB / 315 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.04596, allocations: 51.98 kB / 315.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.04635, allocations: 277 kB / 315.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001056/0.0474, allocations: 1.085 MB / 316.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003222/0.04772, allocations: 414.9 kB / 316.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04772, allocations: 0 / 316.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001102/0.04883, allocations: 383.4 kB / 317.2 MB, free: 8.562 MB / 298.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.0003795/0.04921, allocations: 367.6 kB / 317.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.05084, allocations: 1.168 MB / 318.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.05084, allocations: 3.938 kB / 318.7 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008435/0.05169, allocations: 0.7341 MB / 319.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.0539, allocations: 1.259 MB / 320.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003156/0.05706, allocations: 2.244 MB / 323 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.05723, allocations: 250.4 kB / 323.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0049/0.06213, allocations: 2.879 MB / 326.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003225/0.06536, allocations: 1.371 MB / 327.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of SimCode: time 2.715e-06/0.06536, allocations: 0 / 327.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Templates: time 0.1698/0.2352, allocations: 44.49 MB / 372 MB, free: 79.96 MB / 330.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.7743017240427434]