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.FilterWithRiseTime.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.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.1_cpp_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 1.589/1.589, allocations: 171.2 MB / 184.2 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.517e-05, allocations: 4 kB / 228.8 MB, free: 15.45 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2037, allocations: 38.77 MB / 267.6 MB, free: 9.445 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.3217, allocations: 79.66 MB / 347.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.322, allocations: 63.97 kB / 347.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2172/0.5392, allocations: 9.895 MB / 357.2 MB, free: 76.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.223e-06/0.5392, allocations: 0 / 357.2 MB, free: 76.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.345e-05/0.5393, allocations: 10.19 kB / 357.2 MB, free: 76.49 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009351/0.5402, allocations: 0.5104 MB / 357.7 MB, free: 76.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5403, allocations: 9.953 kB / 357.7 MB, free: 76.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5404, allocations: 36.84 kB / 357.8 MB, free: 76.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006621/0.5411, allocations: 349.4 kB / 358.1 MB, free: 75.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.5411, allocations: 10.84 kB / 358.1 MB, free: 75.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.5412, allocations: 19.28 kB / 358.1 MB, free: 75.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.5416, allocations: 215.4 kB / 358.3 MB, free: 75.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5416, allocations: 0 / 358.3 MB, free: 75.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.5417, allocations: 7.234 kB / 358.4 MB, free: 75.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.861e-06/0.5417, allocations: 4.25 kB / 358.4 MB, free: 75.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.5419, allocations: 82.12 kB / 358.4 MB, free: 75.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.543, allocations: 0.4958 MB / 358.9 MB, free: 75.49 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.5434, allocations: 165.2 kB / 359.1 MB, free: 75.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.5436, allocations: 55.06 kB / 359.1 MB, free: 75.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.5436, allocations: 3.812 kB / 359.1 MB, free: 75.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.5436, allocations: 36.78 kB / 359.2 MB, free: 75.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.543e-06/0.5436, allocations: 0 / 359.2 MB, free: 75.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004202/0.5441, allocations: 160.6 kB / 359.3 MB, free: 75.38 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5442, allocations: 287.6 kB / 359.6 MB, free: 75.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.5445, allocations: 252.9 kB / 359.9 MB, free: 74.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.5445, allocations: 30.67 kB / 359.9 MB, free: 74.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.5446, allocations: 203 kB / 360.1 MB, free: 74.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.5447, allocations: 54.2 kB / 360.2 MB, free: 74.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.5447, allocations: 6.453 kB / 360.2 MB, free: 74.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.5448, allocations: 324.5 kB / 360.5 MB, free: 74.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.545, allocations: 89.61 kB / 360.6 MB, free: 74.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.5452, allocations: 171.5 kB / 360.7 MB, free: 74.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.5455, allocations: 106.5 kB / 360.8 MB, free: 74.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-06/0.5455, allocations: 0 / 360.8 MB, free: 74.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000525/0.546, allocations: 268.7 kB / 361.1 MB, free: 74.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.5461, allocations: 5.5 kB / 361.1 MB, free: 74.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.5461, allocations: 6.281 kB / 361.1 MB, free: 74.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5461, allocations: 1.031 kB / 361.1 MB, free: 74.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.5465, allocations: 53.73 kB / 361.2 MB, free: 74.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.842e-06/0.5465, allocations: 1.375 kB / 361.2 MB, free: 74.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5467, allocations: 27.52 kB / 361.2 MB, free: 74.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.5467, allocations: 9.156 kB / 361.2 MB, free: 74.26 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 (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 8.391e-05/0.5468, allocations: 128.5 kB / 361.3 MB, free: 74.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.5469, allocations: 23.62 kB / 361.3 MB, free: 74.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.547, allocations: 34.92 kB / 361.4 MB, free: 74.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.393e-06/0.547, allocations: 1.156 kB / 361.4 MB, free: 74.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-06/0.547, allocations: 0.5625 kB / 361.4 MB, free: 74.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-06/0.5471, allocations: 2.297 kB / 361.4 MB, free: 74.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.5474, allocations: 273.4 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.23e-06/0.5474, allocations: 2.812 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.5477, allocations: 29.36 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.259e-06/0.5477, allocations: 0 / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.5478, allocations: 5.531 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.53e-06/0.5478, allocations: 1.312 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-06/0.5478, allocations: 4.094 kB / 361.7 MB, free: 73.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000495/0.5483, allocations: 326 kB / 362 MB, free: 73.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.5484, allocations: 110.7 kB / 362.1 MB, free: 73.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.5485, allocations: 8.156 kB / 362.1 MB, free: 73.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.5487, allocations: 9.5 kB / 362.1 MB, free: 73.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.5487, allocations: 11.2 kB / 362.1 MB, free: 73.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.5488, allocations: 0 / 362.1 MB, free: 73.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.549, allocations: 199.3 kB / 362.3 MB, free: 73.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.549, allocations: 3.938 kB / 362.3 MB, free: 73.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004813/0.5495, allocations: 92 kB / 362.4 MB, free: 73.55 MB / 298.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 () * 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.0002493/0.5497, allocations: 156.9 kB / 362.6 MB, free: 73.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/0.5501, allocations: 268.8 kB / 362.9 MB, free: 73.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.415e-06/0.5502, allocations: 3.281 kB / 362.9 MB, free: 73.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.5503, allocations: 60.5 kB / 362.9 MB, free: 73.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.5507, allocations: 72.31 kB / 363 MB, free: 73.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.5517, allocations: 478.2 kB / 363.5 MB, free: 73.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.552, allocations: 0.7831 MB / 364.2 MB, free: 72.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.5521, allocations: 22.44 kB / 364.3 MB, free: 72.43 MB / 298.7 MB Notification: Performance of SimCode: time 1.568e-06/0.5521, allocations: 0 / 364.3 MB, free: 72.43 MB / 298.7 MB Notification: Performance of Templates: time 0.006627/0.5587, allocations: 3.854 MB / 368.1 MB, free: 72.13 MB / 298.7 MB