Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") translateModel(Modelica.ComplexBlocks.Examples.ShowTransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007948/0.007949, allocations: 172.2 kB / 16.27 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.842/1.842, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.000654/0.0006538, allocations: 14.66 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3368, allocations: 47.59 MB / 327 MB, free: 1.352 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.001802/0.3387, allocations: 1.304 MB / 328.3 MB, free: 328 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3399, allocations: 0.676 MB / 329 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.34, allocations: 1.406 kB / 329 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.3402, allocations: 39.42 kB / 329 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.3404, allocations: 35.09 kB / 329.1 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3417, allocations: 0.5621 MB / 329.6 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3419, allocations: 107.1 kB / 329.7 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.342, allocations: 31.28 kB / 329.8 MB, free: 15.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.3422, allocations: 49.66 kB / 329.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3424, allocations: 82.06 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.3424, allocations: 5.031 kB / 329.9 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.3427, allocations: 131.4 kB / 330 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.885e-05/0.3428, allocations: 29.72 kB / 330.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.3429, allocations: 79.58 kB / 330.1 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3432, allocations: 215.3 kB / 330.3 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3432, allocations: 1.156 kB / 330.4 MB, free: 14.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3432, allocations: 0 / 330.4 MB, free: 14.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.3433, allocations: 4 kB / 330.4 MB, free: 14.86 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001609/0.3449, allocations: 0.5333 MB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.345, allocations: 13.38 kB / 330.9 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.3463, allocations: 172.7 kB / 331.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3466, allocations: 194.3 kB / 331.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.3466, allocations: 8.312 kB / 331.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3466, allocations: 9.875 kB / 331.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.3471, allocations: 197.3 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3471, allocations: 0 / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.3472, allocations: 8.859 kB / 331.5 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.3472, allocations: 9.516 kB / 331.5 MB, free: 13.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.3477, allocations: 177.5 kB / 331.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3487, allocations: 0.5389 MB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.3492, allocations: 188.7 kB / 332.4 MB, free: 13.28 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.3494, allocations: 105.3 kB / 332.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.3495, allocations: 5.25 kB / 332.5 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3495, allocations: 39.69 kB / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.3495, allocations: 0 / 332.5 MB, free: 13.17 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007729/0.3503, allocations: 292.5 kB / 332.8 MB, free: 13.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.3504, allocations: 53.44 kB / 332.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3507, allocations: 188.6 kB / 333.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3507, allocations: 29.7 kB / 333.1 MB, free: 12.77 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3508, allocations: 109.9 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.3509, allocations: 53.52 kB / 333.2 MB, free: 12.62 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.3509, allocations: 18.22 kB / 333.3 MB, free: 12.6 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3511, allocations: 325.9 kB / 333.6 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3513, allocations: 80.5 kB / 333.7 MB, free: 12.24 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3515, allocations: 112.6 kB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.352, allocations: 191.8 kB / 334 MB, free: 12.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.352, allocations: 4.969 kB / 334 MB, free: 12.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005495/0.3526, allocations: 244.3 kB / 334.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.3526, allocations: 6.219 kB / 334.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3526, allocations: 7.938 kB / 334.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3526, allocations: 0 / 334.2 MB, free: 11.9 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3529, allocations: 40.06 kB / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3529, allocations: 7.922 kB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3531, allocations: 19.84 kB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3531, allocations: 15.98 kB / 334.3 MB, free: 11.82 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001234/0.3533, allocations: 125.8 kB / 334.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.3533, allocations: 15.81 kB / 334.4 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.3539, allocations: 282.8 kB / 334.7 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3539, allocations: 4 kB / 334.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3539, allocations: 0 / 334.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.354, allocations: 3.984 kB / 334.7 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.3543, allocations: 285.4 kB / 335 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3543, allocations: 4 kB / 335 MB, free: 11.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.3545, allocations: 39.91 kB / 335 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3545, allocations: 7.938 kB / 335 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.3546, allocations: 11.92 kB / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3546, allocations: 0 / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3546, allocations: 0 / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005631/0.3551, allocations: 347.1 kB / 335.4 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.353e-05/0.3552, allocations: 96.86 kB / 335.5 MB, free: 10.52 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.3553, allocations: 11.92 kB / 335.5 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3554, allocations: 8 kB / 335.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.3555, allocations: 15.97 kB / 335.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3555, allocations: 8 kB / 335.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3556, allocations: 135.9 kB / 335.7 MB, free: 10.34 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3557, allocations: 0 / 335.7 MB, free: 10.34 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3559, allocations: 28 kB / 335.7 MB, free: 10.32 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001569/0.3561, allocations: 107.2 kB / 335.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005/0.3566, allocations: 195.8 kB / 336 MB, free: 10.01 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3566, allocations: 0 / 336 MB, free: 10.01 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.3569, allocations: 124 kB / 336.1 MB, free: 9.891 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3573, allocations: 12 kB / 336.1 MB, free: 9.879 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.3579, allocations: 380.3 kB / 336.5 MB, free: 9.48 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3583, allocations: 0.7283 MB / 337.2 MB, free: 8.727 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3585, allocations: 33.39 kB / 337.3 MB, free: 8.691 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.3585, allocations: 23.42 kB / 337.3 MB, free: 8.672 MB / 270.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3586, allocations: 0 / 337.3 MB, free: 8.672 MB / 270.1 MB Notification: Performance of Templates: time 0.005502/0.3641, allocations: 1.914 MB / 339.2 MB, free: 6.754 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.makefile (rm -f Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & ./Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1)