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.002139/0.00214, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.002413/0.002413, allocations: 198.9 kB / 18 MB, free: 5.078 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.831/1.831, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001433/0.001433, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1353, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003473/0.1388, allocations: 1.822 MB / 376.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2748/0.4137, allocations: 3.542 MB / 379.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.414, allocations: 5.75 kB / 379.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.4146, allocations: 133.7 kB / 380 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.4147, allocations: 38.7 kB / 380 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005299/0.4201, allocations: 1.772 MB / 381.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.4207, allocations: 300.9 kB / 382.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4209, allocations: 39.92 kB / 382.1 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.4211, allocations: 110.1 kB / 382.2 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4212, allocations: 107 kB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.4213, allocations: 12.5 kB / 382.3 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.4216, allocations: 141.4 kB / 382.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4217, allocations: 71.23 kB / 382.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.4218, allocations: 103.9 kB / 382.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.4223, allocations: 338.7 kB / 383 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4223, allocations: 1.125 kB / 383 MB, free: 9.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4223, allocations: 0 / 383 MB, free: 9.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4223, allocations: 4 kB / 383 MB, free: 9.387 MB / 318.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.000812/0.4231, allocations: 0.5801 MB / 383.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4232, allocations: 9.797 kB / 383.6 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.4233, allocations: 31.12 kB / 383.6 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.4237, allocations: 281.6 kB / 383.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.4237, allocations: 13.2 kB / 383.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.4238, allocations: 20.31 kB / 383.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.4241, allocations: 203.4 kB / 384.1 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.4241, allocations: 4 kB / 384.1 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.4241, allocations: 9.375 kB / 384.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.4241, allocations: 2.625 kB / 384.1 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.4243, allocations: 88.64 kB / 384.2 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007899/0.4251, allocations: 491.8 kB / 384.7 MB, free: 8.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.4254, allocations: 168.5 kB / 384.8 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4255, allocations: 58.77 kB / 384.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4256, allocations: 1.781 kB / 384.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.4256, allocations: 37.38 kB / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.4256, allocations: 0 / 384.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004869/0.4261, allocations: 211.6 kB / 385.1 MB, free: 7.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.4262, allocations: 298.8 kB / 385.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.4265, allocations: 278.9 kB / 385.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4265, allocations: 30.83 kB / 385.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.4266, allocations: 152.1 kB / 385.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.77e-05/0.4267, allocations: 51.8 kB / 385.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.4268, allocations: 59.03 kB / 386 MB, free: 7.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.4269, allocations: 343.9 kB / 386.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4271, allocations: 109.3 kB / 386.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.4273, allocations: 181.8 kB / 386.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.4277, allocations: 205.1 kB / 386.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4277, allocations: 0 / 386.8 MB, free: 6.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004987/0.4282, allocations: 314.9 kB / 387.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4282, allocations: 9.062 kB / 387.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.4283, allocations: 5.047 kB / 387.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4283, allocations: 1.125 kB / 387.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.4286, allocations: 52.64 kB / 387.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4286, allocations: 1.156 kB / 387.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.4287, allocations: 22.23 kB / 387.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4288, allocations: 13.05 kB / 387.2 MB, free: 6.52 MB / 318.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.0001292/0.4289, allocations: 152.8 kB / 387.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.429, allocations: 29.27 kB / 387.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.429, allocations: 31.16 kB / 387.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.429, allocations: 1.094 kB / 387.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.429, allocations: 1.188 kB / 387.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4291, allocations: 0.7031 kB / 387.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.4294, allocations: 267.5 kB / 387.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4294, allocations: 0 / 387.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.4296, allocations: 26.53 kB / 387.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4296, allocations: 3.938 kB / 387.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4296, allocations: 8.719 kB / 387.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4296, allocations: 4.688 kB / 387.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4296, allocations: 1.219 kB / 387.7 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.4301, allocations: 340.8 kB / 388.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.4301, allocations: 99.91 kB / 388.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.4302, allocations: 4.828 kB / 388.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4303, allocations: 11.88 kB / 388.2 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.4304, allocations: 10.61 kB / 388.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4304, allocations: 3.953 kB / 388.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.4306, allocations: 201.8 kB / 388.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4306, allocations: 0 / 388.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.431, allocations: 80.3 kB / 388.5 MB, free: 5.648 MB / 318.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.0002595/0.4313, allocations: 145.7 kB / 388.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.4318, allocations: 286.7 kB / 388.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4318, allocations: 1.062 kB / 388.9 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.4319, allocations: 62.23 kB / 389 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.4325, allocations: 70.25 kB / 389 MB, free: 5.359 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4336, allocations: 0.5513 MB / 389.6 MB, free: 5.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4339, allocations: 0.7704 MB / 390.4 MB, free: 4.336 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.4341, allocations: 45.3 kB / 390.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.4342, allocations: 20.62 kB / 390.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4342, allocations: 0 / 390.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Templates: time 0.009867/0.4441, allocations: 3.829 MB / 394.3 MB, free: 3.926 MB / 318.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)