Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008/0.0007997, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000829/0.000829, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004695/0.0004696, allocations: 12 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.274, allocations: 47.58 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001857/0.2759, allocations: 1.487 MB / 327.9 MB, free: 208 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.2812, allocations: 3.407 MB / 331.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2814, allocations: 5.812 kB / 331.4 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.2818, allocations: 114.9 kB / 331.5 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2819, allocations: 25.31 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.2863, allocations: 1.353 MB / 332.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.2868, allocations: 263.1 kB / 333.1 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2869, allocations: 32.48 kB / 333.1 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.2872, allocations: 97.19 kB / 333.2 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2873, allocations: 91.02 kB / 333.3 MB, free: 12.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.2874, allocations: 10.03 kB / 333.3 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003325/0.2877, allocations: 125.1 kB / 333.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.2879, allocations: 59.25 kB / 333.5 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.288, allocations: 59.98 kB / 333.6 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.2883, allocations: 236.9 kB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2883, allocations: 0 / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2883, allocations: 4 kB / 333.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2884, allocations: 0 / 333.8 MB, free: 12.17 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.0009748/0.2893, allocations: 0.5373 MB / 334.3 MB, free: 11.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2894, allocations: 12.02 kB / 334.4 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.076e-05/0.2895, allocations: 31.62 kB / 334.4 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.2898, allocations: 271.1 kB / 334.6 MB, free: 11.24 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2899, allocations: 16.14 kB / 334.7 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.2899, allocations: 23.95 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.2903, allocations: 199.8 kB / 334.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2903, allocations: 3.938 kB / 334.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2903, allocations: 8 kB / 334.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2903, allocations: 3.938 kB / 334.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002034/0.2905, allocations: 92.5 kB / 335 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009923/0.2915, allocations: 0.4928 MB / 335.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.2918, allocations: 162.5 kB / 335.6 MB, free: 10.15 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.292, allocations: 60.83 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.292, allocations: 4 kB / 335.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.292, allocations: 34.56 kB / 335.7 MB, free: 10.04 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.292, allocations: 0 / 335.7 MB, free: 10.04 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004937/0.2925, allocations: 225.4 kB / 336 MB, free: 9.816 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2927, allocations: 294.7 kB / 336.2 MB, free: 9.461 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.293, allocations: 280.6 kB / 336.5 MB, free: 9.172 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.293, allocations: 33.69 kB / 336.6 MB, free: 9.133 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.2931, allocations: 156.4 kB / 336.7 MB, free: 8.977 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.2932, allocations: 47.27 kB / 336.8 MB, free: 8.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.2932, allocations: 0 / 336.8 MB, free: 8.93 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2933, allocations: 338.9 kB / 337.1 MB, free: 8.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.2935, allocations: 107.9 kB / 337.2 MB, free: 8.484 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2937, allocations: 180.5 kB / 337.4 MB, free: 8.277 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.2939, allocations: 127.9 kB / 337.5 MB, free: 8.152 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2939, allocations: 0 / 337.5 MB, free: 8.152 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004593/0.2944, allocations: 305.4 kB / 337.8 MB, free: 7.848 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2944, allocations: 4 kB / 337.8 MB, free: 7.844 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.2944, allocations: 7.984 kB / 337.8 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2945, allocations: 0 / 337.8 MB, free: 7.836 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.2947, allocations: 51.97 kB / 337.8 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2948, allocations: 0 / 337.8 MB, free: 7.785 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2949, allocations: 35.62 kB / 337.9 MB, free: 7.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.2949, allocations: 8 kB / 337.9 MB, free: 7.742 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/0.2951, allocations: 149.8 kB / 338 MB, free: 7.586 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.2951, allocations: 23.72 kB / 338.1 MB, free: 7.562 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.2952, allocations: 33.97 kB / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2952, allocations: 0 / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2952, allocations: 0 / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2952, allocations: 3.984 kB / 338.1 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.2955, allocations: 273.4 kB / 338.4 MB, free: 7.207 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2955, allocations: 0 / 338.4 MB, free: 7.207 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2957, allocations: 27.98 kB / 338.4 MB, free: 7.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2957, allocations: 0 / 338.4 MB, free: 7.18 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2958, allocations: 7.984 kB / 338.4 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2958, allocations: 4.031 kB / 338.4 MB, free: 7.168 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2958, allocations: 3.938 kB / 338.4 MB, free: 7.164 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.2963, allocations: 351.5 kB / 338.8 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.2963, allocations: 96.89 kB / 338.8 MB, free: 6.691 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2964, allocations: 8 kB / 338.9 MB, free: 6.684 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2965, allocations: 16.05 kB / 338.9 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.2966, allocations: 7.984 kB / 338.9 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.2966, allocations: 0 / 338.9 MB, free: 6.66 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.2968, allocations: 199.1 kB / 339.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2968, allocations: 4 kB / 339.1 MB, free: 6.465 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.2972, allocations: 68 kB / 339.1 MB, free: 6.398 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 (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.0002947/0.2975, allocations: 155 kB / 339.3 MB, free: 6.234 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.2979, allocations: 284.9 kB / 339.6 MB, free: 5.938 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.2979, allocations: 4 kB / 339.6 MB, free: 5.934 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2981, allocations: 63.91 kB / 339.6 MB, free: 5.871 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.2986, allocations: 76.31 kB / 339.7 MB, free: 5.797 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2996, allocations: 0.6126 MB / 340.3 MB, free: 5.16 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3, allocations: 0.7677 MB / 341.1 MB, free: 4.367 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.3001, allocations: 45.91 kB / 341.1 MB, free: 4.324 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3002, allocations: 19.44 kB / 341.2 MB, free: 4.305 MB / 270.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3002, allocations: 0 / 341.2 MB, free: 4.305 MB / 270.1 MB Notification: Performance of Templates: time 0.007687/0.3079, allocations: 3.471 MB / 344.6 MB, free: 0.8359 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1)