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.001432/0.001433, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002053/0.002054, allocations: 195 kB / 16.25 MB, free: 6.621 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.668/1.668, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.00145/0.001451, allocations: 51.91 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3728, allocations: 46.63 MB / 324.8 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.004021/0.3769, allocations: 1.65 MB / 326.5 MB, free: 0.582 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3784, allocations: 0.6722 MB / 327.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3785, allocations: 2.344 kB / 327.2 MB, free: 56 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003783/0.3789, allocations: 50.55 kB / 327.2 MB, free: 24 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.3792, allocations: 27.17 kB / 327.2 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3808, allocations: 0.5638 MB / 327.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.3812, allocations: 112.8 kB / 327.9 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.3814, allocations: 28.06 kB / 327.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.3817, allocations: 59.8 kB / 328 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3819, allocations: 82.98 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.382, allocations: 8.531 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.3823, allocations: 140.5 kB / 328.2 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.3824, allocations: 38.83 kB / 328.3 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3825, allocations: 54.08 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.383, allocations: 228.8 kB / 328.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.383, allocations: 1 kB / 328.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.574e-06/0.3831, allocations: 0 / 328.5 MB, free: 15.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3831, allocations: 3.938 kB / 328.5 MB, free: 15.12 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.002105/0.3852, allocations: 0.5584 MB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.3853, allocations: 9.406 kB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3868, allocations: 172.7 kB / 329.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.387, allocations: 185.7 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.3871, allocations: 17.03 kB / 329.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.3871, allocations: 11.38 kB / 329.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.3876, allocations: 190.9 kB / 329.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3877, allocations: 0 / 329.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.3877, allocations: 1.406 kB / 329.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.3877, allocations: 9.141 kB / 329.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.3882, allocations: 167.5 kB / 329.8 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3896, allocations: 0.5378 MB / 330.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.3901, allocations: 176.6 kB / 330.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.3904, allocations: 107.7 kB / 330.7 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.3904, allocations: 10.08 kB / 330.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3905, allocations: 35.78 kB / 330.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.3905, allocations: 0 / 330.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008908/0.3914, allocations: 277.6 kB / 331 MB, free: 13.27 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.3914, allocations: 61.7 kB / 331 MB, free: 13.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3917, allocations: 187.4 kB / 331.2 MB, free: 13.05 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3917, allocations: 26.95 kB / 331.2 MB, free: 13.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3919, allocations: 109.7 kB / 331.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.3919, allocations: 49.8 kB / 331.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/0.392, allocations: 34.42 kB / 331.4 MB, free: 12.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3922, allocations: 330.3 kB / 331.8 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3924, allocations: 79.03 kB / 331.8 MB, free: 12.47 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.3927, allocations: 103.7 kB / 331.9 MB, free: 12.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.3931, allocations: 195.5 kB / 332.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3932, allocations: 0 / 332.1 MB, free: 12.28 MB / 270.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005627/0.3937, allocations: 218 kB / 332.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.3938, allocations: 5.906 kB / 332.3 MB, free: 12.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3938, allocations: 5.344 kB / 332.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3938, allocations: 1.281 kB / 332.4 MB, free: 12.15 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3941, allocations: 39.97 kB / 332.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.3941, allocations: 14.5 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.3943, allocations: 14.94 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.3943, allocations: 8.797 kB / 332.4 MB, free: 12.11 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.0001527/0.3945, allocations: 132.1 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.3945, allocations: 13.38 kB / 332.6 MB, free: 11.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.3952, allocations: 274.7 kB / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.3953, allocations: 2.188 kB / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3953, allocations: 0 / 332.8 MB, free: 11.81 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3953, allocations: 5.016 kB / 332.8 MB, free: 11.8 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.3957, allocations: 290.9 kB / 333.1 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3957, allocations: 0 / 333.1 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3959, allocations: 35.97 kB / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3959, allocations: 0 / 333.2 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.396, allocations: 15.86 kB / 333.2 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.396, allocations: 4 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.396, allocations: 4 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3965, allocations: 335.3 kB / 333.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.3966, allocations: 92.86 kB / 333.6 MB, free: 10.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.3966, allocations: 11.92 kB / 333.6 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.3968, allocations: 12 kB / 333.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.3969, allocations: 19.97 kB / 333.6 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3969, allocations: 8 kB / 333.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3971, allocations: 135.9 kB / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3971, allocations: 0 / 333.8 MB, free: 10.79 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.3974, allocations: 28 kB / 333.8 MB, free: 10.77 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.0001745/0.3976, allocations: 107.2 kB / 333.9 MB, free: 10.65 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005645/0.3982, allocations: 195.8 kB / 334.1 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3982, allocations: 0 / 334.1 MB, free: 10.46 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.3984, allocations: 111.8 kB / 334.2 MB, free: 10.35 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.3988, allocations: 14.97 kB / 334.2 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.3995, allocations: 381.3 kB / 334.6 MB, free: 9.938 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3998, allocations: 0.7356 MB / 335.3 MB, free: 9.176 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4, allocations: 33.41 kB / 335.4 MB, free: 9.141 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.4001, allocations: 23.42 kB / 335.4 MB, free: 9.121 MB / 270.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4001, allocations: 3.938 kB / 335.4 MB, free: 9.117 MB / 270.1 MB Notification: Performance of Templates: time 0.005516/0.4056, allocations: 2.019 MB / 337.4 MB, free: 7.094 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)