Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.753/1.753, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005233/0.0005235, allocations: 8 kB / 233.8 MB, free: 3.082 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1139, allocations: 38.75 MB / 272.5 MB, free: 12.25 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.5169, allocations: 79.74 MB / 352.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5172, allocations: 71.28 kB / 352.3 MB, free: 10.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04582/0.563, allocations: 9.944 MB / 362.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5631, allocations: 0 / 362.3 MB, free: 2.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.436e-05/0.5631, allocations: 12 kB / 362.3 MB, free: 2.09 MB / 282.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.001309/0.5645, allocations: 0.565 MB / 362.9 MB, free: 1.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5645, allocations: 8.031 kB / 362.9 MB, free: 1.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.5646, allocations: 35.72 kB / 362.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/0.5655, allocations: 350.9 kB / 363.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.5656, allocations: 18.8 kB / 363.3 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.5656, allocations: 13.19 kB / 363.3 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.5662, allocations: 227.8 kB / 363.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5662, allocations: 0 / 363.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.5662, allocations: 5.188 kB / 363.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.5662, allocations: 4 kB / 363.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.5666, allocations: 89.44 kB / 363.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.5678, allocations: 0.4995 MB / 364.1 MB, free: 300 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.5683, allocations: 171.2 kB / 364.3 MB, free: 160 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.5683, allocations: 4 kB / 364.3 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.5684, allocations: 38.42 kB / 364.3 MB, free: 112 kB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.5684, allocations: 0 / 364.3 MB, free: 112 kB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008184/0.5692, allocations: 229.6 kB / 364.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.5694, allocations: 286.8 kB / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.5698, allocations: 288 kB / 365.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.5699, allocations: 28.39 kB / 365.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.5701, allocations: 205 kB / 365.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.5702, allocations: 50.2 kB / 365.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.5702, allocations: 11.55 kB / 365.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5703, allocations: 322.6 kB / 365.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5707, allocations: 103.1 kB / 365.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.5711, allocations: 171.4 kB / 366 MB, free: 14.51 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.5714, allocations: 124.7 kB / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5714, allocations: 0 / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007599/0.5722, allocations: 274.7 kB / 366.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.5722, allocations: 5.094 kB / 366.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.5723, allocations: 7.984 kB / 366.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5723, allocations: 0 / 366.4 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.5728, allocations: 59.83 kB / 366.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5729, allocations: 7.891 kB / 366.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.5731, allocations: 31.05 kB / 366.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.5732, allocations: 8 kB / 366.5 MB, free: 14.1 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 () * 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.0002375/0.5734, allocations: 144.1 kB / 366.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.5735, allocations: 23.72 kB / 366.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.811e-05/0.5736, allocations: 35.95 kB / 366.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5736, allocations: 0 / 366.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5736, allocations: 4 kB / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.5736, allocations: 3.953 kB / 366.7 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.5741, allocations: 268.7 kB / 366.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5741, allocations: 4 kB / 366.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003459/0.5744, allocations: 23.98 kB / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5745, allocations: 0 / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.5745, allocations: 7.609 kB / 367 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.5745, allocations: 4 kB / 367 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5745, allocations: 0 / 367 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007546/0.5753, allocations: 347.7 kB / 367.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.5755, allocations: 116.1 kB / 367.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.5755, allocations: 7.438 kB / 367.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5758, allocations: 11.42 kB / 367.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5758, allocations: 7.984 kB / 367.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.5758, allocations: 12 kB / 367.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.5761, allocations: 189 kB / 367.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5761, allocations: 0 / 367.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005562/0.5767, allocations: 101 kB / 367.8 MB, free: 12.89 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 () * 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.0003984/0.5771, allocations: 162.6 kB / 367.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.5778, allocations: 280.4 kB / 368.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5779, allocations: 0 / 368.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.5781, allocations: 73.59 kB / 368.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005946/0.5787, allocations: 71.03 kB / 368.3 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.5803, allocations: 0.6451 MB / 369 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.5809, allocations: 0.7758 MB / 369.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.581, allocations: 20.06 kB / 369.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.581, allocations: 0 / 369.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Templates: time 0.01036/0.5914, allocations: 3.859 MB / 373.6 MB, free: 7.07 MB / 298.7 MB