Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007808/0.0007807, allocations: 96.48 kB / 299.9 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.000254, allocations: 4 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2612, allocations: 51.42 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002224/0.2634, allocations: 2.163 MB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2657, allocations: 1.514 MB / 415.7 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2659, allocations: 7.938 kB / 415.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.2661, allocations: 47.64 kB / 415.8 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2662, allocations: 57.47 kB / 415.8 MB, free: 22.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.2667, allocations: 207.8 kB / 416 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2679, allocations: 1.846 MB / 417.9 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.2688, allocations: 0.9165 MB / 418.8 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.2705, allocations: 1.64 MB / 420.4 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.2713, allocations: 0.8244 MB / 421.3 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.2716, allocations: 44 kB / 421.3 MB, free: 16.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.2719, allocations: 40 kB / 421.4 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.2724, allocations: 402.1 kB / 421.7 MB, free: 16.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009012/0.2733, allocations: 0.6925 MB / 422.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.276, allocations: 4.164 MB / 426.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.276, allocations: 3.938 kB / 426.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.276, allocations: 3.938 kB / 426.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.104e-05/0.2761, allocations: 0 / 426.6 MB, free: 11.2 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.002975/0.279, allocations: 1.685 MB / 428.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2791, allocations: 12.03 kB / 428.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004532/0.2796, allocations: 167 kB / 428.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/0.2811, allocations: 1.062 MB / 429.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.299e-05/0.2812, allocations: 102.9 kB / 429.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.2816, allocations: 120.4 kB / 429.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004246/0.2859, allocations: 2.289 MB / 432 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.2859, allocations: 0 / 432 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.2862, allocations: 52 kB / 432.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2862, allocations: 28 kB / 432.1 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/0.29, allocations: 2.004 MB / 434.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008047/0.2981, allocations: 4.783 MB / 438.9 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.3019, allocations: 1.917 MB / 440.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.3035, allocations: 0.762 MB / 441.6 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.3037, allocations: 17.3 kB / 441.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.306, allocations: 1.363 MB / 443 MB, free: 10.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.407e-06/0.306, allocations: 0 / 443 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.005276/0.3113, allocations: 2.693 MB / 445.7 MB, free: 7.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.3113, allocations: 90.42 kB / 445.7 MB, free: 7.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.3128, allocations: 0.9329 MB / 446.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003465/0.3131, allocations: 97.66 kB / 446.8 MB, free: 6.754 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.3135, allocations: 429.2 kB / 447.2 MB, free: 6.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.314, allocations: 312.3 kB / 447.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3142, allocations: 28 kB / 447.5 MB, free: 5.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3144, allocations: 414.7 kB / 447.9 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.3161, allocations: 0.8666 MB / 448.8 MB, free: 4.707 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.3179, allocations: 1.043 MB / 449.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003314/0.3213, allocations: 1.962 MB / 451.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.3213, allocations: 0 / 451.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004626/0.3259, allocations: 2.416 MB / 454.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.326, allocations: 37.7 kB / 454.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.326, allocations: 4 kB / 454.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.326, allocations: 8 kB / 454.3 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.3266, allocations: 227.5 kB / 454.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.3266, allocations: 12 kB / 454.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.3279, allocations: 203.1 kB / 454.7 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.3289, allocations: 1.085 MB / 455.8 MB, free: 13.6 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,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * 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.001586/0.3305, allocations: 0.9079 MB / 456.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.3309, allocations: 106.9 kB / 456.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.3311, allocations: 130.3 kB / 456.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.3312, allocations: 15.94 kB / 456.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.3312, allocations: 0 / 456.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.3312, allocations: 15.91 kB / 457 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.3342, allocations: 1.751 MB / 458.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3342, allocations: 0 / 458.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.3347, allocations: 207.7 kB / 458.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.3347, allocations: 8 kB / 458.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/0.335, allocations: 175.9 kB / 459.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.335, allocations: 4 kB / 459.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.335, allocations: 0 / 459.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003973/0.339, allocations: 2.049 MB / 461.1 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.3404, allocations: 0.644 MB / 461.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/0.3409, allocations: 119.9 kB / 461.9 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.3418, allocations: 143.6 kB / 462 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006989/0.3425, allocations: 329 kB / 462.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009526/0.3435, allocations: 1.089 MB / 463.5 MB, free: 5.793 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.3446, allocations: 0.5888 MB / 464 MB, free: 5.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3447, allocations: 0 / 464 MB, free: 5.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002106/0.3468, allocations: 383.1 kB / 464.4 MB, free: 4.832 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.0006285/0.3474, allocations: 363.8 kB / 464.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004222/0.3516, allocations: 2.057 MB / 466.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3517, allocations: 64 / 466.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002395/0.3541, allocations: 1.112 MB / 467.9 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.3586, allocations: 0.9706 MB / 468.9 MB, free: 344 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.3656, allocations: 3.314 MB / 472.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.3673, allocations: 1.316 MB / 473.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.01021/0.3776, allocations: 3.378 MB / 476.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004629/0.3822, allocations: 0.923 MB / 477.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of SimCode: time 1.163e-06/0.3823, allocations: 0 / 477.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of Templates: time 0.2225/0.6048, allocations: 39.16 MB / 0.5049 GB, free: 92.56 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/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