Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter.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) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadModel(Modelica): time 1.578/1.578, allocations: 171.2 MB / 186.8 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 233.2 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06924/0.06963, allocations: 38.77 MB / 272 MB, free: 12.17 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.4502, allocations: 80.03 MB / 352 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.4505, allocations: 69.72 kB / 352.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/0.6067, allocations: 35.61 MB / 387.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.6067, allocations: 0 / 387.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.691e-05/0.6068, allocations: 20.06 kB / 387.7 MB, free: 10.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002659/0.6095, allocations: 0.8864 MB / 388.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6096, allocations: 8.031 kB / 388.6 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.6097, allocations: 51.39 kB / 388.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6108, allocations: 442.6 kB / 389.1 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.6108, allocations: 11.97 kB / 389.1 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.6109, allocations: 31.09 kB / 389.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.6116, allocations: 341.8 kB / 389.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6116, allocations: 0 / 389.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.6117, allocations: 11.62 kB / 389.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.6117, allocations: 8 kB / 389.5 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.6121, allocations: 151.2 kB / 389.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.6137, allocations: 0.6847 MB / 390.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.6146, allocations: 325.7 kB / 390.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.6146, allocations: 192 / 390.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.6147, allocations: 42.19 kB / 390.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.239e-06/0.6147, allocations: 0 / 390.7 MB, free: 7.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.00103/0.6157, allocations: 389.7 kB / 391.1 MB, free: 7.617 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002367/0.616, allocations: 367 kB / 391.4 MB, free: 7.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.6166, allocations: 350.7 kB / 391.8 MB, free: 6.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.6166, allocations: 36.14 kB / 391.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.6168, allocations: 241.8 kB / 392 MB, free: 6.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.617, allocations: 83.31 kB / 392.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.617, allocations: 3.625 kB / 392.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.6172, allocations: 340.8 kB / 392.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.6177, allocations: 191.8 kB / 392.6 MB, free: 6.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.6182, allocations: 317.4 kB / 393 MB, free: 5.852 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/0.6188, allocations: 234.8 kB / 393.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-06/0.6188, allocations: 7.953 kB / 393.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001502/0.6203, allocations: 0.6093 MB / 393.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6203, allocations: 4.625 kB / 393.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.945e-05/0.6204, allocations: 15.97 kB / 393.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.621, allocations: 130.3 kB / 393.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.6214, allocations: 59.47 kB / 394 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004846/0.6262, allocations: 4.277 MB / 398.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.6266, allocations: 46.3 kB / 398.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.6267, allocations: 17.88 kB / 398.3 MB, free: 0.5273 MB / 314.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003507/0.6271, allocations: 175.6 kB / 398.5 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.6272, allocations: 39.53 kB / 398.6 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.808e-05/0.6273, allocations: 50.25 kB / 398.6 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.6273, allocations: 4 kB / 398.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.339e-06/0.6273, allocations: 0 / 398.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.323e-06/0.6273, allocations: 0 / 398.6 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.6279, allocations: 341.4 kB / 398.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-06/0.6279, allocations: 11.98 kB / 399 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.6283, allocations: 42.73 kB / 399 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.467e-06/0.6284, allocations: 0 / 399 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.6284, allocations: 11.3 kB / 399 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.004e-06/0.6284, allocations: 3.953 kB / 399 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6284, allocations: 0 / 399 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009821/0.6294, allocations: 0.507 MB / 399.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.6296, allocations: 116.5 kB / 399.6 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.6297, allocations: 11.86 kB / 399.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.6299, allocations: 19.25 kB / 399.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.63, allocations: 11.98 kB / 399.7 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.63, allocations: 11.69 kB / 399.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004279/0.6305, allocations: 266.5 kB / 399.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.9e-07/0.6305, allocations: 0 / 399.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002532/0.633, allocations: 0.7014 MB / 400.6 MB, free: 14.41 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002669/0.6357, allocations: 0.7061 MB / 401.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.6377, allocations: 0.9558 MB / 402.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.845e-06/0.6377, allocations: 0 / 402.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.638, allocations: 127.2 kB / 402.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.6387, allocations: 105.2 kB / 402.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.6408, allocations: 1.057 MB / 403.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.6414, allocations: 0.8458 MB / 404.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.6416, allocations: 27.44 kB / 404.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.595e-06/0.6416, allocations: 0 / 404.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of Templates: time 0.02579/0.6674, allocations: 12.84 MB / 417.3 MB, free: 13.74 MB / 346.7 MB