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.797/1.797, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003607, allocations: 15.98 kB / 233.2 MB, free: 3.059 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07027/0.07065, allocations: 38.76 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00227/0.07297, allocations: 1.463 MB / 273.4 MB, free: 10.73 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007111/0.08013, allocations: 3.385 MB / 276.8 MB, free: 7.332 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.08038, allocations: 15.88 kB / 276.8 MB, free: 7.316 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005136/0.08091, allocations: 147.5 kB / 276.9 MB, free: 7.172 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.08108, allocations: 35.88 kB / 277 MB, free: 7.137 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.08574, allocations: 1.305 MB / 278.3 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.08622, allocations: 215.5 kB / 278.5 MB, free: 5.625 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.08637, allocations: 36.72 kB / 278.5 MB, free: 5.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.08657, allocations: 95.56 kB / 278.6 MB, free: 5.496 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.08674, allocations: 95.47 kB / 278.7 MB, free: 5.402 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.08679, allocations: 4 kB / 278.7 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.08712, allocations: 107.8 kB / 278.8 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.08724, allocations: 59.81 kB / 278.9 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.08733, allocations: 65.52 kB / 278.9 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.08774, allocations: 243.7 kB / 279.2 MB, free: 4.926 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.344e-06/0.08776, allocations: 4 kB / 279.2 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.08777, allocations: 0 / 279.2 MB, free: 4.922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.08778, allocations: 0 / 279.2 MB, free: 4.922 MB / 234.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.0009166/0.08871, allocations: 0.5412 MB / 279.7 MB, free: 4.332 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.08876, allocations: 12.03 kB / 279.7 MB, free: 4.32 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.17e-05/0.08885, allocations: 27.72 kB / 279.8 MB, free: 4.293 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.0893, allocations: 279 kB / 280 MB, free: 3.984 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.08934, allocations: 12.14 kB / 280 MB, free: 3.973 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.873e-05/0.08941, allocations: 20 kB / 280.1 MB, free: 3.953 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.08983, allocations: 199.8 kB / 280.3 MB, free: 3.723 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.08987, allocations: 4 kB / 280.3 MB, free: 3.719 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.0899, allocations: 4 kB / 280.3 MB, free: 3.715 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-06/0.08992, allocations: 4 kB / 280.3 MB, free: 3.711 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.0902, allocations: 84.5 kB / 280.3 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.09134, allocations: 0.4889 MB / 280.8 MB, free: 3.09 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.09177, allocations: 166.5 kB / 281 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.09181, allocations: 8 kB / 281 MB, free: 2.91 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.09186, allocations: 34.55 kB / 281 MB, free: 2.867 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 3.244e-06/0.09187, allocations: 0 / 281 MB, free: 2.867 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006296/0.09251, allocations: 225.5 kB / 281.3 MB, free: 2.641 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.09272, allocations: 286.7 kB / 281.5 MB, free: 2.293 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.09314, allocations: 288.5 kB / 281.8 MB, free: 2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.09319, allocations: 25.7 kB / 281.8 MB, free: 1.969 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.09338, allocations: 210.9 kB / 282.1 MB, free: 1.762 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.09345, allocations: 51.3 kB / 282.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.09348, allocations: 3.984 kB / 282.1 MB, free: 1.707 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.09366, allocations: 322.8 kB / 282.4 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.09393, allocations: 107.9 kB / 282.5 MB, free: 1.277 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.09428, allocations: 176.5 kB / 282.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.09458, allocations: 123.9 kB / 282.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-06/0.09461, allocations: 4 kB / 282.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006613/0.09528, allocations: 289.6 kB / 283.1 MB, free: 0.6602 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.09532, allocations: 8.109 kB / 283.1 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.09536, allocations: 11.92 kB / 283.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.09538, allocations: 0 / 283.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.09572, allocations: 55.91 kB / 283.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.997e-06/0.09574, allocations: 96 / 283.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.09592, allocations: 35.66 kB / 283.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.09596, allocations: 8 kB / 283.2 MB, free: 0.543 MB / 234.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.0002092/0.09618, allocations: 141.8 kB / 283.4 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.09627, allocations: 27.62 kB / 283.4 MB, free: 376 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.09636, allocations: 34.02 kB / 283.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-06/0.09637, allocations: 0 / 283.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.602e-06/0.09639, allocations: 0 / 283.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-06/0.0964, allocations: 0 / 283.4 MB, free: 340 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.09683, allocations: 277.5 kB / 283.7 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-06/0.09685, allocations: 7.938 kB / 283.7 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.09714, allocations: 24.05 kB / 283.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.594e-06/0.09716, allocations: 0 / 283.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.0972, allocations: 7.984 kB / 283.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.319e-06/0.09722, allocations: 0 / 283.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.102e-06/0.09723, allocations: 0 / 283.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.09792, allocations: 355 kB / 284.1 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.09809, allocations: 116.7 kB / 284.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.09815, allocations: 4 kB / 284.2 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.09834, allocations: 11.98 kB / 284.2 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.09841, allocations: 11.97 kB / 284.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.09844, allocations: 4 kB / 284.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002638/0.09871, allocations: 195.1 kB / 284.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.09872, allocations: 0 / 284.4 MB, free: 15.26 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.09922, allocations: 79.98 kB / 284.5 MB, free: 15.18 MB / 250.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.0003028/0.09954, allocations: 143.2 kB / 284.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.1002, allocations: 284.9 kB / 284.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.794e-06/0.1002, allocations: 3.938 kB / 284.9 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1004, allocations: 67.91 kB / 285 MB, free: 14.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.1008, allocations: 79.22 kB / 285.1 MB, free: 14.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1023, allocations: 0.6533 MB / 285.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.1028, allocations: 0.7755 MB / 286.5 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.1029, allocations: 19.44 kB / 286.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.605e-06/0.1029, allocations: 0 / 286.5 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Templates: time 0.008498/0.1114, allocations: 3.866 MB / 290.4 MB, free: 9.211 MB / 250.7 MB