Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.237/2.237, allocations: 234.9 MB / 251.1 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00061/0.0006101, allocations: 12 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3502, allocations: 54.86 MB / 369.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.5121, allocations: 95 MB / 464.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.5124, allocations: 79.95 kB / 464.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5169/1.029, allocations: 48.52 MB / 0.5014 GB, free: 108.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.029, allocations: 0 / 0.5014 GB, free: 108.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001236/1.03, allocations: 44.16 kB / 0.5014 GB, free: 108.8 MB / 426.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.004775/1.034, allocations: 1.378 MB / 0.5028 GB, free: 108.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/1.034, allocations: 7.656 kB / 0.5028 GB, free: 108.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/1.035, allocations: 108.4 kB / 0.5029 GB, free: 108.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/1.037, allocations: 0.7669 MB / 0.5036 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/1.037, allocations: 37.08 kB / 0.5036 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/1.037, allocations: 76.88 kB / 0.5037 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/1.039, allocations: 0.7463 MB / 0.5045 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.039, allocations: 3.656 kB / 0.5045 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/1.039, allocations: 21.44 kB / 0.5045 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/1.039, allocations: 14.83 kB / 0.5045 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/1.04, allocations: 376.6 kB / 0.5048 GB, free: 107.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/1.044, allocations: 1.386 MB / 0.5062 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/1.046, allocations: 0.8446 MB / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/1.046, allocations: 4.188 kB / 0.507 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.046, allocations: 47.62 kB / 0.5071 GB, free: 107 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.106e-06/1.046, allocations: 0 / 0.5071 GB, free: 107 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.002481/1.049, allocations: 0.9704 MB / 0.508 GB, free: 106.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/1.049, allocations: 0.6715 MB / 0.5087 GB, free: 106.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.051, allocations: 0.8408 MB / 0.5095 GB, free: 105.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002316/1.051, allocations: 47.33 kB / 0.5095 GB, free: 105.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/1.051, allocations: 371.3 kB / 0.5099 GB, free: 105.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/1.051, allocations: 216.9 kB / 0.5101 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/1.051, allocations: 16.8 kB / 0.5101 GB, free: 105.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/1.051, allocations: 369.8 kB / 0.5105 GB, free: 105.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/1.053, allocations: 0.5679 MB / 0.511 GB, free: 105.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/1.054, allocations: 0.8064 MB / 0.5118 GB, free: 105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.056, allocations: 0.6808 MB / 0.5125 GB, free: 104.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.056, allocations: 0 / 0.5125 GB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004523/1.06, allocations: 1.832 MB / 0.5143 GB, free: 104.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.06, allocations: 7.094 kB / 0.5143 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/1.06, allocations: 31.27 kB / 0.5143 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/1.063, allocations: 0.4945 MB / 0.5148 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.064, allocations: 139.4 kB / 0.5149 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/1.078, allocations: 17.04 MB / 0.5316 GB, free: 87.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009757/1.08, allocations: 132.6 kB / 0.5317 GB, free: 87.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.08, allocations: 38.23 kB / 0.5317 GB, free: 87.83 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.0006722/1.08, allocations: 295.9 kB / 0.532 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/1.081, allocations: 84.38 kB / 0.5321 GB, free: 87.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002641/1.081, allocations: 101.5 kB / 0.5322 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.081, allocations: 7.594 kB / 0.5322 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.081, allocations: 3.469 kB / 0.5322 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/1.081, allocations: 0 / 0.5322 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009819/1.082, allocations: 0.6349 MB / 0.5328 GB, free: 87.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.082, allocations: 0 / 0.5328 GB, free: 87.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/1.083, allocations: 108.2 kB / 0.5329 GB, free: 87.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/1.083, allocations: 3.781 kB / 0.5329 GB, free: 87.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/1.084, allocations: 27.3 kB / 0.533 GB, free: 87.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/1.084, allocations: 7.656 kB / 0.533 GB, free: 87.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.084, allocations: 3.656 kB / 0.533 GB, free: 87.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/1.086, allocations: 1.158 MB / 0.5341 GB, free: 86.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/1.086, allocations: 165 kB / 0.5343 GB, free: 86.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/1.086, allocations: 38.27 kB / 0.5343 GB, free: 86.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/1.087, allocations: 33.25 kB / 0.5343 GB, free: 86.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.087, allocations: 30.59 kB / 0.5343 GB, free: 86.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/1.087, allocations: 19 kB / 0.5344 GB, free: 86.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000925/1.088, allocations: 0.528 MB / 0.5349 GB, free: 86.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.088, allocations: 0 / 0.5349 GB, free: 86.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003109/1.091, allocations: 0.8058 MB / 0.5357 GB, free: 86.19 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.00261/1.094, allocations: 0.7292 MB / 0.5364 GB, free: 86.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005645/1.1, allocations: 3.003 MB / 0.5393 GB, free: 83.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.1, allocations: 3.562 kB / 0.5393 GB, free: 83.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008564/1.101, allocations: 331.5 kB / 0.5396 GB, free: 83.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.102, allocations: 196.7 kB / 0.5398 GB, free: 83.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/1.106, allocations: 2.604 MB / 0.5424 GB, free: 82.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006871/1.107, allocations: 1.104 MB / 0.5434 GB, free: 81.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.108, allocations: 55.44 kB / 0.5435 GB, free: 81.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/1.108, allocations: 3.688 kB / 0.5435 GB, free: 81.09 MB / 426.7 MB Notification: Performance of Templates: time 0.04912/1.157, allocations: 31.18 MB / 0.5739 GB, free: 58.05 MB / 426.7 MB