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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.163/2.163, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.909e-05/1.919e-05, allocations: 4 kB / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 54.85 MB / 358 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.4179, allocations: 94.26 MB / 452.3 MB, free: 472 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4182, allocations: 71.95 kB / 452.4 MB, free: 400 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4263/0.8445, allocations: 48.23 MB / 0.4889 GB, free: 81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.062e-06/0.8445, allocations: 0 / 0.4889 GB, free: 81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.92e-05/0.8446, allocations: 35.88 kB / 0.4889 GB, free: 80.96 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.002938/0.8476, allocations: 1.215 MB / 0.4901 GB, free: 79.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.8477, allocations: 8.031 kB / 0.4901 GB, free: 79.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.848, allocations: 110.6 kB / 0.4902 GB, free: 79.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.8496, allocations: 0.7648 MB / 0.4909 GB, free: 78.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.8497, allocations: 16.5 kB / 0.491 GB, free: 78.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.8499, allocations: 48.33 kB / 0.491 GB, free: 78.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000697/0.8506, allocations: 341.3 kB / 0.4913 GB, free: 78.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009901/0.8516, allocations: 0.6807 MB / 0.492 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.8516, allocations: 0 / 0.492 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.8517, allocations: 4 kB / 0.492 GB, free: 77.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.8517, allocations: 12 kB / 0.492 GB, free: 77.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.8546, allocations: 1.295 MB / 0.4933 GB, free: 76.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.8562, allocations: 0.7906 MB / 0.494 GB, free: 75.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.8566, allocations: 262 kB / 0.4943 GB, free: 75.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.8567, allocations: 8.438 kB / 0.4943 GB, free: 75.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.8567, allocations: 45.23 kB / 0.4943 GB, free: 75.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.516e-06/0.8567, allocations: 0 / 0.4943 GB, free: 75.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.001325/0.8581, allocations: 0.6615 MB / 0.495 GB, free: 74.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.8582, allocations: 0.6687 MB / 0.4956 GB, free: 73.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.8592, allocations: 0.6811 MB / 0.4963 GB, free: 72.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8593, allocations: 29.7 kB / 0.4963 GB, free: 72.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.8595, allocations: 367.8 kB / 0.4967 GB, free: 72.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.8597, allocations: 212.9 kB / 0.4969 GB, free: 72.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.8598, allocations: 0 / 0.4969 GB, free: 72.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.8599, allocations: 366.8 kB / 0.4972 GB, free: 71.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008836/0.8608, allocations: 0.5343 MB / 0.4978 GB, free: 71.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.8619, allocations: 0.768 MB / 0.4985 GB, free: 70.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.8633, allocations: 0.6521 MB / 0.4992 GB, free: 69.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.468e-06/0.8633, allocations: 0 / 0.4992 GB, free: 69.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003477/0.8668, allocations: 1.74 MB / 0.5009 GB, free: 68.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8668, allocations: 4.781 kB / 0.5009 GB, free: 68.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.938e-05/0.8669, allocations: 23.97 kB / 0.5009 GB, free: 68.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.8685, allocations: 477.8 kB / 0.5013 GB, free: 67.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.8692, allocations: 143.8 kB / 0.5015 GB, free: 67.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.059e-06/0.8693, allocations: 4 kB / 0.5015 GB, free: 67.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.8699, allocations: 110.5 kB / 0.5016 GB, free: 67.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.87, allocations: 32 kB / 0.5016 GB, free: 67.31 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 () * 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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.8702, allocations: 132.8 kB / 0.5017 GB, free: 67.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.8704, allocations: 86.78 kB / 0.5018 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.8706, allocations: 93.19 kB / 0.5019 GB, free: 67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-06/0.8706, allocations: 4 kB / 0.5019 GB, free: 67 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.095e-06/0.8707, allocations: 3.938 kB / 0.5019 GB, free: 66.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8707, allocations: 7.984 kB / 0.5019 GB, free: 66.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.8715, allocations: 0.5682 MB / 0.5025 GB, free: 66.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.006e-06/0.8715, allocations: 7.938 kB / 0.5025 GB, free: 66.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.8725, allocations: 111.8 kB / 0.5026 GB, free: 66.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-06/0.8725, allocations: 0 / 0.5026 GB, free: 66.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.8726, allocations: 31.97 kB / 0.5026 GB, free: 66.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.376e-06/0.8726, allocations: 0 / 0.5026 GB, free: 66.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-06/0.8726, allocations: 0 / 0.5026 GB, free: 66.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.8743, allocations: 1.087 MB / 0.5037 GB, free: 65.13 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.8744, allocations: 167.7 kB / 0.5038 GB, free: 64.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.8746, allocations: 23.97 kB / 0.5039 GB, free: 64.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.8751, allocations: 23.97 kB / 0.5039 GB, free: 64.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/0.8752, allocations: 32.39 kB / 0.5039 GB, free: 64.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.8753, allocations: 12 kB / 0.5039 GB, free: 64.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007032/0.876, allocations: 491.6 kB / 0.5044 GB, free: 64.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.4e-07/0.876, allocations: 0 / 0.5044 GB, free: 64.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002707/0.8787, allocations: 0.7612 MB / 0.5051 GB, free: 63.6 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 () * 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.002489/0.8812, allocations: 0.7292 MB / 0.5059 GB, free: 62.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.8842, allocations: 2.576 MB / 0.5084 GB, free: 59.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.607e-06/0.8842, allocations: 0 / 0.5084 GB, free: 59.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.8848, allocations: 305.5 kB / 0.5087 GB, free: 59.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009456/0.8857, allocations: 189.4 kB / 0.5088 GB, free: 59.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.8888, allocations: 1.961 MB / 0.5108 GB, free: 57.47 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.8895, allocations: 1.09 MB / 0.5118 GB, free: 56.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.8898, allocations: 55.38 kB / 0.5119 GB, free: 56.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.785e-06/0.8898, allocations: 3.938 kB / 0.5119 GB, free: 56.29 MB / 394.7 MB Notification: Performance of Templates: time 0.03805/0.9279, allocations: 31.04 MB / 0.5422 GB, free: 25.21 MB / 394.7 MB