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.00156/0.00156, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.001843/0.001843, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.488/1.488, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.89 kB / 374.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1038, allocations: 53.31 MB / 427.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004061/0.1079, allocations: 2.622 MB / 430.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.1107, allocations: 1.286 MB / 431.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1108, allocations: 7.938 kB / 431.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.111, allocations: 67.36 kB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1112, allocations: 67.33 kB / 431.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006164/0.1118, allocations: 239.6 kB / 432.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1985/0.3103, allocations: 2.068 MB / 434.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.3113, allocations: 0.7235 MB / 434.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.3138, allocations: 2.115 MB / 437 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.3157, allocations: 1.113 MB / 438.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009211/0.3166, allocations: 217.1 kB / 438.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009032/0.3175, allocations: 217 kB / 438.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.3187, allocations: 0.6376 MB / 439.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.32, allocations: 0.896 MB / 440.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.3246, allocations: 4.408 MB / 444.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3246, allocations: 1.156 kB / 444.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3246, allocations: 0 / 444.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.876e-05/0.3247, allocations: 0 / 444.5 MB, free: 5.684 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.005224/0.3299, allocations: 2.356 MB / 446.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.33, allocations: 9.469 kB / 446.9 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.3306, allocations: 174.4 kB / 447 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.3322, allocations: 1.065 MB / 448.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.247e-05/0.3322, allocations: 97.19 kB / 448.2 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.3326, allocations: 120.2 kB / 448.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/0.3367, allocations: 2.29 MB / 450.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.3367, allocations: 7.875 kB / 450.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.337, allocations: 49.72 kB / 450.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.337, allocations: 31 kB / 450.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.341, allocations: 1.979 MB / 452.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009233/0.3502, allocations: 4.812 MB / 457.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.3544, allocations: 1.793 MB / 459.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3561, allocations: 0.7278 MB / 460 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.3564, allocations: 14.22 kB / 460 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002497/0.3589, allocations: 1.354 MB / 461.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.336e-06/0.3589, allocations: 4 kB / 461.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005723/0.3646, allocations: 2.667 MB / 464 MB, free: 11.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3647, allocations: 91.8 kB / 464.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.3663, allocations: 0.9544 MB / 465.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/0.3666, allocations: 105.6 kB / 465.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/0.3671, allocations: 474.2 kB / 465.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000529/0.3677, allocations: 320.3 kB / 466 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.369, allocations: 0.6673 MB / 466.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.3692, allocations: 406.7 kB / 467 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.3711, allocations: 0.8724 MB / 467.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.373, allocations: 1.035 MB / 468.9 MB, free: 6.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/0.3767, allocations: 1.952 MB / 470.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3768, allocations: 7.938 kB / 470.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004988/0.3817, allocations: 2.402 MB / 473.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.3818, allocations: 33.7 kB / 473.3 MB, free: 2.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.3818, allocations: 4 kB / 473.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.3818, allocations: 8 kB / 473.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3824, allocations: 231.5 kB / 473.6 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.3825, allocations: 16.03 kB / 473.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.3833, allocations: 79.75 kB / 473.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/0.3845, allocations: 1.089 MB / 474.7 MB, free: 1.023 MB / 366.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.001863/0.3863, allocations: 0.9058 MB / 475.7 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004686/0.3868, allocations: 108.4 kB / 475.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.3871, allocations: 130.3 kB / 475.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3871, allocations: 12 kB / 475.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/0.3872, allocations: 0.875 kB / 475.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.3872, allocations: 7.969 kB / 475.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.39, allocations: 1.762 MB / 477.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.39, allocations: 0 / 477.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.3905, allocations: 203.7 kB / 477.9 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.3906, allocations: 8.562 kB / 477.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003177/0.3909, allocations: 177.8 kB / 478.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.3909, allocations: 4 kB / 478.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3909, allocations: 4 kB / 478.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.3952, allocations: 2.042 MB / 480.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.3965, allocations: 0.6562 MB / 480.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/0.397, allocations: 121.7 kB / 480.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/0.3975, allocations: 47.97 kB / 480.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006999/0.3982, allocations: 317 kB / 481.2 MB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001187/0.3994, allocations: 1.081 MB / 482.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009109/0.4003, allocations: 0.5926 MB / 482.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4003, allocations: 0 / 482.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4019, allocations: 383.3 kB / 483.3 MB, free: 8.418 MB / 382.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.0006019/0.4025, allocations: 365 kB / 483.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004254/0.4068, allocations: 1.994 MB / 485.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.4068, allocations: 0 / 485.6 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.4089, allocations: 1.022 MB / 486.7 MB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/0.4133, allocations: 1.079 MB / 487.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.419, allocations: 3.012 MB / 490.7 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.4202, allocations: 1.316 MB / 492.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009576/0.4298, allocations: 1.324 MB / 493.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.204e-06/0.4298, allocations: 4 kB / 493.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of Templates: time 0.05354/0.4834, allocations: 33.18 MB / 0.5142 GB, free: 11.54 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.630078817019239]