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.001671/0.001671, allocations: 105.1 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.002211/0.002211, allocations: 213.9 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.002073/0.002073, allocations: 64.77 kB / 378.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3471, allocations: 53.37 MB / 431.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002955/0.3501, allocations: 1.725 MB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3515, allocations: 0.7749 MB / 434.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.3516, allocations: 4 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3518, allocations: 47.72 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.352, allocations: 43.7 kB / 434.5 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.353, allocations: 0.5087 MB / 435 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.3532, allocations: 123.6 kB / 435.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3533, allocations: 23.84 kB / 435.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3534, allocations: 59.72 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3537, allocations: 95.64 kB / 435.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.3537, allocations: 8 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.3539, allocations: 115.9 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.234e-05/0.354, allocations: 47.78 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.3541, allocations: 59.61 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.3544, allocations: 207.2 kB / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3544, allocations: 0 / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3544, allocations: 0 / 435.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3544, allocations: 3.938 kB / 435.7 MB, free: 3.098 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.001287/0.3557, allocations: 469.3 kB / 436.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3557, allocations: 8.031 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.3558, allocations: 46.73 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.3564, allocations: 100.7 kB / 436.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.3567, allocations: 166.2 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3567, allocations: 8.375 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.3567, allocations: 16.38 kB / 436.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.3571, allocations: 158.5 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3571, allocations: 4 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.3571, allocations: 4 kB / 436.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.3571, allocations: 7.984 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.3575, allocations: 155.8 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3586, allocations: 0.5383 MB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.359, allocations: 134.6 kB / 437.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3592, allocations: 68.81 kB / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3592, allocations: 0 / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3592, allocations: 34.69 kB / 437.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.3592, allocations: 0 / 437.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006075/0.3598, allocations: 213.4 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3599, allocations: 51.41 kB / 437.9 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.3601, allocations: 219.1 kB / 438.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3601, allocations: 25.7 kB / 438.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.3602, allocations: 120.2 kB / 438.2 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.3602, allocations: 39.67 kB / 438.3 MB, free: 384 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.3603, allocations: 29.7 kB / 438.3 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3604, allocations: 326.8 kB / 438.6 MB, free: 12 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3606, allocations: 59.95 kB / 438.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3608, allocations: 88.25 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.3611, allocations: 164.5 kB / 438.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3611, allocations: 0 / 438.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004274/0.3616, allocations: 193.3 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3616, allocations: 11.98 kB / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3616, allocations: 0 / 439.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3616, allocations: 4 kB / 439.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3618, allocations: 28.11 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3618, allocations: 11.98 kB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3619, allocations: 19.88 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3619, allocations: 8 kB / 439.2 MB, free: 15.4 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.0001195/0.362, allocations: 141.6 kB / 439.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.3621, allocations: 19.86 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.3626, allocations: 186.9 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3626, allocations: 4 kB / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3626, allocations: 0 / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3626, allocations: 0 / 439.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3628, allocations: 216.6 kB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3628, allocations: 4 kB / 439.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.363, allocations: 27.92 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.363, allocations: 0 / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.363, allocations: 4 kB / 439.8 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.363, allocations: 3.984 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.363, allocations: 0 / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004278/0.3635, allocations: 263.3 kB / 440 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.3635, allocations: 31.88 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3635, allocations: 4 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3637, allocations: 8 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.3637, allocations: 7.984 kB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3637, allocations: 7.984 kB / 440.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.3639, allocations: 152.5 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3639, allocations: 3.938 kB / 440.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3642, allocations: 31.89 kB / 440.3 MB, free: 14.23 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.0007638/0.3649, allocations: 0.8099 MB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3653, allocations: 131.8 kB / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3653, allocations: 0 / 441.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.3655, allocations: 72.14 kB / 441.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.3658, allocations: 19.98 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.3686, allocations: 2.139 MB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.3689, allocations: 0.7317 MB / 444.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.369, allocations: 29.41 kB / 444.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3691, allocations: 47.42 kB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3691, allocations: 0 / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/0.3961, allocations: 3.529 MB / 447.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.674, allocations: 8.5 kB / 447.8 MB, free: 6.648 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.185729122254997] 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'] 8.746836573816836 8.772931194 8.413456362 Calling exit ...