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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 60.72 kB / 306.9 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09111, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003414/0.09456, allocations: 2.648 MB / 360.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.09682, allocations: 1.259 MB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.09699, allocations: 4 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.09719, allocations: 51.56 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.09734, allocations: 59.5 kB / 361.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.0978, allocations: 211.9 kB / 361.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.09924, allocations: 1.839 MB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009768/0.1002, allocations: 0.9281 MB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/0.102, allocations: 1.89 MB / 366.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009446/0.103, allocations: 0.9414 MB / 367.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003206/0.1033, allocations: 72 kB / 367.3 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1037, allocations: 68 kB / 367.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005585/0.1042, allocations: 474.1 kB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.1052, allocations: 0.7377 MB / 368.6 MB, free: 3.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.159/0.2642, allocations: 3.837 MB / 372.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2643, allocations: 0 / 372.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2643, allocations: 1.281 kB / 372.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.484e-05/0.2644, allocations: 0 / 372.4 MB, free: 12.33 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.005029/0.2694, allocations: 2.307 MB / 374.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2695, allocations: 15.06 kB / 374.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.27, allocations: 169.3 kB / 374.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.2718, allocations: 1.049 MB / 376 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.2721, allocations: 126.9 kB / 376.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003146/0.2724, allocations: 124 kB / 376.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/0.2772, allocations: 2.285 MB / 378.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.2772, allocations: 1.969 kB / 378.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000253/0.2775, allocations: 52.22 kB / 378.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.2775, allocations: 29.94 kB / 378.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.2817, allocations: 1.982 MB / 380.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008984/0.2907, allocations: 4.787 MB / 385.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003545/0.2943, allocations: 1.866 MB / 387.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.2958, allocations: 0.7515 MB / 388 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/0.296, allocations: 17.33 kB / 388 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/0.298, allocations: 1.354 MB / 389.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.757e-06/0.298, allocations: 0 / 389.3 MB, free: 7.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004807/0.3028, allocations: 2.662 MB / 392 MB, free: 6.152 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3029, allocations: 98 kB / 392.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.304, allocations: 0.9355 MB / 393 MB, free: 5.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/0.3043, allocations: 100.7 kB / 393.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.3046, allocations: 463.6 kB / 393.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.305, allocations: 314.3 kB / 393.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000897/0.3059, allocations: 0.6599 MB / 394.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.306, allocations: 417.2 kB / 395 MB, free: 4.184 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.3074, allocations: 0.8618 MB / 395.8 MB, free: 3.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.3088, allocations: 1.038 MB / 396.9 MB, free: 3.223 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.3114, allocations: 1.945 MB / 398.8 MB, free: 1.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.3114, allocations: 4 kB / 398.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003808/0.3153, allocations: 2.408 MB / 401.2 MB, free: 14.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.3153, allocations: 33.7 kB / 401.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3153, allocations: 0.75 kB / 401.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3154, allocations: 12 kB / 401.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.3159, allocations: 225.1 kB / 401.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.3159, allocations: 8 kB / 401.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.3174, allocations: 198.2 kB / 401.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.3185, allocations: 1.093 MB / 402.8 MB, free: 13.34 MB / 318.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.001685/0.3201, allocations: 0.9013 MB / 403.7 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.3206, allocations: 102.8 kB / 403.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.3209, allocations: 132.9 kB / 403.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3209, allocations: 12 kB / 403.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.3209, allocations: 4 kB / 403.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-05/0.321, allocations: 11.91 kB / 403.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.3241, allocations: 1.754 MB / 405.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.3241, allocations: 0 / 405.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004833/0.3246, allocations: 210.7 kB / 405.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.448e-05/0.3246, allocations: 4 kB / 405.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/0.3249, allocations: 179.9 kB / 406.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.14e-05/0.325, allocations: 4 kB / 406.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.325, allocations: 0.625 kB / 406.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/0.3289, allocations: 2.034 MB / 408.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.3302, allocations: 0.6441 MB / 408.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005119/0.3307, allocations: 123.9 kB / 408.9 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.3318, allocations: 139.5 kB / 409 MB, free: 7.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006882/0.3325, allocations: 313 kB / 409.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/0.3335, allocations: 1.085 MB / 410.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008149/0.3344, allocations: 0.5966 MB / 411 MB, free: 5.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3344, allocations: 0 / 411 MB, free: 5.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00162/0.336, allocations: 375.1 kB / 411.4 MB, free: 4.68 MB / 318.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.0006173/0.3366, allocations: 366.2 kB / 411.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.3404, allocations: 2.038 MB / 413.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.3404, allocations: 0 / 413.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.3423, allocations: 1.053 MB / 414.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/0.346, allocations: 0.9727 MB / 415.8 MB, free: 256 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005776/0.3518, allocations: 3.431 MB / 419.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.3531, allocations: 1.316 MB / 420.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005702/0.3588, allocations: 1.32 MB / 421.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3589, allocations: 0 / 421.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Templates: time 0.04445/0.4033, allocations: 33.01 MB / 454.9 MB, free: 7.551 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches