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.759/1.759, allocations: 209.3 MB / 222.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.651e-05, allocations: 4 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08302, allocations: 48.7 MB / 326.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4165, allocations: 88.67 MB / 415.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4168, allocations: 71.97 kB / 415.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2053/0.622, allocations: 48.48 MB / 463.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.957e-06/0.6221, allocations: 0 / 463.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.6222, allocations: 35.94 kB / 463.8 MB, free: 13.87 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.003381/0.6256, allocations: 1.219 MB / 465 MB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.6257, allocations: 8.031 kB / 465 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.626, allocations: 102.8 kB / 465.1 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.6279, allocations: 0.7721 MB / 465.9 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.628, allocations: 36.78 kB / 465.9 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.6282, allocations: 63.91 kB / 466 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6297, allocations: 0.7369 MB / 466.7 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.6297, allocations: 3.984 kB / 466.7 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.6298, allocations: 24 kB / 466.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.6298, allocations: 8 kB / 466.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.6307, allocations: 354.9 kB / 467.1 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003538/0.6342, allocations: 1.389 MB / 468.5 MB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.6363, allocations: 0.8227 MB / 469.3 MB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.6369, allocations: 278 kB / 469.6 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.6369, allocations: 6.672 kB / 469.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.637, allocations: 50.94 kB / 469.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.878e-06/0.637, allocations: 0 / 469.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.001712/0.6387, allocations: 0.6889 MB / 470.3 MB, free: 7.031 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004179/0.6392, allocations: 0.6725 MB / 471 MB, free: 6.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6405, allocations: 0.7279 MB / 471.7 MB, free: 5.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.6407, allocations: 45.7 kB / 471.8 MB, free: 5.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.6411, allocations: 371.8 kB / 472.2 MB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.6414, allocations: 224.8 kB / 472.4 MB, free: 4.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.6415, allocations: 16 kB / 472.4 MB, free: 4.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.6417, allocations: 370.7 kB / 472.7 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.6429, allocations: 0.5535 MB / 473.3 MB, free: 3.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.6444, allocations: 0.7896 MB / 474.1 MB, free: 3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.6458, allocations: 0.6672 MB / 474.8 MB, free: 2.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.105e-06/0.6458, allocations: 0 / 474.8 MB, free: 2.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004214/0.65, allocations: 1.804 MB / 476.6 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6501, allocations: 4 kB / 476.6 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.724e-05/0.6502, allocations: 31.97 kB / 476.6 MB, free: 468 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/0.6522, allocations: 0.49 MB / 477.1 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.653, allocations: 143.8 kB / 477.2 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.6718, allocations: 16.89 MB / 494.1 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/0.6727, allocations: 134.4 kB / 494.2 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.6728, allocations: 36.14 kB / 494.3 MB, free: 13.13 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 () * 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.0002938/0.6731, allocations: 160.8 kB / 494.4 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.6733, allocations: 90.88 kB / 494.5 MB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.6736, allocations: 101.2 kB / 494.6 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.799e-06/0.6736, allocations: 11.98 kB / 494.6 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-06/0.6736, allocations: 0 / 494.6 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.761e-06/0.6737, allocations: 0 / 494.6 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6748, allocations: 0.6418 MB / 495.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-06/0.6748, allocations: 0 / 495.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.6759, allocations: 107.8 kB / 495.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-06/0.6759, allocations: 0 / 495.4 MB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.676, allocations: 35.97 kB / 495.4 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.676, allocations: 4 kB / 495.4 MB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.676, allocations: 0 / 495.4 MB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.6783, allocations: 1.126 MB / 496.6 MB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.6785, allocations: 163.8 kB / 496.7 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.6787, allocations: 31.98 kB / 496.7 MB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.6792, allocations: 31.97 kB / 496.8 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.6793, allocations: 36.2 kB / 496.8 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.6794, allocations: 16 kB / 496.8 MB, free: 10.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009438/0.6803, allocations: 0.5232 MB / 497.3 MB, free: 9.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.6803, allocations: 3.938 kB / 497.4 MB, free: 9.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002789/0.6831, allocations: 0.8003 MB / 498.2 MB, free: 9.145 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 () * 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.002244/0.6854, allocations: 0.7409 MB / 498.9 MB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005326/0.6907, allocations: 2.961 MB / 0.4901 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.577e-06/0.6908, allocations: 0 / 0.4901 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007218/0.6915, allocations: 318.3 kB / 0.4904 GB, free: 4.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6926, allocations: 196.9 kB / 0.4906 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.6966, allocations: 2.003 MB / 0.4925 GB, free: 2.664 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6978, allocations: 1.11 MB / 0.4936 GB, free: 1.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00034/0.6981, allocations: 55.38 kB / 0.4937 GB, free: 1.469 MB / 426.7 MB Notification: Performance of SimCode: time 2.119e-06/0.6981, allocations: 0 / 0.4937 GB, free: 1.469 MB / 426.7 MB Notification: Performance of Templates: time 0.3036/1.002, allocations: 31.12 MB / 0.5241 GB, free: 117.8 MB / 426.7 MB