Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003645, allocations: 11.98 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09839, allocations: 44.51 MB / 309 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6034, allocations: 84.92 MB / 394 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.6038, allocations: 69.81 kB / 394 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04224/0.646, allocations: 9.924 MB / 403.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6461, allocations: 0 / 403.9 MB, free: 11.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4e-05/0.6461, allocations: 19.62 kB / 404 MB, free: 11.44 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.00114/0.6473, allocations: 0.568 MB / 404.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.6473, allocations: 15.69 kB / 404.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.6474, allocations: 35.23 kB / 404.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.6482, allocations: 339.5 kB / 404.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6482, allocations: 11.38 kB / 404.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.6483, allocations: 11.25 kB / 404.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.6487, allocations: 231.1 kB / 405.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.6487, allocations: 0 / 405.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.6487, allocations: 11.56 kB / 405.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6488, allocations: 0 / 405.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.6491, allocations: 88 kB / 405.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.6501, allocations: 0.4965 MB / 405.8 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.6505, allocations: 172 kB / 405.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.6506, allocations: 7.75 kB / 405.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.6506, allocations: 38.19 kB / 406 MB, free: 9.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.6506, allocations: 7.938 kB / 406 MB, free: 9.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006211/0.6512, allocations: 216.1 kB / 406.2 MB, free: 9.902 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.561e-05/0.6513, allocations: 293.6 kB / 406.5 MB, free: 9.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.6517, allocations: 278.8 kB / 406.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.6518, allocations: 28.95 kB / 406.8 MB, free: 9.379 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.6519, allocations: 158 kB / 406.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.016e-05/0.6519, allocations: 50.14 kB / 407 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.652, allocations: 11.59 kB / 407 MB, free: 9.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.6521, allocations: 333.6 kB / 407.3 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.6523, allocations: 99.38 kB / 407.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.6527, allocations: 169.7 kB / 407.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.653, allocations: 125 kB / 407.7 MB, free: 8.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.653, allocations: 0 / 407.7 MB, free: 8.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007007/0.6537, allocations: 310 kB / 408 MB, free: 8.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6537, allocations: 3.938 kB / 408 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/0.6538, allocations: 7.859 kB / 408 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.6538, allocations: 0 / 408 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.6543, allocations: 54.12 kB / 408.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6543, allocations: 0 / 408.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.6545, allocations: 30.58 kB / 408.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.6545, allocations: 7.719 kB / 408.1 MB, free: 8.652 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.0001915/0.6548, allocations: 148 kB / 408.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.6548, allocations: 27.42 kB / 408.3 MB, free: 8.516 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.09e-05/0.6549, allocations: 31.72 kB / 408.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6549, allocations: 0 / 408.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6549, allocations: 3.875 kB / 408.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6549, allocations: 0 / 408.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003263/0.6553, allocations: 267.3 kB / 408.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6553, allocations: 112 / 408.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.6556, allocations: 34.83 kB / 408.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6556, allocations: 0 / 408.6 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.6557, allocations: 19.75 kB / 408.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6557, allocations: 0 / 408.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6557, allocations: 0 / 408.6 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.6564, allocations: 339.2 kB / 409 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.6565, allocations: 96.39 kB / 409.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.6565, allocations: 15.39 kB / 409.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.6568, allocations: 15.61 kB / 409.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.6568, allocations: 7.641 kB / 409.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.6569, allocations: 3.875 kB / 409.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.6571, allocations: 193.8 kB / 409.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6571, allocations: 0 / 409.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005791/0.6577, allocations: 89.53 kB / 409.4 MB, free: 7.824 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.0003532/0.6581, allocations: 160.6 kB / 409.5 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006876/0.6588, allocations: 284 kB / 409.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6588, allocations: 0 / 409.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.659, allocations: 67.56 kB / 409.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.6596, allocations: 71.19 kB / 409.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.6611, allocations: 0.6219 MB / 410.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.6614, allocations: 0.7806 MB / 411.3 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.6617, allocations: 37.12 kB / 411.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.6618, allocations: 23.09 kB / 411.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6618, allocations: 0 / 411.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of Templates: time 0.01091/0.6727, allocations: 3.467 MB / 414.9 MB, free: 4.645 MB / 314.7 MB