Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Blocks.Examples.Filter") Notification: Performance of loadModel(Modelica): time 2.212/2.212, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 44.51 MB / 309 MB, free: 396 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.5945, allocations: 85.21 MB / 394.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5948, allocations: 81.33 kB / 394.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.17/0.7648, allocations: 35.53 MB / 429.9 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7649, allocations: 3.812 kB / 429.9 MB, free: 280 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.801e-05/0.765, allocations: 19.66 kB / 429.9 MB, free: 268 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.003715/0.7687, allocations: 0.8863 MB / 430.8 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7688, allocations: 15.69 kB / 430.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/0.7692, allocations: 50.53 kB / 430.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.771, allocations: 444 kB / 431.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.7711, allocations: 16.81 kB / 431.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.7712, allocations: 29.31 kB / 431.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.7723, allocations: 338.7 kB / 431.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.7723, allocations: 0 / 431.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.7724, allocations: 7.875 kB / 431.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.7724, allocations: 7.797 kB / 431.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.773, allocations: 149.3 kB / 431.8 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.7755, allocations: 0.6806 MB / 432.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.7769, allocations: 323.1 kB / 432.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/0.777, allocations: 8.047 kB / 432.8 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.7771, allocations: 34.56 kB / 432.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 4.147e-06/0.7771, allocations: 3.875 kB / 432.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.001596/0.7787, allocations: 390.3 kB / 433.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002572/0.779, allocations: 371.8 kB / 433.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/0.7798, allocations: 407 kB / 434 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.78, allocations: 35.92 kB / 434 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.7803, allocations: 196.5 kB / 434.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7804, allocations: 79.75 kB / 434.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.7805, allocations: 7.062 kB / 434.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.7807, allocations: 359.6 kB / 434.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007691/0.7815, allocations: 198.4 kB / 434.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.7824, allocations: 311.4 kB / 435.1 MB, free: 13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.7833, allocations: 237.3 kB / 435.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7833, allocations: 0 / 435.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002423/0.7857, allocations: 0.6365 MB / 436 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.7858, allocations: 11.95 kB / 436 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.788e-05/0.7859, allocations: 11.98 kB / 436 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009189/0.7868, allocations: 126.6 kB / 436.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.7876, allocations: 63.89 kB / 436.2 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.7943, allocations: 4.257 MB / 440.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.7949, allocations: 49.61 kB / 440.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.795, allocations: 15.38 kB / 440.5 MB, free: 8.074 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.0004743/0.7955, allocations: 190.1 kB / 440.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.7956, allocations: 35.53 kB / 440.8 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.7958, allocations: 42.56 kB / 440.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.7958, allocations: 7.938 kB / 440.8 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7959, allocations: 7.938 kB / 440.8 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.7959, allocations: 3.984 kB / 440.8 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007762/0.7967, allocations: 340.1 kB / 441.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7967, allocations: 3.953 kB / 441.2 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000772/0.7975, allocations: 43.59 kB / 441.2 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.7975, allocations: 4 kB / 441.2 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.7976, allocations: 7.75 kB / 441.2 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.7976, allocations: 4 kB / 441.2 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.7976, allocations: 3.984 kB / 441.2 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.7992, allocations: 0.5009 MB / 441.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.7994, allocations: 124.4 kB / 441.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.7996, allocations: 15.12 kB / 441.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.8, allocations: 15.55 kB / 441.9 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.8001, allocations: 7.984 kB / 441.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.8002, allocations: 11.8 kB / 441.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006263/0.8008, allocations: 265.5 kB / 442.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8008, allocations: 0 / 442.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003633/0.8045, allocations: 0.6889 MB / 442.8 MB, free: 5.957 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.002703/0.8072, allocations: 0.714 MB / 443.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.8095, allocations: 0.9518 MB / 444.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8096, allocations: 0 / 444.5 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.8099, allocations: 121.2 kB / 444.6 MB, free: 4.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.8108, allocations: 97.48 kB / 444.7 MB, free: 4.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.8131, allocations: 1.004 MB / 445.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.8138, allocations: 0.8484 MB / 446.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.8142, allocations: 70.91 kB / 446.6 MB, free: 2.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.8144, allocations: 27.44 kB / 446.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.8144, allocations: 0 / 446.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of Templates: time 0.03521/0.8496, allocations: 12.36 MB / 459 MB, free: 5.992 MB / 346.7 MB