Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001343/0.001343, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 212.4 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 64.78 kB / 378.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2967, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003518/0.3002, allocations: 1.719 MB / 433.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3018, allocations: 0.7788 MB / 434.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.84e-05/0.3018, allocations: 4 kB / 434.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.3021, allocations: 51.73 kB / 434.4 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.3024, allocations: 39.7 kB / 434.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3035, allocations: 0.517 MB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.3037, allocations: 123.6 kB / 435.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3039, allocations: 17.73 kB / 435.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.304, allocations: 63.77 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3043, allocations: 95.59 kB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3043, allocations: 8 kB / 435.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.3046, allocations: 119.9 kB / 435.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.3047, allocations: 35.84 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.3047, allocations: 67.53 kB / 435.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.3051, allocations: 196.1 kB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3051, allocations: 3.984 kB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3051, allocations: 4 kB / 435.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3051, allocations: 0 / 435.7 MB, free: 3.074 MB / 334.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.001465/0.3066, allocations: 473.2 kB / 436.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3066, allocations: 8.031 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.067e-05/0.3067, allocations: 46.73 kB / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.3073, allocations: 100.7 kB / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3076, allocations: 166.2 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.3076, allocations: 8.375 kB / 436.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.3077, allocations: 12.31 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003925/0.3081, allocations: 162.5 kB / 436.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3081, allocations: 3.984 kB / 436.7 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3081, allocations: 4 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3081, allocations: 8 kB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.3085, allocations: 155.8 kB / 436.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3096, allocations: 0.5267 MB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.3101, allocations: 146.4 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.3103, allocations: 68.81 kB / 437.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3103, allocations: 3.984 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.3103, allocations: 30.56 kB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.3103, allocations: 0 / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006696/0.311, allocations: 217.6 kB / 437.8 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3111, allocations: 55.41 kB / 437.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.3113, allocations: 211.1 kB / 438.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3113, allocations: 25.7 kB / 438.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3114, allocations: 128.2 kB / 438.2 MB, free: 388 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3115, allocations: 31.7 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.3116, allocations: 37.7 kB / 438.3 MB, free: 312 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.3117, allocations: 326.8 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.3119, allocations: 55.95 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.3121, allocations: 88.25 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.3125, allocations: 156.2 kB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3125, allocations: 0 / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004417/0.3129, allocations: 205.7 kB / 439.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3129, allocations: 4 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.313, allocations: 0 / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.313, allocations: 4.094 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.3132, allocations: 31.86 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3132, allocations: 4 kB / 439.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3133, allocations: 23.88 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.3133, allocations: 4 kB / 439.2 MB, free: 15.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 14 * 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.0001427/0.3135, allocations: 141.8 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.3135, allocations: 23.86 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.314, allocations: 182.9 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.314, allocations: 0 / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.314, allocations: 0 / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.314, allocations: 0 / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.3143, allocations: 224.6 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3143, allocations: 4 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.3144, allocations: 19.98 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3144, allocations: 3.938 kB / 439.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3144, allocations: 11.98 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3144, allocations: 0 / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3144, allocations: 0 / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.3149, allocations: 259.3 kB / 440 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.315, allocations: 39.88 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.315, allocations: 0 / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3151, allocations: 4 kB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.3152, allocations: 15.97 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3152, allocations: 0 / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.3154, allocations: 152.5 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3154, allocations: 0 / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.3157, allocations: 35.88 kB / 440.3 MB, free: 14.2 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0008417/0.3165, allocations: 0.802 MB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004125/0.3169, allocations: 135.8 kB / 441.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3169, allocations: 0 / 441.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.3171, allocations: 67.89 kB / 441.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3174, allocations: 16 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.3204, allocations: 2.151 MB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3207, allocations: 0.7278 MB / 444.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3209, allocations: 37.39 kB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.3209, allocations: 47.41 kB / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3209, allocations: 0 / 444.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.3569, allocations: 3.524 MB / 447.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/8.974, allocations: 15.05 kB / 447.8 MB, free: 6.629 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.357560063712299] Failed to read output from testmodel.py, exit status != 0: ['time', 'logFrequencySweep.y', 'const.y.re', 'const.y.im', 'transferFunction.y.re', 'transferFunction.y.im'] 9.050005066208541 9.077286302 8.766235468 Calling exit ...