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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.137/2.137, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004348, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2919, allocations: 54.86 MB / 369.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4336, allocations: 95.01 MB / 464.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4339, allocations: 75.95 kB / 464.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4456/0.8794, allocations: 48.52 MB / 0.5009 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.466e-06/0.8795, allocations: 3.828 kB / 0.5009 GB, free: 108.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.8796, allocations: 38.86 kB / 0.5009 GB, free: 108.6 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.003265/0.8829, allocations: 1.376 MB / 0.5022 GB, free: 108 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.8829, allocations: 11.44 kB / 0.5022 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.8832, allocations: 103.7 kB / 0.5023 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8848, allocations: 0.7715 MB / 0.5031 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.8849, allocations: 41.55 kB / 0.5031 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.885, allocations: 71.41 kB / 0.5032 GB, free: 107.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.8862, allocations: 0.7414 MB / 0.5039 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.8862, allocations: 0 / 0.5039 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.578e-05/0.8863, allocations: 19.88 kB / 0.504 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.8863, allocations: 18.77 kB / 0.504 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.8871, allocations: 375.8 kB / 0.5043 GB, free: 107.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003072/0.8902, allocations: 1.39 MB / 0.5057 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.892, allocations: 0.8407 MB / 0.5065 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.892, allocations: 4.281 kB / 0.5065 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.8921, allocations: 41.62 kB / 0.5066 GB, free: 106.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.155e-06/0.8921, allocations: 0 / 0.5066 GB, free: 106.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.002/0.8941, allocations: 0.9808 MB / 0.5075 GB, free: 106.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.8942, allocations: 0.6665 MB / 0.5082 GB, free: 106 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8953, allocations: 0.7361 MB / 0.5089 GB, free: 105.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.8955, allocations: 47.3 kB / 0.5089 GB, free: 105.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.8957, allocations: 372.6 kB / 0.5093 GB, free: 105.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.8959, allocations: 217.5 kB / 0.5095 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.896, allocations: 19.58 kB / 0.5095 GB, free: 105.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.8961, allocations: 370 kB / 0.5099 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.8971, allocations: 0.5659 MB / 0.5104 GB, free: 105.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.8983, allocations: 0.8022 MB / 0.5112 GB, free: 104.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.8996, allocations: 0.6706 MB / 0.5118 GB, free: 104.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.575e-06/0.8996, allocations: 2.625 kB / 0.5119 GB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003707/0.9033, allocations: 1.838 MB / 0.5136 GB, free: 104.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.9034, allocations: 3.625 kB / 0.5136 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.256e-05/0.9035, allocations: 27.48 kB / 0.5137 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.9054, allocations: 0.5007 MB / 0.5142 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000785/0.9062, allocations: 137.8 kB / 0.5143 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.9188, allocations: 17.04 MB / 0.5309 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.9196, allocations: 127.6 kB / 0.5311 GB, free: 87.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.9197, allocations: 41.28 kB / 0.5311 GB, free: 87.77 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.0005934/0.9204, allocations: 293.7 kB / 0.5314 GB, free: 87.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.9205, allocations: 84.53 kB / 0.5315 GB, free: 87.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.9207, allocations: 101.9 kB / 0.5316 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-06/0.9208, allocations: 7.5 kB / 0.5316 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.605e-06/0.9208, allocations: 0 / 0.5316 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.9208, allocations: 7.406 kB / 0.5316 GB, free: 87.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/0.9217, allocations: 0.6325 MB / 0.5322 GB, free: 87.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-06/0.9217, allocations: 3.953 kB / 0.5322 GB, free: 87.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.9228, allocations: 108.1 kB / 0.5323 GB, free: 87.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.9228, allocations: 7.688 kB / 0.5323 GB, free: 87.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.974e-05/0.9229, allocations: 34.33 kB / 0.5323 GB, free: 87.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.9229, allocations: 3.75 kB / 0.5323 GB, free: 87.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9229, allocations: 0 / 0.5323 GB, free: 87.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.925, allocations: 1.163 MB / 0.5335 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.9251, allocations: 165.7 kB / 0.5336 GB, free: 86.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.9253, allocations: 33.91 kB / 0.5337 GB, free: 86.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/0.9258, allocations: 30.55 kB / 0.5337 GB, free: 86.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9259, allocations: 30.69 kB / 0.5337 GB, free: 86.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/0.926, allocations: 18.39 kB / 0.5337 GB, free: 86.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007548/0.9267, allocations: 0.5293 MB / 0.5343 GB, free: 86.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.9268, allocations: 0 / 0.5343 GB, free: 86.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002362/0.9291, allocations: 0.802 MB / 0.535 GB, free: 86.12 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.001823/0.931, allocations: 0.74 MB / 0.5358 GB, free: 85.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.9355, allocations: 2.995 MB / 0.5387 GB, free: 83.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.326e-06/0.9356, allocations: 0 / 0.5387 GB, free: 83.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.9363, allocations: 335.8 kB / 0.539 GB, free: 83.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.9374, allocations: 189.8 kB / 0.5392 GB, free: 83.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.941, allocations: 2.603 MB / 0.5417 GB, free: 82.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.9417, allocations: 1.103 MB / 0.5428 GB, free: 81.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002808/0.942, allocations: 55.44 kB / 0.5429 GB, free: 81.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.562e-06/0.942, allocations: 0 / 0.5429 GB, free: 81.05 MB / 426.7 MB Notification: Performance of Templates: time 0.03806/0.9801, allocations: 31.19 MB / 0.5733 GB, free: 58.01 MB / 426.7 MB