Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009176/0.0009176, allocations: 180.6 kB / 16.71 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 225.7 MB / 243.2 MB, free: 8.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007856/0.0007855, allocations: 98.47 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002777/0.0002777, allocations: 11.94 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2305, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002015/0.2326, allocations: 2.161 MB / 406.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003082/0.2357, allocations: 1.315 MB / 408.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002362/0.2359, allocations: 7.938 kB / 408.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.2362, allocations: 44.81 kB / 408.1 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.2363, allocations: 65.14 kB / 408.2 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.2369, allocations: 207.8 kB / 408.4 MB, free: 27.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.2381, allocations: 1.839 MB / 410.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007705/0.2388, allocations: 0.9078 MB / 411.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.2403, allocations: 1.656 MB / 412.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.2409, allocations: 0.8205 MB / 413.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.2412, allocations: 40 kB / 413.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.2415, allocations: 44 kB / 413.7 MB, free: 22.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000425/0.2419, allocations: 414 kB / 414.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006854/0.2426, allocations: 0.6848 MB / 414.8 MB, free: 21.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.2448, allocations: 4.164 MB / 418.9 MB, free: 16.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2449, allocations: 0 / 418.9 MB, free: 16.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2449, allocations: 0 / 418.9 MB, free: 16.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.2449, allocations: 0 / 418.9 MB, free: 16.88 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.002374/0.2473, allocations: 1.681 MB / 420.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2473, allocations: 11.97 kB / 420.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.2477, allocations: 174.9 kB / 420.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.249, allocations: 1.066 MB / 421.9 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.132e-05/0.2491, allocations: 94.91 kB / 422 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.2494, allocations: 124.4 kB / 422.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.2529, allocations: 2.297 MB / 424.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.2529, allocations: 0 / 424.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.2532, allocations: 48 kB / 424.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.2532, allocations: 32 kB / 424.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.2564, allocations: 1.989 MB / 426.4 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/0.263, allocations: 4.802 MB / 431.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.2661, allocations: 1.902 MB / 433.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.2673, allocations: 0.762 MB / 433.9 MB, free: 1.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.2675, allocations: 17.31 kB / 433.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001718/0.2692, allocations: 1.356 MB / 435.3 MB, free: 308 kB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.2692, allocations: 0 / 435.3 MB, free: 308 kB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.004971/0.2742, allocations: 2.693 MB / 438 MB, free: 13.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.2743, allocations: 98.42 kB / 438.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2756, allocations: 0.9407 MB / 439 MB, free: 12.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.2759, allocations: 97.66 kB / 439.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.2762, allocations: 413.4 kB / 439.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.2766, allocations: 312.2 kB / 439.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.2767, allocations: 32 kB / 439.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2769, allocations: 406.7 kB / 440.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2785, allocations: 0.8744 MB / 441.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.2801, allocations: 1.047 MB / 442.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.2833, allocations: 1.966 MB / 444.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2833, allocations: 0 / 444.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004121/0.2874, allocations: 2.412 MB / 446.5 MB, free: 4.859 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-05/0.2875, allocations: 37.69 kB / 446.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2875, allocations: 4 kB / 446.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.2876, allocations: 8 kB / 446.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.2881, allocations: 227.6 kB / 446.8 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.2881, allocations: 8 kB / 446.8 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.2893, allocations: 207.1 kB / 447 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009846/0.2903, allocations: 1.085 MB / 448.1 MB, free: 3.285 MB / 314.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.001446/0.2918, allocations: 0.908 MB / 449 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002993/0.2921, allocations: 98.88 kB / 449.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.2923, allocations: 134.3 kB / 449.2 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.2923, allocations: 12 kB / 449.3 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.2923, allocations: 3.984 kB / 449.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.2923, allocations: 11.92 kB / 449.3 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.2948, allocations: 1.759 MB / 451 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.2949, allocations: 3.938 kB / 451 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.2953, allocations: 203.7 kB / 451.2 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.2953, allocations: 4 kB / 451.2 MB, free: 72 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002779/0.2956, allocations: 179.9 kB / 451.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.2956, allocations: 4 kB / 451.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.2956, allocations: 3.984 kB / 451.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003534/0.2992, allocations: 2.053 MB / 453.5 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.3002, allocations: 0.644 MB / 454.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004184/0.3007, allocations: 119.9 kB / 454.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.3014, allocations: 143.6 kB / 454.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006833/0.3021, allocations: 333 kB / 454.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009239/0.303, allocations: 1.089 MB / 455.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007439/0.3038, allocations: 0.5849 MB / 456.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3038, allocations: 0 / 456.4 MB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001309/0.3051, allocations: 387.1 kB / 456.7 MB, free: 10.5 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.000529/0.3056, allocations: 368.6 kB / 457.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.3093, allocations: 2.045 MB / 459.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3093, allocations: 0 / 459.2 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.3111, allocations: 1.108 MB / 460.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003365/0.3145, allocations: 0.9722 MB / 461.2 MB, free: 6.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/0.3202, allocations: 3.322 MB / 464.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.3214, allocations: 1.312 MB / 465.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00646/0.3279, allocations: 3.382 MB / 469.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/0.3306, allocations: 0.9229 MB / 470.2 MB, free: 13 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3307, allocations: 0 / 470.2 MB, free: 13 MB / 346.7 MB Notification: Performance of Templates: time 0.05413/0.3848, allocations: 39.16 MB / 0.4974 GB, free: 5.145 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches