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.001486/0.001486, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001598/0.001598, allocations: 222.2 kB / 22.92 MB, free: 5.535 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.307/1.307, allocations: 230.5 MB / 256.4 MB, free: 8.402 MB / 206.1 MB " [Timeout remaining time 179] 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.00183/0.00183, allocations: 59.91 kB / 376.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 53.31 MB / 429.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002868/0.2561, allocations: 1.73 MB / 431.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2573, allocations: 0.771 MB / 431.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.975e-05/0.2573, allocations: 0 / 431.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.2576, allocations: 47.73 kB / 431.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.2578, allocations: 43.7 kB / 432 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.2587, allocations: 0.5096 MB / 432.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.259, allocations: 119.6 kB / 432.6 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.2591, allocations: 17.55 kB / 432.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2592, allocations: 63.7 kB / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.2594, allocations: 87.66 kB / 432.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.2594, allocations: 12 kB / 432.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2597, allocations: 123.9 kB / 432.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.2597, allocations: 39.78 kB / 432.9 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.003e-05/0.2598, allocations: 63.59 kB / 433 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.2601, allocations: 207.6 kB / 433.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2601, allocations: 0 / 433.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2601, allocations: 0 / 433.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2601, allocations: 0 / 433.2 MB, free: 3.543 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.001215/0.2613, allocations: 0.5297 MB / 433.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2614, allocations: 12.03 kB / 433.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.643e-05/0.2614, allocations: 46.73 kB / 433.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/0.2621, allocations: 96.73 kB / 433.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2623, allocations: 208 kB / 434.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2623, allocations: 4.375 kB / 434.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.2623, allocations: 8.375 kB / 434.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2626, allocations: 169.7 kB / 434.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2626, allocations: 0 / 434.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.2627, allocations: 4 kB / 434.3 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.2627, allocations: 4 kB / 434.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.2631, allocations: 163.8 kB / 434.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009415/0.264, allocations: 0.5626 MB / 435 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.2644, allocations: 134.6 kB / 435.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.2646, allocations: 64.81 kB / 435.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.2646, allocations: 7.984 kB / 435.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2646, allocations: 34.75 kB / 435.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.2646, allocations: 3.938 kB / 435.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005834/0.2652, allocations: 209.5 kB / 435.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2652, allocations: 59.34 kB / 435.5 MB, free: 1.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.2654, allocations: 202.8 kB / 435.7 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.2655, allocations: 29.7 kB / 435.7 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.2656, allocations: 128.2 kB / 435.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2656, allocations: 31.7 kB / 435.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.2656, allocations: 33.7 kB / 435.9 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2658, allocations: 322.8 kB / 436.2 MB, free: 288 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2659, allocations: 55.95 kB / 436.3 MB, free: 232 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.2661, allocations: 96.25 kB / 436.4 MB, free: 120 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.2665, allocations: 152.3 kB / 436.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2665, allocations: 0 / 436.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004265/0.2669, allocations: 213.6 kB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2669, allocations: 4 kB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2669, allocations: 0 / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2669, allocations: 4 kB / 436.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2671, allocations: 27.98 kB / 436.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2671, allocations: 0 / 436.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2672, allocations: 28 kB / 436.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2672, allocations: 4 kB / 436.8 MB, free: 15.67 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.00011/0.2674, allocations: 137.6 kB / 436.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.2674, allocations: 19.86 kB / 436.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.2678, allocations: 186.8 kB / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2678, allocations: 0 / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2678, allocations: 0 / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.2678, allocations: 4 kB / 437.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.2681, allocations: 253.5 kB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2681, allocations: 0 / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.2683, allocations: 23.92 kB / 437.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2683, allocations: 0 / 437.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.2683, allocations: 11.98 kB / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2683, allocations: 0 / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2683, allocations: 0 / 437.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.2687, allocations: 267.2 kB / 437.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.159e-05/0.2688, allocations: 101 kB / 437.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.2688, allocations: 8 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2689, allocations: 7.984 kB / 437.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.269, allocations: 4 kB / 437.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.269, allocations: 7.984 kB / 437.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.2691, allocations: 156.9 kB / 438 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2691, allocations: 4 kB / 438 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.2694, allocations: 31.89 kB / 438 MB, free: 14.37 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.0007721/0.2702, allocations: 0.8098 MB / 438.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.2705, allocations: 127.8 kB / 438.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2705, allocations: 4 kB / 438.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2707, allocations: 59.89 kB / 439 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.271, allocations: 23.88 kB / 439 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2736, allocations: 2.15 MB / 441.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2739, allocations: 0.7316 MB / 441.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.044e-05/0.274, allocations: 29.41 kB / 441.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.2741, allocations: 47.42 kB / 442 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2741, allocations: 0 / 442 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/0.3002, allocations: 3.436 MB / 445.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.493, allocations: 15.12 kB / 445.4 MB, free: 6.883 MB / 350.1 MB " [Timeout remaining time 652] (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 --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: 9.607082711001567]