Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.2 MB / 224.8 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004324, allocations: 8 kB / 282.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 48.7 MB / 331.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002901/0.2842, allocations: 2.188 MB / 333.4 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00789/0.2921, allocations: 4.245 MB / 337.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.2927, allocations: 19.66 kB / 337.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.2937, allocations: 433.5 kB / 338.1 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.2941, allocations: 86.69 kB / 338.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00677/0.3008, allocations: 2.111 MB / 340.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3022, allocations: 0.789 MB / 341 MB, free: 248 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.3024, allocations: 86.03 kB / 341.1 MB, free: 200 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.303, allocations: 420 kB / 341.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.3036, allocations: 356.5 kB / 341.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3037, allocations: 27.88 kB / 341.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.3067, allocations: 1.369 MB / 343.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.3072, allocations: 275.8 kB / 343.6 MB, free: 15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.3075, allocations: 151.9 kB / 343.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00313/0.3106, allocations: 1.871 MB / 345.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.736e-06/0.3107, allocations: 0 / 345.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.109e-06/0.3107, allocations: 1.062 kB / 345.6 MB, free: 13.81 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.3107, allocations: 0 / 345.6 MB, free: 13.81 MB / 282.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.003045/0.3138, allocations: 1.304 MB / 346.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3138, allocations: 13.89 kB / 346.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.314, allocations: 108.2 kB / 347 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3151, allocations: 0.5537 MB / 347.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.3152, allocations: 36.97 kB / 347.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.3154, allocations: 77.86 kB / 347.7 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3168, allocations: 0.6842 MB / 348.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3169, allocations: 3.938 kB / 348.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.3169, allocations: 18.03 kB / 348.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.317, allocations: 8.094 kB / 348.4 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009139/0.3179, allocations: 381.9 kB / 348.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/0.3214, allocations: 1.351 MB / 350.1 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.3235, allocations: 0.8484 MB / 351 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.461e-05/0.3236, allocations: 9.219 kB / 351 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.3236, allocations: 41.22 kB / 351 MB, free: 10.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=53): time 4.542e-06/0.3237, allocations: 0 / 351 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.002445/0.3261, allocations: 0.9793 MB / 352 MB, free: 9.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004144/0.3266, allocations: 0.6764 MB / 352.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.328, allocations: 0.834 MB / 353.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.3282, allocations: 53.64 kB / 353.5 MB, free: 7.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.3286, allocations: 371.8 kB / 353.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.3288, allocations: 220.8 kB / 354.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.3289, allocations: 16 kB / 354.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.3291, allocations: 366.8 kB / 354.5 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3304, allocations: 0.5846 MB / 355.1 MB, free: 6.148 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.332, allocations: 0.8301 MB / 355.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3335, allocations: 0.6959 MB / 356.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.626e-06/0.3335, allocations: 0 / 356.6 MB, free: 4.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004295/0.3378, allocations: 1.871 MB / 358.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3379, allocations: 4 kB / 358.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.956e-05/0.338, allocations: 27.94 kB / 358.5 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.3399, allocations: 0.4939 MB / 359 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.3407, allocations: 135.9 kB / 359.1 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/0.3601, allocations: 17.05 MB / 376.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.361, allocations: 142.3 kB / 376.3 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3611, allocations: 24.25 kB / 376.4 MB, free: 15.12 MB / 314.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.000614/0.3617, allocations: 285.6 kB / 376.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.3619, allocations: 86.88 kB / 376.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3622, allocations: 109.3 kB / 376.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-06/0.3622, allocations: 4 kB / 376.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.585e-06/0.3622, allocations: 0 / 376.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-06/0.3622, allocations: 0 / 376.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3634, allocations: 0.6341 MB / 377.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.3634, allocations: 0 / 377.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009553/0.3644, allocations: 103.9 kB / 377.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.3644, allocations: 4 kB / 377.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.74e-05/0.3645, allocations: 31.97 kB / 377.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3645, allocations: 7.953 kB / 377.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-06/0.3645, allocations: 4 kB / 377.6 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.3669, allocations: 1.158 MB / 378.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3672, allocations: 159.8 kB / 378.9 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.3674, allocations: 31.98 kB / 379 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.3678, allocations: 39.91 kB / 379 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.368, allocations: 36.34 kB / 379 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.368, allocations: 15.98 kB / 379 MB, free: 12.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009284/0.369, allocations: 0.5307 MB / 379.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.369, allocations: 0 / 379.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002877/0.3719, allocations: 0.7615 MB / 380.3 MB, free: 11.02 MB / 314.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.002272/0.3742, allocations: 0.6934 MB / 381 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005574/0.3798, allocations: 3.008 MB / 384 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.708e-06/0.3798, allocations: 0 / 384 MB, free: 7.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.3807, allocations: 338.2 kB / 384.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3817, allocations: 184.7 kB / 384.6 MB, free: 6.562 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/0.3863, allocations: 2.608 MB / 387.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.3875, allocations: 1.098 MB / 388.3 MB, free: 2.785 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.3878, allocations: 55.44 kB / 388.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of SimCode: time 8.942e-06/0.3878, allocations: 0 / 388.3 MB, free: 2.73 MB / 314.7 MB Notification: Performance of Templates: time 0.05278/0.4406, allocations: 31.23 MB / 419.5 MB, free: 3.465 MB / 346.7 MB