Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001395/0.001395, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 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.001619/0.001619, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5599,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2862, allocations: 53.37 MB / 432.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004349/0.2906, allocations: 2.629 MB / 435 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.2937, allocations: 1.278 MB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.2939, allocations: 11.88 kB / 436.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.2942, allocations: 71.36 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.2944, allocations: 75.3 kB / 436.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.2951, allocations: 239.7 kB / 436.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.2974, allocations: 2.104 MB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009436/0.2984, allocations: 0.4991 MB / 439.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.3011, allocations: 2.133 MB / 441.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3032, allocations: 1.121 MB / 442.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005664/0.3038, allocations: 216 kB / 442.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.3042, allocations: 216 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007777/0.305, allocations: 0.6348 MB / 443.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.3064, allocations: 0.9018 MB / 444.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.311, allocations: 4.409 MB / 448.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.311, allocations: 3.984 kB / 448.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3111, allocations: 0 / 448.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.664e-05/0.3111, allocations: 0 / 448.9 MB, free: 6.324 MB / 350.1 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.005521/0.3167, allocations: 2.272 MB / 451.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.3167, allocations: 15.97 kB / 451.2 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.3172, allocations: 171.9 kB / 451.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.3195, allocations: 1.012 MB / 452.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.3196, allocations: 98.91 kB / 452.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.32, allocations: 120.4 kB / 452.6 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004712/0.3247, allocations: 2.293 MB / 454.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.3247, allocations: 7.938 kB / 454.9 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.3249, allocations: 55.98 kB / 455 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.325, allocations: 28 kB / 455 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.3295, allocations: 1.981 MB / 457 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/0.3398, allocations: 4.773 MB / 461.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.3442, allocations: 1.789 MB / 463.5 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3458, allocations: 0.723 MB / 464.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/0.346, allocations: 13.31 kB / 464.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/0.3485, allocations: 1.352 MB / 465.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.887e-06/0.3485, allocations: 0 / 465.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.006033/0.3545, allocations: 2.681 MB / 468.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.3546, allocations: 90.42 kB / 468.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3564, allocations: 0.9411 MB / 469.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003207/0.3567, allocations: 101.7 kB / 469.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.3573, allocations: 478.2 kB / 469.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005146/0.3578, allocations: 321.7 kB / 470.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.359, allocations: 0.6751 MB / 470.9 MB, free: 96 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003283/0.3593, allocations: 406.7 kB / 471.3 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.3612, allocations: 0.8627 MB / 472.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.3632, allocations: 1.047 MB / 473.2 MB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003755/0.3669, allocations: 1.949 MB / 475.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.3669, allocations: 8 kB / 475.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005318/0.3722, allocations: 2.404 MB / 477.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.3723, allocations: 36.52 kB / 477.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.3723, allocations: 4 kB / 477.6 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.3724, allocations: 8 kB / 477.6 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/0.373, allocations: 227.6 kB / 477.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.373, allocations: 12 kB / 477.8 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.3737, allocations: 83.72 kB / 477.9 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/0.3752, allocations: 1.085 MB / 479 MB, free: 7.859 MB / 382.1 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.001767/0.3769, allocations: 0.904 MB / 479.9 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.3773, allocations: 107.3 kB / 480 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.3777, allocations: 134.3 kB / 480.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.3777, allocations: 12 kB / 480.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.3777, allocations: 0 / 480.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.3778, allocations: 11.91 kB / 480.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.3806, allocations: 1.738 MB / 481.9 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.3806, allocations: 0 / 481.9 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.3812, allocations: 207.7 kB / 482.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.3812, allocations: 4 kB / 482.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003917/0.3816, allocations: 175.9 kB / 482.3 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.3816, allocations: 12 kB / 482.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3816, allocations: 0 / 482.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.3859, allocations: 2.038 MB / 484.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/0.3875, allocations: 0.5985 MB / 484.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005354/0.3881, allocations: 131.9 kB / 485.1 MB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.3886, allocations: 47.97 kB / 485.1 MB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008491/0.3895, allocations: 332.9 kB / 485.4 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001386/0.3909, allocations: 1.089 MB / 486.5 MB, free: 244 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.392, allocations: 0.5966 MB / 487.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 487.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00176/0.3938, allocations: 375.4 kB / 487.5 MB, free: 15.27 MB / 398.1 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.0006935/0.3944, allocations: 367.7 kB / 487.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004529/0.399, allocations: 1.986 MB / 489.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.399, allocations: 4 kB / 489.8 MB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.4013, allocations: 1.049 MB / 490.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/0.4055, allocations: 1.073 MB / 492 MB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.4122, allocations: 2.903 MB / 494.9 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.4138, allocations: 1.316 MB / 496.2 MB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.009446/0.4233, allocations: 3.37 MB / 499.6 MB, free: 3.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005405/0.4287, allocations: 0.9269 MB / 0.4888 GB, free: 2.266 MB / 398.1 MB Notification: Performance of SimCode: time 2.304e-06/0.4287, allocations: 0 / 0.4888 GB, free: 2.266 MB / 398.1 MB Notification: Performance of Templates: time 0.07025/0.4989, allocations: 41.27 MB / 0.5291 GB, free: 8.211 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.847138075158]