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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.698/1.698, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.17e-05, allocations: 8 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07083/0.07088, allocations: 38.76 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.3676, allocations: 79.29 MB / 340.6 MB, free: 9.258 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.3679, allocations: 67.03 kB / 340.6 MB, free: 9.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1487/0.5166, allocations: 35.4 MB / 376 MB, free: 9.043 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5166, allocations: 0 / 376 MB, free: 9.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.5167, allocations: 12 kB / 376 MB, free: 9.031 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.002301/0.519, allocations: 0.8138 MB / 376.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5191, allocations: 8.031 kB / 376.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.5193, allocations: 43.53 kB / 376.9 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5204, allocations: 458.9 kB / 377.4 MB, free: 7.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.5204, allocations: 7.938 kB / 377.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.5205, allocations: 16 kB / 377.4 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003387/0.5209, allocations: 124.5 kB / 377.5 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.5215, allocations: 302.3 kB / 377.8 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5215, allocations: 0 / 377.8 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.5215, allocations: 7.922 kB / 377.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5216, allocations: 4 kB / 377.8 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.5232, allocations: 0.6303 MB / 378.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.524, allocations: 299 kB / 378.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.5242, allocations: 97.16 kB / 378.8 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.5243, allocations: 4.188 kB / 378.8 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.5243, allocations: 34.75 kB / 378.9 MB, free: 6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.867e-06/0.5243, allocations: 0 / 378.9 MB, free: 6 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006768/0.525, allocations: 274.8 kB / 379.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002281/0.5253, allocations: 363.8 kB / 379.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.5258, allocations: 337.1 kB / 379.8 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.5259, allocations: 29.7 kB / 379.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.5261, allocations: 243.5 kB / 380.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.5262, allocations: 82.81 kB / 380.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.5263, allocations: 0 / 380.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5265, allocations: 326.8 kB / 380.5 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.5269, allocations: 180.5 kB / 380.7 MB, free: 4.098 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.5274, allocations: 286.4 kB / 380.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.5281, allocations: 229.5 kB / 381.2 MB, free: 3.555 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.375e-06/0.5281, allocations: 0 / 381.2 MB, free: 3.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001515/0.5296, allocations: 0.5757 MB / 381.7 MB, free: 2.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5296, allocations: 4 kB / 381.7 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/0.5297, allocations: 11.98 kB / 381.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.5303, allocations: 118.5 kB / 381.9 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.5307, allocations: 67.91 kB / 381.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.786e-06/0.5307, allocations: 0 / 381.9 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.531, allocations: 51.36 kB / 382 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.5311, allocations: 15.95 kB / 382 MB, free: 2.695 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 () * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.5313, allocations: 116.9 kB / 382.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5314, allocations: 35.53 kB / 382.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.5315, allocations: 43.47 kB / 382.2 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.016e-06/0.5315, allocations: 4 kB / 382.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.5315, allocations: 0 / 382.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.103e-06/0.5316, allocations: 4 kB / 382.2 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.5321, allocations: 313.9 kB / 382.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5321, allocations: 0 / 382.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.5325, allocations: 43.92 kB / 382.5 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.78e-06/0.5325, allocations: 3.984 kB / 382.6 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.5326, allocations: 4 kB / 382.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5326, allocations: 0 / 382.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.882e-06/0.5326, allocations: 7.938 kB / 382.6 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.5335, allocations: 482.9 kB / 383 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.5336, allocations: 112.6 kB / 383.1 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/0.5337, allocations: 11.98 kB / 383.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.534, allocations: 12 kB / 383.2 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.5341, allocations: 11.97 kB / 383.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.5341, allocations: 8 kB / 383.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004411/0.5346, allocations: 247 kB / 383.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.5346, allocations: 0 / 383.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002475/0.5371, allocations: 0.6832 MB / 384.1 MB, free: 0.4961 MB / 314.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 () * 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.002659/0.5398, allocations: 0.7179 MB / 384.8 MB, free: 15.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.5413, allocations: 0.8301 MB / 385.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.196e-06/0.5413, allocations: 4 kB / 385.7 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.5416, allocations: 108.5 kB / 385.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.5422, allocations: 95.06 kB / 385.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.544, allocations: 0.7656 MB / 386.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.5446, allocations: 0.8458 MB / 387.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.5448, allocations: 27.44 kB / 387.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.859e-06/0.5448, allocations: 0 / 387.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Templates: time 0.02602/0.5708, allocations: 12.89 MB / 400.4 MB, free: 40 kB / 330.7 MB