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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009749/0.0009749, allocations: 108.9 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009445/0.0009446, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1985, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002746/0.2013, allocations: 2.639 MB / 409.7 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.2033, allocations: 1.256 MB / 410.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2034, allocations: 3.938 kB / 410.9 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.2036, allocations: 47.64 kB / 411 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2037, allocations: 66.95 kB / 411.1 MB, free: 23.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.2041, allocations: 210.4 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001155/0.2053, allocations: 1.862 MB / 413.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007864/0.2061, allocations: 0.9203 MB / 414 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.2075, allocations: 1.894 MB / 415.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.2082, allocations: 0.9336 MB / 416.9 MB, free: 17.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.2085, allocations: 72 kB / 416.9 MB, free: 17.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.2088, allocations: 72 kB / 417 MB, free: 17.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004303/0.2093, allocations: 474 kB / 417.5 MB, free: 17.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007235/0.21, allocations: 0.7339 MB / 418.2 MB, free: 16.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.2121, allocations: 4.243 MB / 422.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2121, allocations: 0 / 422.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2121, allocations: 4 kB / 422.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.2121, allocations: 3.938 kB / 422.5 MB, free: 12.34 MB / 298.7 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.002874/0.215, allocations: 2.313 MB / 424.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2151, allocations: 8.031 kB / 424.8 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.2154, allocations: 171 kB / 424.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.2173, allocations: 1.054 MB / 426 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.2174, allocations: 98.89 kB / 426.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.2177, allocations: 120.4 kB / 426.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00316/0.2208, allocations: 2.293 MB / 428.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.2209, allocations: 4 kB / 428.5 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.2211, allocations: 52 kB / 428.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.2212, allocations: 32 kB / 428.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.2243, allocations: 1.981 MB / 430.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007046/0.2314, allocations: 4.798 MB / 435.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.2351, allocations: 1.86 MB / 437.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.2366, allocations: 0.7581 MB / 438 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.2368, allocations: 13.31 kB / 438 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00204/0.2389, allocations: 1.359 MB / 439.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.546e-06/0.2389, allocations: 0 / 439.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.005073/0.244, allocations: 2.669 MB / 442 MB, free: 8.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.2441, allocations: 94.42 kB / 442.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001322/0.2454, allocations: 0.933 MB / 443.1 MB, free: 7.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.2456, allocations: 101.7 kB / 443.2 MB, free: 7.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.246, allocations: 465.1 kB / 443.6 MB, free: 6.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.2464, allocations: 304.3 kB / 443.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009969/0.2474, allocations: 0.6749 MB / 444.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.2476, allocations: 410.7 kB / 445 MB, free: 5.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.2492, allocations: 0.8627 MB / 445.8 MB, free: 4.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.2509, allocations: 1.043 MB / 446.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.2541, allocations: 1.953 MB / 448.8 MB, free: 1.547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.2541, allocations: 7.938 kB / 448.9 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00414/0.2582, allocations: 2.398 MB / 451.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.2583, allocations: 33.7 kB / 451.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2583, allocations: 7.828 kB / 451.3 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.2584, allocations: 8 kB / 451.3 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.2588, allocations: 227.6 kB / 451.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.2589, allocations: 8 kB / 451.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2599, allocations: 191.2 kB / 451.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009813/0.2609, allocations: 1.093 MB / 452.8 MB, free: 13.56 MB / 330.7 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.001386/0.2623, allocations: 0.9002 MB / 453.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.2626, allocations: 106.8 kB / 453.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.2629, allocations: 134.3 kB / 453.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.2629, allocations: 12 kB / 454 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2629, allocations: 4 kB / 454 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.2629, allocations: 11.91 kB / 454 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.2652, allocations: 1.751 MB / 455.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2652, allocations: 4 kB / 455.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.2656, allocations: 207.7 kB / 455.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.2656, allocations: 4 kB / 455.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.2659, allocations: 175.9 kB / 456.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.2659, allocations: 4 kB / 456.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2659, allocations: 0 / 456.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005616/0.2716, allocations: 3.818 MB / 459.9 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.273, allocations: 0.6479 MB / 460.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.2734, allocations: 119.9 kB / 460.7 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.2741, allocations: 143.5 kB / 460.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/0.2748, allocations: 329 kB / 461.2 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009591/0.2758, allocations: 1.085 MB / 462.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007202/0.2765, allocations: 0.5927 MB / 462.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2765, allocations: 0 / 462.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001344/0.2779, allocations: 387.1 kB / 463.2 MB, free: 2.988 MB / 330.7 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.0005032/0.2784, allocations: 359.8 kB / 463.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003682/0.2821, allocations: 2.036 MB / 465.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2821, allocations: 0 / 465.6 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.2839, allocations: 1.104 MB / 466.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.2874, allocations: 0.9635 MB / 467.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005554/0.293, allocations: 4.209 MB / 471.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.2941, allocations: 1.354 MB / 473.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005782/0.2999, allocations: 3.382 MB / 476.6 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00259/0.3025, allocations: 0.9269 MB / 477.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3025, allocations: 0 / 477.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of Templates: time 0.2053/0.5078, allocations: 40.06 MB / 0.5055 GB, free: 89.42 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches