Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008583/0.0008584, allocations: 88.16 kB / 16.31 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 181.5 kB / 17.21 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 12 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 47.58 MB / 327.7 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002392/0.1073, allocations: 1.487 MB / 329.2 MB, free: 2.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006208/0.1135, allocations: 3.406 MB / 332.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.1138, allocations: 7.875 kB / 332.6 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.1143, allocations: 103.5 kB / 332.7 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.1145, allocations: 35.7 kB / 332.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.1188, allocations: 1.356 MB / 334.1 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.1192, allocations: 267.1 kB / 334.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1194, allocations: 28.73 kB / 334.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1196, allocations: 91.58 kB / 334.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1197, allocations: 95.47 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.1197, allocations: 4 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.1201, allocations: 127.7 kB / 334.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1202, allocations: 63.75 kB / 334.8 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1203, allocations: 61.58 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.1207, allocations: 235.5 kB / 335.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1207, allocations: 4 kB / 335.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1207, allocations: 0 / 335.1 MB, free: 12.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1207, allocations: 0 / 335.1 MB, free: 12.71 MB / 286.1 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.0008364/0.1215, allocations: 0.5334 MB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1216, allocations: 12.03 kB / 335.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.1217, allocations: 27.62 kB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.122, allocations: 275.1 kB / 335.9 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1221, allocations: 12.14 kB / 335.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.1221, allocations: 27.89 kB / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1224, allocations: 211.8 kB / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1224, allocations: 0 / 336.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1225, allocations: 4 kB / 336.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1225, allocations: 4 kB / 336.2 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1227, allocations: 92.42 kB / 336.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.1235, allocations: 496.9 kB / 336.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1238, allocations: 170.4 kB / 336.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.124, allocations: 64.81 kB / 337 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.124, allocations: 0 / 337 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.124, allocations: 34.56 kB / 337 MB, free: 10.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.124, allocations: 0 / 337 MB, free: 10.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004687/0.1245, allocations: 225.4 kB / 337.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.1247, allocations: 298.7 kB / 337.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.125, allocations: 272.5 kB / 337.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.125, allocations: 33.7 kB / 337.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1252, allocations: 152.5 kB / 338 MB, free: 9.523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.1252, allocations: 51.38 kB / 338 MB, free: 9.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.1252, allocations: 7.938 kB / 338 MB, free: 9.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1254, allocations: 342.8 kB / 338.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1256, allocations: 95.94 kB / 338.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.1259, allocations: 176.5 kB / 338.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.1261, allocations: 127.9 kB / 338.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1262, allocations: 0 / 338.7 MB, free: 8.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005416/0.1267, allocations: 309.5 kB / 339 MB, free: 8.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1267, allocations: 4 kB / 339 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.1268, allocations: 7.984 kB / 339.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1268, allocations: 0 / 339.1 MB, free: 8.379 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.1271, allocations: 55.91 kB / 339.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1271, allocations: 0 / 339.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.1273, allocations: 35.62 kB / 339.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.1273, allocations: 8 kB / 339.1 MB, free: 8.281 MB / 286.1 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.0001905/0.1275, allocations: 149.8 kB / 339.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1276, allocations: 23.72 kB / 339.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.321e-05/0.1276, allocations: 25.97 kB / 339.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1277, allocations: 8 kB / 339.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.1277, allocations: 0 / 339.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1277, allocations: 0 / 339.4 MB, free: 8.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.128, allocations: 273.4 kB / 339.6 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.128, allocations: 0 / 339.6 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.1282, allocations: 24.08 kB / 339.6 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1283, allocations: 3.938 kB / 339.6 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.1283, allocations: 8 kB / 339.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.1283, allocations: 4 kB / 339.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1283, allocations: 0 / 339.7 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.1289, allocations: 347.5 kB / 340 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.129, allocations: 100.8 kB / 340.1 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.129, allocations: 8.062 kB / 340.1 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.1291, allocations: 7.984 kB / 340.1 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1292, allocations: 11.98 kB / 340.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.1292, allocations: 8 kB / 340.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.1294, allocations: 187.1 kB / 340.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1294, allocations: 0 / 340.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1298, allocations: 91.83 kB / 340.4 MB, free: 6.934 MB / 286.1 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.0003252/0.1301, allocations: 147.2 kB / 340.5 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004538/0.1306, allocations: 285 kB / 340.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1306, allocations: 3.938 kB / 340.8 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.1307, allocations: 71.95 kB / 340.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.1312, allocations: 72.33 kB / 341 MB, free: 6.336 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1323, allocations: 0.6165 MB / 341.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1328, allocations: 0.7716 MB / 342.4 MB, free: 4.898 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1329, allocations: 37.92 kB / 342.4 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.133, allocations: 19.44 kB / 342.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of SimCode: time 4.3e-07/0.133, allocations: 0 / 342.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of Templates: time 0.007943/0.1409, allocations: 3.481 MB / 345.9 MB, free: 1.371 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)