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.001899/0.001899, 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.001906/0.001907, allocations: 193.1 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.775/1.775, allocations: 205.1 MB / 222.4 MB, free: 4.543 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.001288/0.001288, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3105, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00331/0.314, allocations: 1.592 MB / 326.9 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3152, allocations: 0.6806 MB / 327.6 MB, free: 48 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.3152, allocations: 2.688 kB / 327.6 MB, free: 48 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.3155, allocations: 51.12 kB / 327.6 MB, free: 16 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.3158, allocations: 42.64 kB / 327.7 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3171, allocations: 0.5865 MB / 328.3 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3174, allocations: 106.6 kB / 328.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3176, allocations: 40.53 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.3178, allocations: 63.11 kB / 328.5 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.318, allocations: 77.39 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.373e-05/0.318, allocations: 9.969 kB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002633/0.3183, allocations: 132.2 kB / 328.7 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.3184, allocations: 33.86 kB / 328.7 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.3185, allocations: 62.08 kB / 328.8 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.3189, allocations: 218.6 kB / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3189, allocations: 0 / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3189, allocations: 4 kB / 329 MB, free: 15.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.3189, allocations: 4.938 kB / 329 MB, free: 15.07 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.001653/0.3206, allocations: 0.5466 MB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3206, allocations: 14.31 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.322, allocations: 167.5 kB / 329.7 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3222, allocations: 190.4 kB / 329.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3223, allocations: 9.219 kB / 329.9 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.3223, allocations: 18.38 kB / 329.9 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.3228, allocations: 190.1 kB / 330.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3228, allocations: 0 / 330.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.3228, allocations: 5.062 kB / 330.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.3228, allocations: 5.312 kB / 330.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.3233, allocations: 161.7 kB / 330.3 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3243, allocations: 0.5444 MB / 330.8 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.3248, allocations: 157.2 kB / 331 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.325, allocations: 101.1 kB / 331.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.325, allocations: 2.281 kB / 331.1 MB, free: 13.44 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3251, allocations: 39.64 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.3251, allocations: 3.938 kB / 331.1 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007488/0.3258, allocations: 252.1 kB / 331.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3259, allocations: 56.53 kB / 331.4 MB, free: 13.19 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.3261, allocations: 185.5 kB / 331.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3262, allocations: 26.8 kB / 331.6 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.3262, allocations: 113.9 kB / 331.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3263, allocations: 41.3 kB / 331.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.3264, allocations: 36.31 kB / 331.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3265, allocations: 326.5 kB / 332.1 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3267, allocations: 69.58 kB / 332.2 MB, free: 12.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.327, allocations: 92.11 kB / 332.3 MB, free: 12.42 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.3274, allocations: 170.6 kB / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3274, allocations: 0 / 332.5 MB, free: 12.32 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005053/0.3279, allocations: 218.8 kB / 332.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3279, allocations: 8.406 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3279, allocations: 1.25 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.328, allocations: 1.219 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.3282, allocations: 37.53 kB / 332.7 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3282, allocations: 1.125 kB / 332.7 MB, free: 12.17 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.3284, allocations: 18.61 kB / 332.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3284, allocations: 16.55 kB / 332.8 MB, free: 12.15 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.000118/0.3285, allocations: 127.6 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.3286, allocations: 13.47 kB / 332.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.3292, allocations: 253.5 kB / 333.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3292, allocations: 3.938 kB / 333.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.3292, allocations: 8 kB / 333.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3292, allocations: 0 / 333.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3296, allocations: 273.4 kB / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3296, allocations: 0 / 333.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.3298, allocations: 39.91 kB / 333.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.3298, allocations: 3.938 kB / 333.5 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.3298, allocations: 7.984 kB / 333.5 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3298, allocations: 4 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3299, allocations: 3.938 kB / 333.5 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.3304, allocations: 322.1 kB / 333.8 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.3305, allocations: 100.8 kB / 333.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.3305, allocations: 4 kB / 333.9 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3307, allocations: 7.984 kB / 333.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.3307, allocations: 15.98 kB / 333.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3308, allocations: 7.984 kB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3309, allocations: 148.2 kB / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3309, allocations: 0 / 334.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3312, allocations: 28 kB / 334.1 MB, free: 10.78 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 (18): * Single equations (assignments): 18 * 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.0001549/0.3314, allocations: 103.2 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004983/0.3319, allocations: 191.9 kB / 334.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3319, allocations: 0 / 334.4 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.3321, allocations: 95.88 kB / 334.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.3324, allocations: 23.89 kB / 334.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.3331, allocations: 323.2 kB / 334.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3335, allocations: 0.7319 MB / 335.6 MB, free: 9.262 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.3336, allocations: 37.39 kB / 335.6 MB, free: 9.223 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.3337, allocations: 19.42 kB / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3337, allocations: 0 / 335.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of Templates: time 0.00532/0.339, allocations: 1.949 MB / 337.6 MB, free: 7.254 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)