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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.568/1.568, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.283e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 38.76 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3197, allocations: 79.95 MB / 347.5 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.32, allocations: 63.97 kB / 347.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3976/0.7176, allocations: 35.52 MB / 383.1 MB, free: 63.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.7176, allocations: 3.938 kB / 383.1 MB, free: 63.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/0.7177, allocations: 16 kB / 383.1 MB, free: 63.68 MB / 298.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.001832/0.7195, allocations: 0.8136 MB / 383.9 MB, free: 62.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7196, allocations: 12.03 kB / 384 MB, free: 62.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.7197, allocations: 43.53 kB / 384 MB, free: 62.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007955/0.7205, allocations: 453.6 kB / 384.4 MB, free: 62.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.7206, allocations: 16.28 kB / 384.5 MB, free: 62.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.7206, allocations: 27.94 kB / 384.5 MB, free: 62.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.7211, allocations: 322.5 kB / 384.8 MB, free: 61.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7211, allocations: 4 kB / 384.8 MB, free: 61.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.7212, allocations: 11.98 kB / 384.8 MB, free: 61.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.7212, allocations: 4 kB / 384.8 MB, free: 61.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.7215, allocations: 132.8 kB / 384.9 MB, free: 61.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.7228, allocations: 0.6874 MB / 385.6 MB, free: 60.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.7235, allocations: 309 kB / 385.9 MB, free: 60.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.7237, allocations: 101.2 kB / 386 MB, free: 60.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.7237, allocations: 8.188 kB / 386 MB, free: 60.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.7238, allocations: 38.7 kB / 386.1 MB, free: 60.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.721e-06/0.7238, allocations: 0 / 386.1 MB, free: 60.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005575/0.7243, allocations: 283.3 kB / 386.4 MB, free: 60.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.7244, allocations: 367.8 kB / 386.7 MB, free: 59.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.7248, allocations: 351 kB / 387.1 MB, free: 59.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.7249, allocations: 33.7 kB / 387.1 MB, free: 59.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.725, allocations: 243.2 kB / 387.3 MB, free: 59.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.7251, allocations: 86.8 kB / 387.4 MB, free: 59.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.7251, allocations: 8 kB / 387.4 MB, free: 59.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.7252, allocations: 330.8 kB / 387.7 MB, free: 58.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.7256, allocations: 184.5 kB / 387.9 MB, free: 58.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.726, allocations: 298.2 kB / 388.2 MB, free: 58.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.7264, allocations: 234.6 kB / 388.4 MB, free: 58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7264, allocations: 4 kB / 388.4 MB, free: 57.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001186/0.7276, allocations: 0.5916 MB / 389 MB, free: 57.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.7277, allocations: 8 kB / 389 MB, free: 57.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.099e-05/0.7277, allocations: 11.98 kB / 389.1 MB, free: 57.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.7282, allocations: 122.5 kB / 389.2 MB, free: 57.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.7286, allocations: 67.89 kB / 389.2 MB, free: 57.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.7319, allocations: 4.225 MB / 393.5 MB, free: 52.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.7322, allocations: 47.48 kB / 393.5 MB, free: 52.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.7323, allocations: 19.98 kB / 393.5 MB, free: 52.48 MB / 298.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): 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.0001153/0.7324, allocations: 125 kB / 393.7 MB, free: 52.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.7325, allocations: 39.44 kB / 393.7 MB, free: 52.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.506e-05/0.7326, allocations: 47.53 kB / 393.7 MB, free: 52.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7326, allocations: 0 / 393.7 MB, free: 52.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.703e-06/0.7326, allocations: 0 / 393.7 MB, free: 52.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-06/0.7326, allocations: 3.953 kB / 393.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.733, allocations: 349.4 kB / 394.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-06/0.7331, allocations: 0 / 394.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.7334, allocations: 47.86 kB / 394.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.431e-06/0.7335, allocations: 7.984 kB / 394.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.7335, allocations: 12 kB / 394.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.922e-06/0.7335, allocations: 0 / 394.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7335, allocations: 0 / 394.2 MB, free: 51.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.7342, allocations: 498.5 kB / 394.6 MB, free: 51.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.7343, allocations: 116.6 kB / 394.8 MB, free: 51.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.7344, allocations: 11.98 kB / 394.8 MB, free: 51.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.7346, allocations: 12 kB / 394.8 MB, free: 51.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.7347, allocations: 19.97 kB / 394.8 MB, free: 51.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.7347, allocations: 8 kB / 394.8 MB, free: 51.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002995/0.7351, allocations: 265.2 kB / 395.1 MB, free: 50.86 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.9e-07/0.7351, allocations: 4 kB / 395.1 MB, free: 50.86 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002152/0.7372, allocations: 0.6912 MB / 395.8 MB, free: 50.16 MB / 298.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.001621/0.7389, allocations: 0.7158 MB / 396.5 MB, free: 49.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.7402, allocations: 0.9291 MB / 397.4 MB, free: 48.44 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.213e-06/0.7402, allocations: 4 kB / 397.4 MB, free: 48.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.7404, allocations: 115.8 kB / 397.5 MB, free: 48.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.741, allocations: 93.42 kB / 397.6 MB, free: 48.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.7424, allocations: 0.7816 MB / 398.4 MB, free: 47.42 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.7427, allocations: 0.8497 MB / 399.2 MB, free: 46.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.7428, allocations: 31.38 kB / 399.3 MB, free: 46.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.59e-06/0.7429, allocations: 0 / 399.3 MB, free: 46.51 MB / 298.7 MB Notification: Performance of Templates: time 0.01964/0.7625, allocations: 12.78 MB / 412.1 MB, free: 33.72 MB / 298.7 MB