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.00151/0.00151, allocations: 89.77 kB / 20.69 MB, free: 1.02 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.001613/0.001613, allocations: 157.7 kB / 23.95 MB, free: 4.148 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.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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 2.384e-06/2.384e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.427e-05/3.666e-05, allocations: 7.188 kB / 325 MB, free: 484 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004859/0.004896, allocations: 2.375 MB / 327.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003694/0.00859, allocations: 1.232 MB / 328.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.008834, allocations: 11.56 kB / 328.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.009101, allocations: 65.47 kB / 328.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.009336, allocations: 79.61 kB / 328.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.01022, allocations: 251.9 kB / 329 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.01328, allocations: 2.134 MB / 331.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.01433, allocations: 0.5437 MB / 331.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.01798, allocations: 2.472 MB / 334.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.02018, allocations: 1.162 MB / 335.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000703/0.02088, allocations: 216.4 kB / 335.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005704/0.02145, allocations: 227.9 kB / 335.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000929/0.02238, allocations: 0.6463 MB / 336.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.02364, allocations: 0.6035 MB / 337 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.02939, allocations: 4.6 MB / 341.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.0294, allocations: 0 / 341.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0294, allocations: 4 kB / 341.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.086e-05/0.02948, allocations: 0 / 341.6 MB, free: 4.426 MB / 302.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.004995/0.03448, allocations: 2.291 MB / 343.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.03453, allocations: 11.98 kB / 343.9 MB, free: 2.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.03503, allocations: 183.9 kB / 344.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.03704, allocations: 1.015 MB / 345.1 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.03714, allocations: 98.91 kB / 345.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/0.03758, allocations: 124.4 kB / 345.3 MB, free: 0.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.04231, allocations: 2.342 MB / 347.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.04234, allocations: 192 / 347.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.04262, allocations: 60.3 kB / 347.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.04266, allocations: 35.94 kB / 347.8 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.04734, allocations: 2.034 MB / 349.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009041/0.05638, allocations: 4.223 MB / 354 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/0.06054, allocations: 1.854 MB / 355.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.06209, allocations: 0.7637 MB / 356.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.06227, allocations: 17.25 kB / 356.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002419/0.06469, allocations: 1.404 MB / 358.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.548e-06/0.06469, allocations: 0 / 358.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=128): time 0.005961/0.07065, allocations: 2.794 MB / 360.9 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/0.07075, allocations: 90.42 kB / 361 MB, free: 0.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.07254, allocations: 0.9528 MB / 361.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.07284, allocations: 97.66 kB / 362 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.07333, allocations: 474.2 kB / 362.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005069/0.07384, allocations: 321.7 kB / 362.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.07507, allocations: 0.6985 MB / 363.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003175/0.07538, allocations: 410.7 kB / 363.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.07718, allocations: 0.9034 MB / 364.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.07915, allocations: 1.072 MB / 365.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/0.08303, allocations: 1.988 MB / 367.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.08303, allocations: 0 / 367.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004871/0.0879, allocations: 2.476 MB / 370.3 MB, free: 7.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.08796, allocations: 33.7 kB / 370.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.08797, allocations: 4 kB / 370.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.088, allocations: 11.98 kB / 370.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.08856, allocations: 239.7 kB / 370.6 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.08858, allocations: 15.92 kB / 370.6 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/0.08936, allocations: 79.77 kB / 370.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/0.09062, allocations: 1.1 MB / 371.8 MB, free: 5.809 MB / 334.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.001802/0.09242, allocations: 0.9118 MB / 372.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.09282, allocations: 111.3 kB / 372.8 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.09308, allocations: 134.3 kB / 373 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.09309, allocations: 12 kB / 373 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.09311, allocations: 0 / 373 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/0.09313, allocations: 7.969 kB / 373 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/0.09544, allocations: 1.365 MB / 374.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.09544, allocations: 0 / 374.3 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.09593, allocations: 215.7 kB / 374.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.09594, allocations: 8 kB / 374.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003246/0.09626, allocations: 191.9 kB / 374.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.09627, allocations: 11.94 kB / 374.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.09627, allocations: 0 / 374.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.1005, allocations: 2.118 MB / 376.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/0.1017, allocations: 0.6024 MB / 377.5 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/0.1022, allocations: 120 kB / 377.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.1027, allocations: 55.98 kB / 377.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007786/0.1035, allocations: 348.8 kB / 378 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001121/0.1046, allocations: 1.093 MB / 379.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008315/0.1054, allocations: 0.5927 MB / 379.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1054, allocations: 0 / 379.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001486/0.1069, allocations: 395.3 kB / 380.1 MB, free: 13.45 MB / 350.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.0006232/0.1075, allocations: 363.7 kB / 380.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004223/0.1118, allocations: 2.082 MB / 382.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1118, allocations: 4.062 kB / 382.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.1139, allocations: 1.105 MB / 383.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004704/0.1186, allocations: 1.078 MB / 384.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006634/0.1252, allocations: 2.931 MB / 387.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.1266, allocations: 0.7237 MB / 388.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.01095/0.1375, allocations: 3.37 MB / 391.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00565/0.1432, allocations: 0.9553 MB / 392.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1432, allocations: 0 / 392.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Templates: time 0.1156/0.2588, allocations: 42.01 MB / 434.7 MB, free: 6.023 MB / 398.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.621688239276409]