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.0009644/0.0009644, allocations: 93.27 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 9.477 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002986, allocations: 8.281 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 51.53 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002925/0.1095, allocations: 2.259 MB / 362.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.1122, allocations: 1.251 MB / 363.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.1125, allocations: 7.938 kB / 363.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1129, allocations: 47.64 kB / 363.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1132, allocations: 59.5 kB / 363.5 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006617/0.1139, allocations: 207.8 kB / 363.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.1161, allocations: 1.839 MB / 365.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.1173, allocations: 0.9203 MB / 366.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.1197, allocations: 1.789 MB / 368.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.121, allocations: 0.8244 MB / 369.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.1215, allocations: 40 kB / 369.1 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.1219, allocations: 43.94 kB / 369.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.1225, allocations: 418 kB / 369.6 MB, free: 3.305 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.1237, allocations: 0.6887 MB / 370.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1725/0.2962, allocations: 3.781 MB / 374.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2963, allocations: 0 / 374.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.2963, allocations: 0.6562 kB / 374.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.785e-05/0.2964, allocations: 0 / 374.1 MB, free: 11.75 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.00476/0.3012, allocations: 1.686 MB / 375.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3012, allocations: 9.469 kB / 375.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3024, allocations: 170.4 kB / 375.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3048, allocations: 1.055 MB / 377 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003387/0.3052, allocations: 133.8 kB / 377.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000942/0.3062, allocations: 122.8 kB / 377.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.3112, allocations: 2.301 MB / 379.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3113, allocations: 3.156 kB / 379.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.3115, allocations: 49.81 kB / 379.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3116, allocations: 31.03 kB / 379.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.3153, allocations: 2.001 MB / 381.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007269/0.3226, allocations: 4.793 MB / 386.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.3259, allocations: 1.91 MB / 388.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3273, allocations: 0.7698 MB / 389.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.3275, allocations: 13.58 kB / 389.1 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.3293, allocations: 1.365 MB / 390.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.075e-06/0.3294, allocations: 0 / 390.5 MB, free: 6.961 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004844/0.3342, allocations: 2.695 MB / 393.2 MB, free: 5.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3343, allocations: 99.94 kB / 393.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.3353, allocations: 0.9446 MB / 394.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002473/0.3356, allocations: 96.62 kB / 394.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.3358, allocations: 462.9 kB / 394.8 MB, free: 4.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/0.3361, allocations: 308.9 kB / 395.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.3365, allocations: 238.5 kB / 395.3 MB, free: 4.387 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3367, allocations: 407.7 kB / 395.7 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.338, allocations: 0.878 MB / 396.6 MB, free: 3.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.3394, allocations: 1.049 MB / 397.6 MB, free: 3.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.3422, allocations: 1.98 MB / 399.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3423, allocations: 0 / 399.6 MB, free: 1.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003874/0.3461, allocations: 2.417 MB / 402 MB, free: 15.1 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.3462, allocations: 37.69 kB / 402 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3462, allocations: 8.031 kB / 402.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3462, allocations: 8 kB / 402.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.3468, allocations: 226 kB / 402.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.3468, allocations: 15.98 kB / 402.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3482, allocations: 196.3 kB / 402.5 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/0.3492, allocations: 1.097 MB / 403.6 MB, free: 13.54 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.001459/0.3507, allocations: 0.9016 MB / 404.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.351, allocations: 102.8 kB / 404.6 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.3513, allocations: 130.3 kB / 404.7 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.3513, allocations: 12 kB / 404.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.3513, allocations: 8 kB / 404.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.3514, allocations: 11.91 kB / 404.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.354, allocations: 1.749 MB / 406.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3541, allocations: 2.625 kB / 406.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/0.3545, allocations: 203.7 kB / 406.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.3545, allocations: 4 kB / 406.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002567/0.3548, allocations: 176.8 kB / 406.9 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.3548, allocations: 7.938 kB / 406.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3548, allocations: 0 / 406.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00383/0.3586, allocations: 2.061 MB / 408.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.3599, allocations: 0.6401 MB / 409.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004577/0.3603, allocations: 123.9 kB / 409.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.3613, allocations: 147.5 kB / 409.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006331/0.362, allocations: 319 kB / 410.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001107/0.3631, allocations: 1.081 MB / 411.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008235/0.3639, allocations: 0.5966 MB / 411.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3639, allocations: 0 / 411.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001561/0.3655, allocations: 379.1 kB / 412.2 MB, free: 4.828 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.0006354/0.3661, allocations: 363.8 kB / 412.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003895/0.37, allocations: 2.057 MB / 414.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.37, allocations: 0 / 414.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001934/0.372, allocations: 1.073 MB / 415.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/0.3765, allocations: 0.9613 MB / 416.7 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005788/0.3823, allocations: 3.443 MB / 420.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.3836, allocations: 1.312 MB / 421.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007107/0.3907, allocations: 1.316 MB / 422.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3907, allocations: 0 / 422.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of Templates: time 0.04219/0.4329, allocations: 32.91 MB / 455.6 MB, free: 7.766 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