Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Blocks.Examples.Filter") Notification: Performance of loadModel(Modelica): time 1.787/1.787, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005379/0.000538, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1189, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6347, allocations: 80.03 MB / 352.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6351, allocations: 71.72 kB / 352.7 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1939/0.829, allocations: 35.61 MB / 388.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.829, allocations: 0 / 388.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.8291, allocations: 24.06 kB / 388.3 MB, free: 10.11 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.003315/0.8325, allocations: 0.8823 MB / 389.2 MB, free: 9.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.8325, allocations: 15.97 kB / 389.2 MB, free: 9.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.8328, allocations: 47.39 kB / 389.3 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.8341, allocations: 450.5 kB / 389.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.8342, allocations: 15.97 kB / 389.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.8343, allocations: 31.53 kB / 389.8 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008198/0.8351, allocations: 338.1 kB / 390.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.8352, allocations: 0 / 390.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.8352, allocations: 6.812 kB / 390.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.8353, allocations: 4 kB / 390.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.8357, allocations: 145.2 kB / 390.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002079/0.8378, allocations: 0.6949 MB / 391 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.839, allocations: 320.6 kB / 391.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.8391, allocations: 192 / 391.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.8391, allocations: 38.25 kB / 391.3 MB, free: 7.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.8391, allocations: 4 kB / 391.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001267/0.8404, allocations: 391.6 kB / 391.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002441/0.8407, allocations: 363.8 kB / 392 MB, free: 6.574 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/0.8414, allocations: 406.7 kB / 392.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.8415, allocations: 33.45 kB / 392.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.8417, allocations: 195.4 kB / 392.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8419, allocations: 87.81 kB / 392.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.8419, allocations: 6.938 kB / 392.8 MB, free: 6.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8421, allocations: 357.5 kB / 393.1 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.8427, allocations: 198.6 kB / 393.3 MB, free: 5.531 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/0.8434, allocations: 313.7 kB / 393.6 MB, free: 5.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.8441, allocations: 235.5 kB / 393.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.8441, allocations: 0 / 393.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001886/0.846, allocations: 0.6385 MB / 394.5 MB, free: 4.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.8461, allocations: 4 kB / 394.5 MB, free: 4.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/0.8461, allocations: 15.97 kB / 394.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007279/0.8469, allocations: 130.8 kB / 394.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.8475, allocations: 71.16 kB / 394.7 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.8529, allocations: 4.261 MB / 399 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.8534, allocations: 50.67 kB / 399 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.8535, allocations: 15.62 kB / 399 MB, free: 15.91 MB / 330.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.0003935/0.8539, allocations: 170.6 kB / 399.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8541, allocations: 51.38 kB / 399.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.8542, allocations: 44.94 kB / 399.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8542, allocations: 4 kB / 399.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8542, allocations: 0 / 399.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8542, allocations: 7.938 kB / 399.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.8549, allocations: 340.1 kB / 399.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.8549, allocations: 7.984 kB / 399.6 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.8556, allocations: 43.42 kB / 399.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.8556, allocations: 0 / 399.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.8557, allocations: 15.44 kB / 399.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.8557, allocations: 0 / 399.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.8557, allocations: 4 kB / 399.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.8569, allocations: 0.5035 MB / 400.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.8571, allocations: 112.6 kB / 400.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.8572, allocations: 19.69 kB / 400.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.8575, allocations: 15.8 kB / 400.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.8576, allocations: 11.98 kB / 400.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.8576, allocations: 4 kB / 400.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.8581, allocations: 274.6 kB / 400.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.8582, allocations: 0 / 400.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003238/0.8614, allocations: 0.7028 MB / 401.3 MB, free: 13.78 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.003341/0.8648, allocations: 0.7101 MB / 402 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.8672, allocations: 0.952 MB / 403 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.8672, allocations: 0 / 403 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004012/0.8676, allocations: 121.9 kB / 403.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.8685, allocations: 97.47 kB / 403.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.8711, allocations: 1.007 MB / 404.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.8718, allocations: 0.8419 MB / 405.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004251/0.8722, allocations: 70.92 kB / 405.1 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.8724, allocations: 27.44 kB / 405.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8724, allocations: 0 / 405.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of Templates: time 0.04696/0.9193, allocations: 12.37 MB / 417.5 MB, free: 13.6 MB / 346.7 MB