Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004452, allocations: 8 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.278, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003187/0.2812, allocations: 2.199 MB / 371.4 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.2898, allocations: 4.236 MB / 375.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.2903, allocations: 19.75 kB / 375.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2914, allocations: 422.7 kB / 376.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.2918, allocations: 87.59 kB / 376.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006758/0.2986, allocations: 2.098 MB / 378.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.3002, allocations: 0.7996 MB / 379 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3004, allocations: 77.69 kB / 379.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.3011, allocations: 430.7 kB / 379.5 MB, free: 344 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.3017, allocations: 354.5 kB / 379.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.3018, allocations: 28 kB / 379.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3044, allocations: 1.358 MB / 381.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.3049, allocations: 271.2 kB / 381.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.3051, allocations: 153.2 kB / 381.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.308, allocations: 1.868 MB / 383.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.019e-06/0.3081, allocations: 0 / 383.6 MB, free: 12.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.774e-06/0.3081, allocations: 4 kB / 383.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.3081, allocations: 0 / 383.6 MB, free: 12.3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002944/0.3111, allocations: 1.316 MB / 384.9 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3111, allocations: 8.031 kB / 384.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3114, allocations: 106.7 kB / 385 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.3125, allocations: 0.5426 MB / 385.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.869e-05/0.3125, allocations: 44.92 kB / 385.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.3127, allocations: 67.91 kB / 385.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.3141, allocations: 0.6967 MB / 386.3 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3142, allocations: 0 / 386.3 MB, free: 9.336 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.3143, allocations: 23.95 kB / 386.4 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3143, allocations: 8 kB / 386.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008961/0.3152, allocations: 383.7 kB / 386.7 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.3186, allocations: 1.355 MB / 388.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.3207, allocations: 0.852 MB / 388.9 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.36e-05/0.3208, allocations: 4.438 kB / 389 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.849e-05/0.3209, allocations: 39 kB / 389 MB, free: 6.609 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 4.351e-06/0.3209, allocations: 0 / 389 MB, free: 6.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.002323/0.3232, allocations: 0.9794 MB / 390 MB, free: 5.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003934/0.3237, allocations: 0.6687 MB / 390.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.325, allocations: 0.8418 MB / 391.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.3252, allocations: 45.7 kB / 391.5 MB, free: 3.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.3256, allocations: 367.9 kB / 391.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.3259, allocations: 220.8 kB / 392.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.3259, allocations: 20 kB / 392.1 MB, free: 3.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3262, allocations: 362.8 kB / 392.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.3274, allocations: 0.5924 MB / 393.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.3289, allocations: 0.8301 MB / 393.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3303, allocations: 0.7036 MB / 394.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.3304, allocations: 0 / 394.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004187/0.3346, allocations: 1.859 MB / 396.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3346, allocations: 4 kB / 396.5 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.347e-05/0.3347, allocations: 19.98 kB / 396.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.3367, allocations: 0.49 MB / 397 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007487/0.3375, allocations: 147.8 kB / 397.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.3568, allocations: 17.05 MB / 414.2 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.3575, allocations: 134.4 kB / 414.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.3576, allocations: 24 kB / 414.3 MB, free: 11.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005757/0.3582, allocations: 285.8 kB / 414.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.3584, allocations: 90.78 kB / 414.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3587, allocations: 101.4 kB / 414.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.469e-06/0.3587, allocations: 7.938 kB / 414.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-06/0.3587, allocations: 0 / 414.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.436e-06/0.3587, allocations: 3.984 kB / 414.8 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3598, allocations: 0.6341 MB / 415.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-06/0.3598, allocations: 4 kB / 415.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009781/0.3608, allocations: 107.9 kB / 415.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.3608, allocations: 0 / 415.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.173e-05/0.3609, allocations: 35.92 kB / 415.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.991e-06/0.3609, allocations: 0 / 415.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3609, allocations: 0 / 415.6 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.3633, allocations: 1.162 MB / 416.7 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3635, allocations: 159.8 kB / 416.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.3637, allocations: 35.97 kB / 416.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.3641, allocations: 35.91 kB / 417 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.3643, allocations: 28.39 kB / 417 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.3643, allocations: 16 kB / 417 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009009/0.3653, allocations: 0.5268 MB / 417.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.3653, allocations: 0 / 417.5 MB, free: 7.973 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002429/0.3677, allocations: 0.7654 MB / 418.3 MB, free: 7.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/0.3697, allocations: 0.715 MB / 419 MB, free: 6.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005394/0.3752, allocations: 3.001 MB / 422 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.562e-06/0.3752, allocations: 0 / 422 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000765/0.376, allocations: 334.2 kB / 422.3 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.377, allocations: 178.1 kB / 422.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.3815, allocations: 2.616 MB / 425.1 MB, free: 108 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.3827, allocations: 1.102 MB / 426.2 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.383, allocations: 55.44 kB / 426.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.531e-06/0.383, allocations: 0 / 426.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Templates: time 0.07842/0.4614, allocations: 31.21 MB / 457.5 MB, free: 15.67 MB / 394.7 MB