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.FilterWithRiseTime.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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003607, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09931, allocations: 44.5 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5471, allocations: 84.91 MB / 393.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5474, allocations: 72.38 kB / 393.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04135/0.5888, allocations: 9.909 MB / 403.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.5888, allocations: 7.859 kB / 403.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.716e-05/0.5889, allocations: 11.81 kB / 403.9 MB, free: 10.96 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001126/0.59, allocations: 0.5658 MB / 404.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.5901, allocations: 11.78 kB / 404.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.5902, allocations: 39.2 kB / 404.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.5909, allocations: 339.2 kB / 404.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.5909, allocations: 11.7 kB / 404.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.591, allocations: 19.12 kB / 404.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.5915, allocations: 227.9 kB / 405.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5915, allocations: 0 / 405.1 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.5915, allocations: 10.66 kB / 405.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5916, allocations: 0 / 405.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.5919, allocations: 92.52 kB / 405.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.5929, allocations: 0.496 MB / 405.7 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.5933, allocations: 173.8 kB / 405.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.5934, allocations: 3.984 kB / 405.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.5934, allocations: 41.55 kB / 405.9 MB, free: 9.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.5934, allocations: 4 kB / 405.9 MB, free: 9.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006435/0.5941, allocations: 222.8 kB / 406.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.796e-05/0.5942, allocations: 286.6 kB / 406.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5945, allocations: 281.5 kB / 406.7 MB, free: 8.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.5946, allocations: 25.7 kB / 406.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5947, allocations: 210.4 kB / 406.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.5947, allocations: 52.81 kB / 406.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.5948, allocations: 3.625 kB / 406.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/0.5948, allocations: 322.3 kB / 407.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/0.5952, allocations: 99.16 kB / 407.4 MB, free: 8.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.5955, allocations: 179.5 kB / 407.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.5958, allocations: 115 kB / 407.6 MB, free: 8.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5958, allocations: 3.938 kB / 407.7 MB, free: 8.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006462/0.5965, allocations: 292.1 kB / 407.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5965, allocations: 3.906 kB / 407.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/0.5966, allocations: 11.84 kB / 408 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5966, allocations: 0 / 408 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.597, allocations: 50.69 kB / 408 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5971, allocations: 3.938 kB / 408 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.5973, allocations: 27.17 kB / 408 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.5973, allocations: 7.719 kB / 408 MB, free: 8.125 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.000196/0.5975, allocations: 147.5 kB / 408.2 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.5976, allocations: 35.2 kB / 408.2 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.5977, allocations: 28.66 kB / 408.2 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5977, allocations: 3.938 kB / 408.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5977, allocations: 0 / 408.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5977, allocations: 0 / 408.3 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.5981, allocations: 266.5 kB / 408.5 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5981, allocations: 3.984 kB / 408.5 MB, free: 7.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.5984, allocations: 27.3 kB / 408.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.5984, allocations: 0 / 408.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.5985, allocations: 15.77 kB / 408.6 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.5985, allocations: 3.938 kB / 408.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5985, allocations: 3.984 kB / 408.6 MB, free: 7.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006507/0.5992, allocations: 337.7 kB / 408.9 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.5992, allocations: 92.7 kB / 409 MB, free: 7.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.5993, allocations: 15.36 kB / 409 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.5995, allocations: 15.77 kB / 409 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.5996, allocations: 11.83 kB / 409 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5996, allocations: 3.906 kB / 409 MB, free: 7.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002279/0.5998, allocations: 191.8 kB / 409.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5999, allocations: 0 / 409.2 MB, free: 7.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005131/0.6004, allocations: 99.88 kB / 409.3 MB, free: 7.285 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002813/0.6007, allocations: 163.7 kB / 409.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006078/0.6013, allocations: 278.6 kB / 409.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6013, allocations: 0 / 409.7 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.6015, allocations: 68.56 kB / 409.8 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.6021, allocations: 65.08 kB / 409.9 MB, free: 7.012 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6035, allocations: 0.6531 MB / 410.5 MB, free: 6.582 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.6038, allocations: 0.7732 MB / 411.3 MB, free: 5.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.77e-05/0.6039, allocations: 22.84 kB / 411.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6039, allocations: 3.938 kB / 411.3 MB, free: 5.836 MB / 314.7 MB Notification: Performance of Templates: time 0.008463/0.6124, allocations: 3.86 MB / 415.2 MB, free: 3.871 MB / 314.7 MB