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 1.975/1.975, allocations: 209.3 MB / 224.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 12 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09006, allocations: 48.71 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4361, allocations: 88.77 MB / 420 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4363, allocations: 67.97 kB / 420.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2033/0.6397, allocations: 48.58 MB / 468.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.437e-06/0.6397, allocations: 0 / 468.7 MB, free: 11.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.6399, allocations: 39.81 kB / 468.7 MB, free: 11.61 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.004285/0.6442, allocations: 1.378 MB / 470.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6442, allocations: 16.03 kB / 470.1 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004717/0.6447, allocations: 102.7 kB / 470.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.647, allocations: 0.7683 MB / 471 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.6471, allocations: 37 kB / 471 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000217/0.6473, allocations: 71.81 kB / 471.1 MB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.6488, allocations: 0.7514 MB / 471.9 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.6489, allocations: 0 / 471.9 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.649, allocations: 20 kB / 471.9 MB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.649, allocations: 8 kB / 471.9 MB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.65, allocations: 383.7 kB / 472.3 MB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.6539, allocations: 1.383 MB / 473.6 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.656, allocations: 0.8348 MB / 474.5 MB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.857e-05/0.6561, allocations: 16.42 kB / 474.5 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.6561, allocations: 45.23 kB / 474.5 MB, free: 5.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.908e-06/0.6562, allocations: 0 / 474.5 MB, free: 5.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.00255/0.6587, allocations: 0.9693 MB / 475.5 MB, free: 4.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000428/0.6592, allocations: 0.6687 MB / 476.2 MB, free: 3.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.6606, allocations: 0.7434 MB / 476.9 MB, free: 2.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.6609, allocations: 45.7 kB / 477 MB, free: 2.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.6614, allocations: 371.8 kB / 477.3 MB, free: 2.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.6617, allocations: 220.8 kB / 477.5 MB, free: 2.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.516e-05/0.6618, allocations: 19.94 kB / 477.6 MB, free: 2.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.662, allocations: 366.7 kB / 477.9 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.6634, allocations: 0.5728 MB / 478.5 MB, free: 1.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.6651, allocations: 0.8067 MB / 479.3 MB, free: 476 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.6668, allocations: 0.682 MB / 480 MB, free: 15.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.302e-06/0.6668, allocations: 0 / 480 MB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004743/0.6716, allocations: 1.82 MB / 481.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6716, allocations: 8.625 kB / 481.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.6718, allocations: 27.97 kB / 481.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.6738, allocations: 0.4978 MB / 482.3 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/0.6746, allocations: 135.9 kB / 482.5 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02029/0.6949, allocations: 17.05 MB / 499.5 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008215/0.6958, allocations: 130.8 kB / 499.6 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.6959, allocations: 36 kB / 499.7 MB, free: 10.41 MB / 426.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.0007174/0.6967, allocations: 303.9 kB / 500 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.6969, allocations: 86.86 kB / 0.4883 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.6972, allocations: 101.4 kB / 0.4884 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.948e-06/0.6972, allocations: 4 kB / 0.4884 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.237e-06/0.6972, allocations: 0 / 0.4884 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-06/0.6972, allocations: 0 / 0.4884 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.6985, allocations: 0.6417 MB / 0.4891 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.003e-06/0.6985, allocations: 0 / 0.4891 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.6995, allocations: 103.9 kB / 0.4892 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6996, allocations: 4 kB / 0.4892 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.6997, allocations: 35.97 kB / 0.4892 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.93e-06/0.6997, allocations: 4 kB / 0.4892 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.364e-06/0.6997, allocations: 3.984 kB / 0.4892 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.7023, allocations: 1.158 MB / 0.4903 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.7026, allocations: 163.8 kB / 0.4905 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.7029, allocations: 35.98 kB / 0.4905 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.7034, allocations: 31.97 kB / 0.4906 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.7035, allocations: 32.39 kB / 0.4906 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.7036, allocations: 15.98 kB / 0.4906 GB, free: 7.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001031/0.7046, allocations: 0.5307 MB / 0.4911 GB, free: 7.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.7046, allocations: 0 / 0.4911 GB, free: 7.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003137/0.7078, allocations: 0.8042 MB / 0.4919 GB, free: 6.262 MB / 426.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.002685/0.7105, allocations: 0.7432 MB / 0.4926 GB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.7162, allocations: 3.002 MB / 0.4956 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.978e-06/0.7162, allocations: 8 kB / 0.4956 GB, free: 2.262 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000818/0.7171, allocations: 334.2 kB / 0.4959 GB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.7182, allocations: 187.8 kB / 0.4961 GB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.228/0.9462, allocations: 2.584 MB / 0.4986 GB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.9474, allocations: 1.108 MB / 0.4997 GB, free: 119.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.9478, allocations: 54.19 kB / 0.4997 GB, free: 119.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.575e-06/0.9478, allocations: 1.281 kB / 0.4997 GB, free: 119.6 MB / 426.7 MB Notification: Performance of Templates: time 0.0477/0.9955, allocations: 31.21 MB / 0.5302 GB, free: 118.6 MB / 426.7 MB