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.001765/0.001765, allocations: 122.6 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.002181/0.002181, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.45/1.45, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.001954/0.001954, allocations: 71.89 kB / 373.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 53.33 MB / 427 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002916/0.1169, allocations: 1.708 MB / 428.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1183, allocations: 0.7788 MB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.1184, allocations: 4 kB / 429.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1187, allocations: 51.73 kB / 429.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1189, allocations: 35.7 kB / 429.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1199, allocations: 0.4981 MB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002521/0.1202, allocations: 127.5 kB / 430.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1203, allocations: 17.55 kB / 430.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1204, allocations: 63.7 kB / 430.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.1206, allocations: 95.59 kB / 430.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1207, allocations: 8 kB / 430.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.1209, allocations: 123.9 kB / 430.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.695e-05/0.121, allocations: 39.84 kB / 430.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.1211, allocations: 63.64 kB / 430.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1214, allocations: 203.1 kB / 430.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1214, allocations: 4 kB / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1214, allocations: 0 / 430.8 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1214, allocations: 0 / 430.8 MB, free: 1 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.001323/0.1228, allocations: 0.536 MB / 431.3 MB, free: 428 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1228, allocations: 8.031 kB / 431.3 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.1229, allocations: 46.73 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006612/0.1235, allocations: 96.73 kB / 431.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1926/0.3161, allocations: 229.1 kB / 431.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.3162, allocations: 4.969 kB / 431.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.3163, allocations: 10.03 kB / 431.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.3167, allocations: 156.6 kB / 431.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3168, allocations: 4.594 kB / 431.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.3168, allocations: 6.016 kB / 431.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.3168, allocations: 5.062 kB / 431.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.3173, allocations: 156.1 kB / 432 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.3183, allocations: 0.5572 MB / 432.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3188, allocations: 141.9 kB / 432.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.3189, allocations: 60.08 kB / 432.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.319, allocations: 6.203 kB / 432.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.319, allocations: 36.03 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.319, allocations: 0.5 kB / 432.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006275/0.3196, allocations: 212.5 kB / 433 MB, free: 10.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.3196, allocations: 53.06 kB / 433.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3198, allocations: 213.2 kB / 433.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3198, allocations: 28.23 kB / 433.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.3199, allocations: 125.3 kB / 433.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3199, allocations: 43.3 kB / 433.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.13e-05/0.32, allocations: 31.2 kB / 433.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.32, allocations: 328.1 kB / 433.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3202, allocations: 56.53 kB / 433.9 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.3204, allocations: 92.56 kB / 434 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.3207, allocations: 155.6 kB / 434.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3207, allocations: 0 / 434.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003941/0.3211, allocations: 195.8 kB / 434.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3211, allocations: 7.031 kB / 434.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3211, allocations: 0 / 434.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3211, allocations: 8.094 kB / 434.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.3213, allocations: 27.42 kB / 434.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3213, allocations: 6.031 kB / 434.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3214, allocations: 23.72 kB / 434.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.3214, allocations: 7.844 kB / 434.4 MB, free: 9.875 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 8.482e-05/0.3215, allocations: 126.2 kB / 434.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3215, allocations: 19.48 kB / 434.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004436/0.322, allocations: 183.3 kB / 434.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.322, allocations: 2.219 kB / 434.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.322, allocations: 3.938 kB / 434.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.322, allocations: 5.375 kB / 434.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.3223, allocations: 254 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3223, allocations: 0 / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3224, allocations: 23.09 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3224, allocations: 1.094 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.3224, allocations: 7 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3224, allocations: 1.062 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3224, allocations: 3.938 kB / 435 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3229, allocations: 269.9 kB / 435.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.3229, allocations: 102.2 kB / 435.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3229, allocations: 3.062 kB / 435.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3231, allocations: 9.672 kB / 435.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.3231, allocations: 16 kB / 435.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.3231, allocations: 7.688 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.3233, allocations: 157.2 kB / 435.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3233, allocations: 0 / 435.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.3235, allocations: 28.09 kB / 435.6 MB, free: 9.191 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.0006234/0.3242, allocations: 0.8054 MB / 436.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.3246, allocations: 128.3 kB / 436.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3246, allocations: 4.375 kB / 436.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.3247, allocations: 64.25 kB / 436.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.325, allocations: 22.89 kB / 436.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.3276, allocations: 2.141 MB / 438.8 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3278, allocations: 0.7327 MB / 439.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.3279, allocations: 33.08 kB / 439.5 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.328, allocations: 45.17 kB / 439.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.328, allocations: 0 / 439.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.3545, allocations: 3.488 MB / 443.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.763, allocations: 8.047 kB / 443.1 MB, free: 5.766 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.245683558750898] 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.83177310694009 8.852986917 8.727559281 Calling exit ...