Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Blocks.Examples.Filter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Blocks.Examples.Filter") Notification: Performance of loadModel(Modelica): time 2.223/2.223, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 8 kB / 264.5 MB, free: 13.65 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 44.51 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5493, allocations: 85.2 MB / 394.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.5496, allocations: 73.38 kB / 394.2 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2005/0.75, allocations: 35.53 MB / 429.8 MB, free: 128 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.7501, allocations: 192 / 429.8 MB, free: 128 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.72e-05/0.7502, allocations: 23.62 kB / 429.8 MB, free: 112 kB / 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.00314/0.7533, allocations: 0.8877 MB / 430.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7534, allocations: 11.62 kB / 430.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.7536, allocations: 46.7 kB / 430.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.7547, allocations: 446.7 kB / 431.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.7548, allocations: 21.91 kB / 431.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/0.7549, allocations: 25.5 kB / 431.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006992/0.7556, allocations: 337 kB / 431.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7556, allocations: 0 / 431.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.7557, allocations: 12.56 kB / 431.6 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.7557, allocations: 11.86 kB / 431.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.7562, allocations: 152.5 kB / 431.7 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.7581, allocations: 0.6837 MB / 432.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009604/0.7591, allocations: 309 kB / 432.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.7591, allocations: 12.05 kB / 432.7 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.7592, allocations: 38.19 kB / 432.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.7592, allocations: 3.875 kB / 432.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001134/0.7603, allocations: 390.1 kB / 433.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/0.7606, allocations: 367.5 kB / 433.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/0.7612, allocations: 410 kB / 433.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.7613, allocations: 34.95 kB / 433.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.7615, allocations: 234.6 kB / 434.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.7616, allocations: 85.25 kB / 434.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.7617, allocations: 3.938 kB / 434.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.7618, allocations: 333.7 kB / 434.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.7624, allocations: 200.5 kB / 434.8 MB, free: 12.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.763, allocations: 316.9 kB / 435.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.7636, allocations: 235.8 kB / 435.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7636, allocations: 3.938 kB / 435.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001696/0.7653, allocations: 0.6181 MB / 435.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7654, allocations: 7.828 kB / 435.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.405e-05/0.7654, allocations: 11.73 kB / 435.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/0.7661, allocations: 127.9 kB / 436.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.7667, allocations: 61.09 kB / 436.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/0.7718, allocations: 4.251 MB / 440.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.7723, allocations: 54.14 kB / 440.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.861e-05/0.7724, allocations: 15.23 kB / 440.5 MB, free: 8.438 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.0003849/0.7728, allocations: 174.4 kB / 440.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.773, allocations: 47.67 kB / 440.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.7731, allocations: 44.06 kB / 440.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7731, allocations: 4 kB / 440.7 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.7731, allocations: 3.938 kB / 440.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7731, allocations: 3.984 kB / 440.7 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.7737, allocations: 336.4 kB / 441.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7737, allocations: 8 kB / 441.1 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.7744, allocations: 51.36 kB / 441.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7744, allocations: 0 / 441.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.7744, allocations: 7.25 kB / 441.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.7745, allocations: 4 kB / 441.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7745, allocations: 0 / 441.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.7757, allocations: 0.503 MB / 441.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.7758, allocations: 120.5 kB / 441.7 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.776, allocations: 7.438 kB / 441.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.7763, allocations: 23.42 kB / 441.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.7764, allocations: 15.48 kB / 441.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.7764, allocations: 7.984 kB / 441.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004773/0.7769, allocations: 269 kB / 442.1 MB, free: 6.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7769, allocations: 0 / 442.1 MB, free: 6.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003156/0.7801, allocations: 0.6914 MB / 442.7 MB, free: 6.324 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.002995/0.7831, allocations: 0.7232 MB / 443.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.7854, allocations: 0.9408 MB / 444.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.7855, allocations: 4 kB / 444.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.7859, allocations: 127 kB / 444.5 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.7867, allocations: 94.23 kB / 444.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.7892, allocations: 1.052 MB / 445.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.7898, allocations: 0.8525 MB / 446.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.79, allocations: 27.44 kB / 446.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of SimCode: time 1.402e-06/0.79, allocations: 0 / 446.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of Templates: time 0.03276/0.8228, allocations: 12.84 MB / 459.4 MB, free: 5.836 MB / 346.7 MB