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.001303/0.001303, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001577/0.001577, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.571/1.571, allocations: 230.3 MB / 258 MB, free: 8.234 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.002024/0.002024, allocations: 63.89 kB / 378.7 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2813, allocations: 53.37 MB / 432.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004181/0.2854, allocations: 2.624 MB / 434.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.2887, allocations: 1.282 MB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.2889, allocations: 7.938 kB / 436 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.2891, allocations: 71.36 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.2893, allocations: 79.25 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.29, allocations: 243.7 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.2921, allocations: 2.1 MB / 438.5 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009044/0.2931, allocations: 0.5029 MB / 439 MB, free: 104 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.2957, allocations: 2.136 MB / 441.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.2974, allocations: 1.109 MB / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.2981, allocations: 216 kB / 442.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.2986, allocations: 220 kB / 442.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.2995, allocations: 0.6425 MB / 443.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.3009, allocations: 0.8979 MB / 444.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.3058, allocations: 4.409 MB / 448.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.3058, allocations: 3.984 kB / 448.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3058, allocations: 0 / 448.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001209/0.3059, allocations: 0 / 448.6 MB, free: 6.453 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.006388/0.3123, allocations: 2.268 MB / 450.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.3124, allocations: 8.031 kB / 450.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005939/0.313, allocations: 183.9 kB / 451.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.3152, allocations: 1.024 MB / 452.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.3153, allocations: 94.91 kB / 452.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.3156, allocations: 120.4 kB / 452.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.3201, allocations: 2.286 MB / 454.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.3202, allocations: 0 / 454.6 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002586/0.3204, allocations: 55.98 kB / 454.7 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.3204, allocations: 32 kB / 454.7 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00408/0.3245, allocations: 1.981 MB / 456.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.335, allocations: 4.773 MB / 461.5 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.3391, allocations: 1.792 MB / 463.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.3406, allocations: 0.7191 MB / 464 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3408, allocations: 25.3 kB / 464 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002529/0.3434, allocations: 1.352 MB / 465.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.549e-06/0.3434, allocations: 0 / 465.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005932/0.3493, allocations: 2.67 MB / 468 MB, free: 2.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.3494, allocations: 94.42 kB / 468.1 MB, free: 2.758 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.3511, allocations: 0.9451 MB / 469.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.3515, allocations: 97.66 kB / 469.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.3522, allocations: 474.1 kB / 469.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007078/0.3529, allocations: 329.7 kB / 469.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001846/0.3547, allocations: 0.6673 MB / 470.6 MB, free: 236 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002982/0.355, allocations: 414.7 kB / 471 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.3569, allocations: 0.8588 MB / 471.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.3589, allocations: 1.047 MB / 472.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.3625, allocations: 1.953 MB / 474.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.3625, allocations: 0 / 474.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004888/0.3674, allocations: 2.399 MB / 477.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.3674, allocations: 29.7 kB / 477.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3675, allocations: 8.562 kB / 477.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.196e-05/0.3675, allocations: 15.98 kB / 477.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.3681, allocations: 231.5 kB / 477.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.3681, allocations: 8 kB / 477.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.369, allocations: 83.69 kB / 477.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/0.3701, allocations: 1.085 MB / 478.7 MB, free: 7.992 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.001856/0.3719, allocations: 0.9079 MB / 479.6 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005645/0.3725, allocations: 111.3 kB / 479.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.3729, allocations: 130.3 kB / 479.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-05/0.3729, allocations: 20 kB / 479.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.3729, allocations: 4 kB / 479.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.3729, allocations: 7.922 kB / 479.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.3758, allocations: 1.734 MB / 481.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.3758, allocations: 0 / 481.6 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.3764, allocations: 211.7 kB / 481.8 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/0.3764, allocations: 4 kB / 481.8 MB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003499/0.3768, allocations: 175.9 kB / 482 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.3768, allocations: 4 kB / 482 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3768, allocations: 0 / 482 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004584/0.3814, allocations: 2.034 MB / 484 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.3828, allocations: 0.6024 MB / 484.7 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005347/0.3834, allocations: 115.9 kB / 484.8 MB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.384, allocations: 47.97 kB / 484.8 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007228/0.3847, allocations: 344.8 kB / 485.1 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001197/0.3859, allocations: 1.089 MB / 486.2 MB, free: 380 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009675/0.3869, allocations: 0.5927 MB / 486.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3869, allocations: 0 / 486.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001558/0.3884, allocations: 383.4 kB / 487.2 MB, free: 15.4 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.0006786/0.3891, allocations: 363.7 kB / 487.6 MB, free: 15.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00431/0.3934, allocations: 1.994 MB / 489.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3934, allocations: 0 / 489.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002243/0.3956, allocations: 1.053 MB / 490.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004895/0.4005, allocations: 1.075 MB / 491.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.407, allocations: 2.891 MB / 494.6 MB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.4085, allocations: 1.316 MB / 495.9 MB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008139/0.4166, allocations: 3.378 MB / 499.3 MB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003959/0.4206, allocations: 0.9308 MB / 0.4885 GB, free: 2.371 MB / 398.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4206, allocations: 4 kB / 0.4885 GB, free: 2.367 MB / 398.1 MB Notification: Performance of Templates: time 0.0699/0.4905, allocations: 41.25 MB / 0.5288 GB, free: 8.238 MB / 446.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/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_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: 5.9782820316031575]