Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.985/1.985, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000639/0.0006393, allocations: 19.98 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3579, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1597/0.5177, allocations: 88.76 MB / 420.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.518, allocations: 79.94 kB / 420.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.247/0.7651, allocations: 48.58 MB / 469.2 MB, free: 4.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7652, allocations: 0 / 469.2 MB, free: 4.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.7653, allocations: 39.88 kB / 469.3 MB, free: 4.883 MB / 394.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.006007/0.7714, allocations: 1.378 MB / 470.6 MB, free: 3.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.7714, allocations: 8.031 kB / 470.6 MB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000631/0.7721, allocations: 106.7 kB / 470.8 MB, free: 3.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.775, allocations: 0.7722 MB / 471.5 MB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.7751, allocations: 40.98 kB / 471.6 MB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/0.7754, allocations: 71.8 kB / 471.6 MB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.7773, allocations: 0.7514 MB / 472.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.7774, allocations: 0 / 472.4 MB, free: 1.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7775, allocations: 23.95 kB / 472.4 MB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.7776, allocations: 8 kB / 472.4 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.7788, allocations: 375.7 kB / 472.8 MB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.303/1.082, allocations: 1.384 MB / 474.2 MB, free: 99.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/1.085, allocations: 0.8351 MB / 475 MB, free: 99.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-05/1.085, allocations: 6.531 kB / 475 MB, free: 99.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/1.085, allocations: 49.67 kB / 475.1 MB, free: 99.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.346e-06/1.085, allocations: 1.5 kB / 475.1 MB, free: 99.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.003126/1.088, allocations: 0.9688 MB / 476 MB, free: 98.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002095/1.088, allocations: 0.6696 MB / 476.7 MB, free: 98.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/1.09, allocations: 0.8391 MB / 477.5 MB, free: 98.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003345/1.091, allocations: 46.81 kB / 477.6 MB, free: 97.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003485/1.091, allocations: 380.2 kB / 478 MB, free: 97.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/1.091, allocations: 214.2 kB / 478.2 MB, free: 97.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/1.091, allocations: 17.34 kB / 478.2 MB, free: 97.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/1.092, allocations: 368.5 kB / 478.5 MB, free: 97.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/1.093, allocations: 0.57 MB / 479.1 MB, free: 97.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/1.095, allocations: 0.8148 MB / 479.9 MB, free: 97.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/1.097, allocations: 0.6736 MB / 480.6 MB, free: 97.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.097, allocations: 0 / 480.6 MB, free: 97.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005519/1.103, allocations: 1.835 MB / 482.4 MB, free: 96.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/1.103, allocations: 4.875 kB / 482.4 MB, free: 96.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.103, allocations: 27.2 kB / 482.5 MB, free: 96.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/1.105, allocations: 0.493 MB / 483 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.107, allocations: 141.2 kB / 483.1 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/1.123, allocations: 17.04 MB / 0.4884 GB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.124, allocations: 132 kB / 0.4885 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.124, allocations: 37.98 kB / 0.4886 GB, free: 81.11 MB / 394.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.0007328/1.125, allocations: 291.6 kB / 0.4889 GB, free: 80.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/1.125, allocations: 89.62 kB / 0.4889 GB, free: 80.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/1.125, allocations: 99.17 kB / 0.489 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/1.125, allocations: 10.77 kB / 0.489 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.125, allocations: 0 / 0.489 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.126, allocations: 0 / 0.489 GB, free: 80.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/1.127, allocations: 0.6327 MB / 0.4897 GB, free: 80.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.127, allocations: 4.984 kB / 0.4897 GB, free: 80.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.128, allocations: 113.3 kB / 0.4898 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/1.128, allocations: 4.781 kB / 0.4898 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/1.129, allocations: 24.64 kB / 0.4898 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.129, allocations: 6.375 kB / 0.4898 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.129, allocations: 0 / 0.4898 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/1.131, allocations: 1.159 MB / 0.4909 GB, free: 80 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002468/1.132, allocations: 167.3 kB / 0.4911 GB, free: 79.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/1.132, allocations: 35.03 kB / 0.4911 GB, free: 79.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/1.133, allocations: 30.73 kB / 0.4912 GB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.133, allocations: 32.12 kB / 0.4912 GB, free: 79.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/1.133, allocations: 21 kB / 0.4912 GB, free: 79.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001055/1.134, allocations: 0.5318 MB / 0.4917 GB, free: 79.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.134, allocations: 0 / 0.4917 GB, free: 79.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006829/1.141, allocations: 0.8087 MB / 0.4925 GB, free: 79.55 MB / 394.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.005233/1.146, allocations: 0.7353 MB / 0.4932 GB, free: 79.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008769/1.155, allocations: 3.004 MB / 0.4962 GB, free: 77.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.155, allocations: 3 kB / 0.4962 GB, free: 77.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.157, allocations: 334.2 kB / 0.4965 GB, free: 77.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.159, allocations: 183.4 kB / 0.4967 GB, free: 77.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.17, allocations: 2.6 MB / 0.4992 GB, free: 75.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.171, allocations: 1.106 MB / 0.5003 GB, free: 75.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007236/1.172, allocations: 52.47 kB / 0.5003 GB, free: 75.14 MB / 394.7 MB Notification: Performance of SimCode: time 2.415e-06/1.172, allocations: 0 / 0.5003 GB, free: 75.14 MB / 394.7 MB Notification: Performance of Templates: time 0.05609/1.228, allocations: 31.21 MB / 0.5308 GB, free: 63.91 MB / 394.7 MB