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.001432/0.001432, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001582/0.001582, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.517/1.517, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001915/0.001915, allocations: 63.89 kB / 373.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 53.32 MB / 426.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003057/0.116, allocations: 1.708 MB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1175, allocations: 0.7827 MB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.1176, allocations: 0 / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.1178, allocations: 51.73 kB / 429.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001785/0.118, allocations: 43.64 kB / 429.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1191, allocations: 0.4903 MB / 429.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.1194, allocations: 123.5 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1195, allocations: 25.55 kB / 430.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1196, allocations: 59.7 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1198, allocations: 91.66 kB / 430.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1198, allocations: 8 kB / 430.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1201, allocations: 123.9 kB / 430.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.1202, allocations: 39.84 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.1202, allocations: 63.64 kB / 430.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1206, allocations: 203.1 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1206, allocations: 0 / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1206, allocations: 0 / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1206, allocations: 0 / 430.7 MB, free: 1.055 MB / 350.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.001442/0.1221, allocations: 0.5375 MB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1221, allocations: 8.031 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.1222, allocations: 50.73 kB / 431.2 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.1229, allocations: 96.73 kB / 431.3 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1231, allocations: 204 kB / 431.5 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.1231, allocations: 8.375 kB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1231, allocations: 16.38 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2117/0.3348, allocations: 161 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3348, allocations: 3.75 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3348, allocations: 1.844 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.3349, allocations: 6.328 kB / 431.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.3353, allocations: 156.8 kB / 431.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3364, allocations: 0.5572 MB / 432.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000496/0.3369, allocations: 139.5 kB / 432.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3371, allocations: 65.44 kB / 432.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3371, allocations: 4.219 kB / 432.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3371, allocations: 38.66 kB / 432.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.522e-06/0.3371, allocations: 0 / 432.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006011/0.3377, allocations: 213.1 kB / 432.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.3378, allocations: 52.09 kB / 432.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.338, allocations: 205.5 kB / 433.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.338, allocations: 31.39 kB / 433.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.3381, allocations: 129.7 kB / 433.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3381, allocations: 33.67 kB / 433.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.3381, allocations: 29.05 kB / 433.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.3382, allocations: 333 kB / 433.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3384, allocations: 54.25 kB / 433.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.3385, allocations: 93.69 kB / 433.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3389, allocations: 163.4 kB / 434 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3389, allocations: 0 / 434 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004217/0.3393, allocations: 190.8 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.3393, allocations: 6 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3393, allocations: 0.9375 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3393, allocations: 4.625 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.3395, allocations: 29.98 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3395, allocations: 1.156 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3397, allocations: 23.81 kB / 434.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3397, allocations: 6.906 kB / 434.3 MB, free: 10.07 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.0001428/0.3399, allocations: 134.7 kB / 434.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3399, allocations: 18.94 kB / 434.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004454/0.3404, allocations: 184.6 kB / 434.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.3404, allocations: 0.625 kB / 434.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3404, allocations: 5.031 kB / 434.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3404, allocations: 0 / 434.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.3406, allocations: 258.1 kB / 434.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3406, allocations: 0 / 434.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.3408, allocations: 23.81 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3408, allocations: 1.156 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3408, allocations: 1.656 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3408, allocations: 2.578 kB / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3408, allocations: 0 / 434.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.3412, allocations: 275.9 kB / 435.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.3413, allocations: 108.2 kB / 435.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3413, allocations: 1.453 kB / 435.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3414, allocations: 10.52 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.3415, allocations: 6.203 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3415, allocations: 7.516 kB / 435.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.3416, allocations: 156.4 kB / 435.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3416, allocations: 0 / 435.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002885/0.3419, allocations: 24.88 kB / 435.4 MB, free: 9.387 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.000658/0.3426, allocations: 0.8114 MB / 436.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000504/0.3431, allocations: 132 kB / 436.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3431, allocations: 0 / 436.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.3433, allocations: 69.19 kB / 436.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3436, allocations: 14.89 kB / 436.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3463, allocations: 2.139 MB / 438.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.3465, allocations: 0.7277 MB / 439.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.3466, allocations: 36.88 kB / 439.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.3467, allocations: 47.58 kB / 439.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3467, allocations: 0 / 439.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.3754, allocations: 3.475 MB / 442.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.99, allocations: 10.31 kB / 442.9 MB, free: 6.004 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.431250690016896] 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.060356895904988 9.083240314 8.957460872 Calling exit ...