Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002214/0.002214, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.582/1.582, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.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.001395/0.001395, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2953, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003135/0.2984, allocations: 1.866 MB / 326.5 MB, free: 484 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0062/0.3047, allocations: 3.941 MB / 330.5 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.3049, allocations: 5.969 kB / 330.5 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.3054, allocations: 114.8 kB / 330.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.896e-05/0.3055, allocations: 29.69 kB / 330.6 MB, free: 13.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00593/0.3114, allocations: 1.375 MB / 332 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.3123, allocations: 282.1 kB / 332.3 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.3125, allocations: 44.64 kB / 332.3 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.3127, allocations: 95.64 kB / 332.4 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3129, allocations: 103.4 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.3129, allocations: 8 kB / 332.5 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.3133, allocations: 135.6 kB / 332.6 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3135, allocations: 63.8 kB / 332.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3136, allocations: 103.3 kB / 332.8 MB, free: 12.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.3141, allocations: 326.9 kB / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3141, allocations: 0 / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3141, allocations: 0 / 333.1 MB, free: 11.69 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.3141, allocations: 0 / 333.1 MB, free: 11.69 MB / 270.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.0009329/0.315, allocations: 0.5763 MB / 333.7 MB, free: 11.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3151, allocations: 15.97 kB / 333.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.466e-05/0.3152, allocations: 32.56 kB / 333.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.3155, allocations: 280.2 kB / 334 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3156, allocations: 12.55 kB / 334 MB, free: 10.69 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.058e-05/0.3156, allocations: 19.94 kB / 334.1 MB, free: 10.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.316, allocations: 206.1 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.316, allocations: 3.938 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.3161, allocations: 12 kB / 334.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3161, allocations: 0 / 334.3 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.3163, allocations: 87.88 kB / 334.4 MB, free: 10.33 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3174, allocations: 492.4 kB / 334.8 MB, free: 9.801 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.3177, allocations: 166.5 kB / 335 MB, free: 9.629 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.3179, allocations: 60.86 kB / 335.1 MB, free: 9.566 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.3179, allocations: 4 kB / 335.1 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3179, allocations: 34.56 kB / 335.1 MB, free: 9.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.318, allocations: 0 / 335.1 MB, free: 9.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004938/0.3185, allocations: 225.2 kB / 335.3 MB, free: 9.293 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.3186, allocations: 290.7 kB / 335.6 MB, free: 8.941 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.3189, allocations: 280.5 kB / 335.9 MB, free: 8.656 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3189, allocations: 29.7 kB / 335.9 MB, free: 8.621 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3191, allocations: 164.4 kB / 336.1 MB, free: 8.457 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3191, allocations: 43.36 kB / 336.1 MB, free: 8.414 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.031e-05/0.3192, allocations: 65.67 kB / 336.2 MB, free: 8.344 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3194, allocations: 338.8 kB / 336.5 MB, free: 8.004 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.3195, allocations: 103.9 kB / 336.6 MB, free: 7.902 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.3198, allocations: 180.5 kB / 336.8 MB, free: 7.695 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.3201, allocations: 205.2 kB / 337 MB, free: 7.488 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3201, allocations: 0 / 337 MB, free: 7.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004836/0.3206, allocations: 309.3 kB / 337.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3206, allocations: 4 kB / 337.3 MB, free: 7.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.3207, allocations: 4 kB / 337.3 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3207, allocations: 4 kB / 337.3 MB, free: 7.168 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.321, allocations: 55.95 kB / 337.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.321, allocations: 0 / 337.4 MB, free: 7.113 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3212, allocations: 27.62 kB / 337.4 MB, free: 7.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3212, allocations: 12 kB / 337.4 MB, free: 7.074 MB / 270.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.0001522/0.3214, allocations: 145.9 kB / 337.5 MB, free: 6.922 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.3214, allocations: 27.75 kB / 337.6 MB, free: 6.895 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.227e-05/0.3215, allocations: 37.91 kB / 337.6 MB, free: 6.855 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3215, allocations: 0 / 337.6 MB, free: 6.855 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3215, allocations: 4 kB / 337.6 MB, free: 6.852 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3215, allocations: 7.938 kB / 337.6 MB, free: 6.844 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.3218, allocations: 269.4 kB / 337.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3218, allocations: 0 / 337.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.322, allocations: 27.92 kB / 337.9 MB, free: 6.504 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.322, allocations: 0 / 337.9 MB, free: 6.504 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.322, allocations: 4 kB / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3221, allocations: 0 / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3221, allocations: 0 / 337.9 MB, free: 6.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.3225, allocations: 335.1 kB / 338.2 MB, free: 6.156 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3226, allocations: 104.7 kB / 338.3 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3227, allocations: 7.984 kB / 338.3 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3228, allocations: 12.19 kB / 338.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.3229, allocations: 15.86 kB / 338.4 MB, free: 6 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.3229, allocations: 4 kB / 338.4 MB, free: 5.996 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.3231, allocations: 199.1 kB / 338.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3231, allocations: 0 / 338.6 MB, free: 5.805 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003689/0.3234, allocations: 76 kB / 338.6 MB, free: 5.73 MB / 270.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.0002983/0.3238, allocations: 143.2 kB / 338.8 MB, free: 5.578 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004721/0.3242, allocations: 284.9 kB / 339.1 MB, free: 5.281 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3242, allocations: 0 / 339.1 MB, free: 5.281 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.3244, allocations: 63.89 kB / 339.1 MB, free: 5.219 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.3249, allocations: 72.34 kB / 339.2 MB, free: 5.148 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.326, allocations: 0.6158 MB / 339.8 MB, free: 4.508 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.3265, allocations: 0.7716 MB / 340.6 MB, free: 3.711 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.3266, allocations: 41.92 kB / 340.6 MB, free: 3.672 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.3267, allocations: 23.44 kB / 340.6 MB, free: 3.652 MB / 270.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3267, allocations: 0 / 340.6 MB, free: 3.652 MB / 270.1 MB Notification: Performance of Templates: time 0.007683/0.3344, allocations: 3.605 MB / 344.3 MB, free: 52 kB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)