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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.075/2.075, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.257e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.3937, allocations: 88.01 MB / 408 MB, free: 8.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.394, allocations: 71.97 kB / 408.1 MB, free: 8.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.414/0.808, allocations: 48.28 MB / 456.4 MB, free: 95.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.812e-06/0.808, allocations: 7.734 kB / 456.4 MB, free: 95.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.8081, allocations: 37.39 kB / 456.4 MB, free: 95.21 MB / 378.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.003009/0.8112, allocations: 1.215 MB / 457.6 MB, free: 94.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.8112, allocations: 10.44 kB / 457.6 MB, free: 94.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.8115, allocations: 101.8 kB / 457.7 MB, free: 94.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.8132, allocations: 0.7718 MB / 458.5 MB, free: 94.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.381e-05/0.8133, allocations: 13.44 kB / 458.5 MB, free: 94.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.8134, allocations: 49.5 kB / 458.6 MB, free: 94.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006843/0.8141, allocations: 340.2 kB / 458.9 MB, free: 94.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009876/0.8151, allocations: 0.6887 MB / 459.6 MB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.8152, allocations: 0 / 459.6 MB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.745e-05/0.8152, allocations: 3.938 kB / 459.6 MB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.42e-06/0.8153, allocations: 7.531 kB / 459.6 MB, free: 93.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.8183, allocations: 1.296 MB / 460.9 MB, free: 93.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.8199, allocations: 0.7923 MB / 461.7 MB, free: 93.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004268/0.8203, allocations: 265.2 kB / 461.9 MB, free: 93.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.8204, allocations: 7.875 kB / 462 MB, free: 93.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.8204, allocations: 50.09 kB / 462 MB, free: 93.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/0.8204, allocations: 0 / 462 MB, free: 93.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.00135/0.8218, allocations: 0.6607 MB / 462.7 MB, free: 93.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.8219, allocations: 0.6662 MB / 463.3 MB, free: 92.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009855/0.8229, allocations: 0.6867 MB / 464 MB, free: 92.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.823, allocations: 25.7 kB / 464 MB, free: 92.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.8233, allocations: 365 kB / 464.4 MB, free: 92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.8235, allocations: 218.5 kB / 464.6 MB, free: 91.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.8236, allocations: 0 / 464.6 MB, free: 91.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8237, allocations: 365.4 kB / 465 MB, free: 91.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009031/0.8246, allocations: 0.533 MB / 465.5 MB, free: 91.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.8256, allocations: 0.7678 MB / 466.3 MB, free: 90.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.8272, allocations: 0.6525 MB / 466.9 MB, free: 90.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-06/0.8272, allocations: 0 / 466.9 MB, free: 90.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003853/0.8311, allocations: 1.742 MB / 468.7 MB, free: 90.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8311, allocations: 7.5 kB / 468.7 MB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.299e-05/0.8312, allocations: 22.64 kB / 468.7 MB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.8329, allocations: 471.6 kB / 469.2 MB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.8336, allocations: 143.3 kB / 469.3 MB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.8336, allocations: 7.703 kB / 469.3 MB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.8342, allocations: 107.2 kB / 469.4 MB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.8344, allocations: 38.3 kB / 469.4 MB, free: 89.79 MB / 378.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.0002146/0.8346, allocations: 128.9 kB / 469.6 MB, free: 89.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.8348, allocations: 84.38 kB / 469.7 MB, free: 89.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.835, allocations: 95.75 kB / 469.7 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.481e-06/0.835, allocations: 11.94 kB / 469.8 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-06/0.835, allocations: 0 / 469.8 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-06/0.8351, allocations: 3.953 kB / 469.8 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.8359, allocations: 0.5666 MB / 470.3 MB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-06/0.8359, allocations: 3.438 kB / 470.3 MB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.8368, allocations: 106.3 kB / 470.4 MB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-06/0.8368, allocations: 3.703 kB / 470.4 MB, free: 89.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.8369, allocations: 34.73 kB / 470.5 MB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.982e-06/0.837, allocations: 0 / 470.5 MB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-06/0.837, allocations: 0 / 470.5 MB, free: 89.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.8386, allocations: 1.104 MB / 471.6 MB, free: 88.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.8388, allocations: 154.4 kB / 471.7 MB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.8389, allocations: 26.94 kB / 471.8 MB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.8394, allocations: 22.11 kB / 471.8 MB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.8395, allocations: 30.97 kB / 471.8 MB, free: 88.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.273e-05/0.8396, allocations: 15.25 kB / 471.8 MB, free: 88.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006555/0.8402, allocations: 494.3 kB / 472.3 MB, free: 88.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.8403, allocations: 0 / 472.3 MB, free: 88.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00228/0.8426, allocations: 0.759 MB / 473.1 MB, free: 88.36 MB / 378.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.002135/0.8447, allocations: 0.7326 MB / 473.8 MB, free: 88.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.8478, allocations: 2.577 MB / 476.4 MB, free: 86.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.208e-06/0.8478, allocations: 0 / 476.4 MB, free: 86.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005588/0.8484, allocations: 309.2 kB / 476.7 MB, free: 86.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.8495, allocations: 184 kB / 476.9 MB, free: 86.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.8526, allocations: 1.954 MB / 478.8 MB, free: 85.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.8533, allocations: 1.097 MB / 479.9 MB, free: 84.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.8536, allocations: 57.16 kB / 480 MB, free: 84.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.768e-06/0.8536, allocations: 0 / 480 MB, free: 84.49 MB / 378.7 MB Notification: Performance of Templates: time 0.03932/0.893, allocations: 31.04 MB / 0.499 GB, free: 61.61 MB / 378.7 MB