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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.721/1.721, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.001214/0.001214, allocations: 55.91 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 46.63 MB / 325.3 MB, free: 1.898 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003162/0.3006, allocations: 1.823 MB / 327.1 MB, free: 460 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006297/0.3069, allocations: 3.538 MB / 330.7 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.3071, allocations: 7.781 kB / 330.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.3077, allocations: 130.7 kB / 330.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3078, allocations: 33.12 kB / 330.8 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005265/0.313, allocations: 1.782 MB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004198/0.3135, allocations: 299.1 kB / 332.9 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3136, allocations: 28.73 kB / 332.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3138, allocations: 123.5 kB / 333 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.314, allocations: 107.4 kB / 333.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.314, allocations: 12 kB / 333.2 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.3143, allocations: 143.7 kB / 333.3 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3145, allocations: 63.81 kB / 333.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3146, allocations: 103.3 kB / 333.5 MB, free: 11.78 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.315, allocations: 334.9 kB / 333.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.315, allocations: 0 / 333.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3151, allocations: 0 / 333.8 MB, free: 11.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3151, allocations: 0 / 333.8 MB, free: 11.45 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.0009262/0.316, allocations: 0.5802 MB / 334.4 MB, free: 10.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.316, allocations: 12.03 kB / 334.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.3161, allocations: 28.56 kB / 334.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3165, allocations: 280.2 kB / 334.7 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3165, allocations: 16.48 kB / 334.7 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.3166, allocations: 19.94 kB / 334.7 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3169, allocations: 198.1 kB / 334.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.3169, allocations: 0 / 334.9 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.3169, allocations: 8 kB / 334.9 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.317, allocations: 4 kB / 334.9 MB, free: 10.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.3171, allocations: 91.88 kB / 335 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.3181, allocations: 496.4 kB / 335.5 MB, free: 9.562 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3184, allocations: 166.4 kB / 335.7 MB, free: 9.391 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.3185, allocations: 64.83 kB / 335.7 MB, free: 9.324 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3185, allocations: 0 / 335.7 MB, free: 9.324 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3185, allocations: 42.55 kB / 335.8 MB, free: 9.273 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3185, allocations: 0 / 335.8 MB, free: 9.273 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005008/0.3191, allocations: 221.3 kB / 336 MB, free: 9.051 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.3192, allocations: 286.7 kB / 336.3 MB, free: 8.703 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.3195, allocations: 284.5 kB / 336.5 MB, free: 8.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.3195, allocations: 33.7 kB / 336.6 MB, free: 8.371 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3197, allocations: 152.4 kB / 336.7 MB, free: 8.219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.3197, allocations: 51.34 kB / 336.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.3198, allocations: 57.69 kB / 336.8 MB, free: 8.105 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3199, allocations: 338.8 kB / 337.2 MB, free: 7.766 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.3201, allocations: 103.9 kB / 337.3 MB, free: 7.664 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.3204, allocations: 172.5 kB / 337.4 MB, free: 7.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.3207, allocations: 217.4 kB / 337.6 MB, free: 7.246 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3207, allocations: 0 / 337.6 MB, free: 7.246 MB / 270.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004997/0.3212, allocations: 305.1 kB / 337.9 MB, free: 6.941 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3213, allocations: 8 kB / 338 MB, free: 6.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.3213, allocations: 3.984 kB / 338 MB, free: 6.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3213, allocations: 4 kB / 338 MB, free: 6.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.3216, allocations: 47.91 kB / 338 MB, free: 6.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3216, allocations: 4.109 kB / 338 MB, free: 6.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3217, allocations: 35.56 kB / 338 MB, free: 6.84 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3218, allocations: 11.98 kB / 338.1 MB, free: 6.828 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.0001405/0.3219, allocations: 149.8 kB / 338.2 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3219, allocations: 23.72 kB / 338.2 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.322, allocations: 25.97 kB / 338.3 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.322, allocations: 4 kB / 338.3 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.322, allocations: 0 / 338.3 MB, free: 6.617 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.322, allocations: 7.922 kB / 338.3 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.3223, allocations: 269.4 kB / 338.5 MB, free: 6.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3223, allocations: 3.938 kB / 338.5 MB, free: 6.293 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.3225, allocations: 23.98 kB / 338.6 MB, free: 6.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3225, allocations: 4 kB / 338.6 MB, free: 6.266 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.3226, allocations: 8 kB / 338.6 MB, free: 6.258 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3226, allocations: 0 / 338.6 MB, free: 6.258 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3226, allocations: 0 / 338.6 MB, free: 6.258 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004582/0.323, allocations: 331 kB / 338.9 MB, free: 5.918 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.3231, allocations: 108.8 kB / 339 MB, free: 5.793 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3232, allocations: 12 kB / 339 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3233, allocations: 12 kB / 339 MB, free: 5.77 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3233, allocations: 11.92 kB / 339 MB, free: 5.758 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.3234, allocations: 4 kB / 339 MB, free: 5.754 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.3235, allocations: 195.1 kB / 339.2 MB, free: 5.566 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3236, allocations: 0 / 339.2 MB, free: 5.566 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.3239, allocations: 79.98 kB / 339.3 MB, free: 5.488 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.0002561/0.3242, allocations: 135.2 kB / 339.4 MB, free: 5.344 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.3246, allocations: 296.9 kB / 339.7 MB, free: 5.035 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3247, allocations: 3.938 kB / 339.7 MB, free: 5.031 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3248, allocations: 59.95 kB / 339.8 MB, free: 4.973 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.3253, allocations: 81.14 kB / 339.9 MB, free: 4.895 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.3263, allocations: 0.5567 MB / 340.4 MB, free: 4.312 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3267, allocations: 0.7714 MB / 341.2 MB, free: 3.516 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.3268, allocations: 46.03 kB / 341.2 MB, free: 3.473 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.3269, allocations: 19.44 kB / 341.3 MB, free: 3.457 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3269, allocations: 0 / 341.3 MB, free: 3.457 MB / 270.1 MB Notification: Performance of Templates: time 0.008139/0.335, allocations: 3.749 MB / 345 MB, free: 15.71 MB / 286.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)