Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.917/1.917, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003649, allocations: 8 kB / 233.8 MB, free: 3.09 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09655, allocations: 38.77 MB / 272.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5086, allocations: 80.02 MB / 352.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.509, allocations: 71.84 kB / 352.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1747/0.6837, allocations: 35.62 MB / 388.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6838, allocations: 0 / 388.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.425e-05/0.6838, allocations: 15.94 kB / 388.3 MB, free: 10.73 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.003312/0.6872, allocations: 0.889 MB / 389.1 MB, free: 9.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6872, allocations: 8.031 kB / 389.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.6875, allocations: 55.39 kB / 389.2 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.6889, allocations: 443.5 kB / 389.6 MB, free: 9.332 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.6889, allocations: 14.84 kB / 389.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6891, allocations: 30.72 kB / 389.7 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.6899, allocations: 339.4 kB / 390 MB, free: 8.969 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6899, allocations: 4 kB / 390 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.69, allocations: 6.375 kB / 390 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.69, allocations: 4 kB / 390 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.6905, allocations: 151.9 kB / 390.2 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.6926, allocations: 0.6859 MB / 390.9 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.6937, allocations: 322.2 kB / 391.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.6938, allocations: 192 / 391.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.6939, allocations: 42.23 kB / 391.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.224e-06/0.6939, allocations: 4 kB / 391.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001349/0.6952, allocations: 389.4 kB / 391.6 MB, free: 7.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002511/0.6955, allocations: 363.8 kB / 392 MB, free: 7.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007847/0.6963, allocations: 401.5 kB / 392.4 MB, free: 6.867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.6965, allocations: 33.64 kB / 392.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.6968, allocations: 245.3 kB / 392.6 MB, free: 6.645 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.6969, allocations: 82.38 kB / 392.7 MB, free: 6.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.697, allocations: 11.81 kB / 392.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6972, allocations: 326.3 kB / 393 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.6978, allocations: 197.1 kB / 393.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.6986, allocations: 313.7 kB / 393.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.6993, allocations: 246 kB / 393.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6994, allocations: 0 / 393.8 MB, free: 5.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001869/0.7013, allocations: 0.6083 MB / 394.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.7013, allocations: 8 kB / 394.4 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.853e-05/0.7014, allocations: 7.984 kB / 394.4 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.7021, allocations: 129.1 kB / 394.5 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.7027, allocations: 67.91 kB / 394.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.708, allocations: 4.272 MB / 398.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.7086, allocations: 51.39 kB / 398.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.7087, allocations: 15.81 kB / 398.9 MB, free: 0.5078 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.0003726/0.7091, allocations: 176.7 kB / 399.1 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.7092, allocations: 39.48 kB / 399.1 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.7093, allocations: 46.92 kB / 399.2 MB, free: 292 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7093, allocations: 4 kB / 399.2 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7093, allocations: 0 / 399.2 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7093, allocations: 4 kB / 399.2 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006144/0.71, allocations: 348.9 kB / 399.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.71, allocations: 0 / 399.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.7106, allocations: 43.34 kB / 399.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.7106, allocations: 3.938 kB / 399.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.7107, allocations: 11.33 kB / 399.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.7107, allocations: 4 kB / 399.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7107, allocations: 0 / 399.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.712, allocations: 0.5052 MB / 400.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7121, allocations: 116.5 kB / 400.2 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.973e-05/0.7122, allocations: 15.77 kB / 400.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.7126, allocations: 15.42 kB / 400.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.7127, allocations: 11.92 kB / 400.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.7127, allocations: 11.36 kB / 400.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005041/0.7132, allocations: 269.5 kB / 400.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7132, allocations: 0 / 400.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003323/0.7166, allocations: 0.6945 MB / 401.2 MB, free: 14.39 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.003156/0.7198, allocations: 0.7128 MB / 401.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.7222, allocations: 0.9576 MB / 402.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.7222, allocations: 0 / 402.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.7226, allocations: 125.2 kB / 403 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.7235, allocations: 90.8 kB / 403.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.7261, allocations: 1.056 MB / 404.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.7268, allocations: 0.8458 MB / 405 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.727, allocations: 31.44 kB / 405 MB, free: 10.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.727, allocations: 0 / 405 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Templates: time 0.03885/0.7659, allocations: 12.84 MB / 417.9 MB, free: 13.79 MB / 346.7 MB