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.001406/0.001406, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001782/0.001782, allocations: 190 kB / 17.55 MB, free: 5.934 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.566/1.566, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001163/0.001163, allocations: 55.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1086, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003371/0.1121, allocations: 1.876 MB / 328 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006134/0.1182, allocations: 3.603 MB / 331.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1184, allocations: 3.938 kB / 331.6 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006284/0.1191, allocations: 107.5 kB / 331.7 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.1192, allocations: 39.7 kB / 331.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.1236, allocations: 1.602 MB / 333.4 MB, free: 13.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.124, allocations: 299.1 kB / 333.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1241, allocations: 36.73 kB / 333.7 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1243, allocations: 115.5 kB / 333.8 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1244, allocations: 103.4 kB / 333.9 MB, free: 13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1245, allocations: 12 kB / 333.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.1247, allocations: 139.7 kB / 334 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.892e-05/0.1248, allocations: 75.75 kB / 334.1 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.1249, allocations: 99.28 kB / 334.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.1253, allocations: 346.9 kB / 334.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1253, allocations: 0 / 334.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1253, allocations: 0 / 334.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1253, allocations: 0 / 334.6 MB, free: 12.34 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.0009522/0.1263, allocations: 0.5685 MB / 335.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1263, allocations: 8.031 kB / 335.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.981e-05/0.1264, allocations: 28.66 kB / 335.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.1268, allocations: 292.1 kB / 335.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1268, allocations: 8.562 kB / 335.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.1268, allocations: 15.94 kB / 335.5 MB, free: 11.33 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.1272, allocations: 210.1 kB / 335.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1272, allocations: 0 / 335.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1273, allocations: 4 kB / 335.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1273, allocations: 0 / 335.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.1275, allocations: 91.88 kB / 335.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008089/0.1283, allocations: 492.5 kB / 336.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1286, allocations: 174.5 kB / 336.4 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.1287, allocations: 56.81 kB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1288, allocations: 8 kB / 336.5 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1288, allocations: 38.59 kB / 336.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1288, allocations: 0 / 336.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004289/0.1292, allocations: 213.2 kB / 336.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.1294, allocations: 290.7 kB / 337 MB, free: 9.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.1297, allocations: 284.5 kB / 337.3 MB, free: 9.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1297, allocations: 29.7 kB / 337.3 MB, free: 9.281 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1298, allocations: 156.4 kB / 337.5 MB, free: 9.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1299, allocations: 51.25 kB / 337.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/0.13, allocations: 61.7 kB / 337.6 MB, free: 9.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1301, allocations: 342.8 kB / 337.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.1303, allocations: 99.94 kB / 338 MB, free: 8.566 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1305, allocations: 188.4 kB / 338.2 MB, free: 8.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.1309, allocations: 205.2 kB / 338.4 MB, free: 8.148 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.131, allocations: 0 / 338.4 MB, free: 8.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004323/0.1314, allocations: 305.4 kB / 338.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1314, allocations: 8 kB / 338.7 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.1314, allocations: 3.984 kB / 338.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1315, allocations: 4.109 kB / 338.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1317, allocations: 51.91 kB / 338.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1318, allocations: 4 kB / 338.8 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1319, allocations: 35.61 kB / 338.8 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1319, allocations: 12 kB / 338.8 MB, free: 7.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.132, allocations: 141.8 kB / 339 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.1321, allocations: 27.72 kB / 339 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1322, allocations: 25.97 kB / 339 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1322, allocations: 0 / 339 MB, free: 7.523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1322, allocations: 4 kB / 339 MB, free: 7.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1322, allocations: 3.938 kB / 339 MB, free: 7.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.1325, allocations: 273.4 kB / 339.3 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1325, allocations: 0 / 339.3 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.1327, allocations: 27.98 kB / 339.3 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1327, allocations: 0 / 339.3 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1327, allocations: 4 kB / 339.3 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1327, allocations: 3.938 kB / 339.3 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1327, allocations: 3.984 kB / 339.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.1332, allocations: 343 kB / 339.7 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.1332, allocations: 96.83 kB / 339.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1333, allocations: 4 kB / 339.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1334, allocations: 12.05 kB / 339.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1335, allocations: 11.92 kB / 339.8 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1335, allocations: 4 kB / 339.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.1337, allocations: 195.1 kB / 340 MB, free: 6.477 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 0 / 340 MB, free: 6.477 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.134, allocations: 79.98 kB / 340 MB, free: 6.398 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.1343, allocations: 147.1 kB / 340.2 MB, free: 6.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.1347, allocations: 297.5 kB / 340.5 MB, free: 5.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1348, allocations: 0 / 340.5 MB, free: 5.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1349, allocations: 63.91 kB / 340.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.1354, allocations: 96.61 kB / 340.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.1364, allocations: 0.6026 MB / 341.2 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1367, allocations: 0.7753 MB / 342 MB, free: 4.348 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1369, allocations: 41.91 kB / 342.1 MB, free: 4.309 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.1369, allocations: 27.44 kB / 342.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1369, allocations: 0 / 342.1 MB, free: 4.281 MB / 286.1 MB Notification: Performance of Templates: time 0.007367/0.1443, allocations: 3.705 MB / 345.8 MB, free: 0.5859 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)