Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 211.9 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 44.06 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2728, allocations: 53.38 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003153/0.2759, allocations: 1.675 MB / 432.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2774, allocations: 0.7126 MB / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.2775, allocations: 0 / 433.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.2777, allocations: 51.72 kB / 433.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.278, allocations: 39.72 kB / 433.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.2791, allocations: 482.1 kB / 434 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.2793, allocations: 123.6 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2794, allocations: 13.75 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2795, allocations: 63.7 kB / 434.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2798, allocations: 91.59 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.2798, allocations: 8 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.28, allocations: 123.9 kB / 434.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.2801, allocations: 31.91 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.2801, allocations: 47.61 kB / 434.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2804, allocations: 204.9 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2805, allocations: 0 / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.2805, allocations: 4 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.2805, allocations: 0 / 434.7 MB, free: 2.984 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.001277/0.2817, allocations: 469.3 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2818, allocations: 12.03 kB / 435.2 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.2818, allocations: 46.73 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.2825, allocations: 112.6 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.2827, allocations: 154.3 kB / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.2828, allocations: 8.375 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.2828, allocations: 12.31 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.2832, allocations: 172.1 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2832, allocations: 0 / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.2832, allocations: 4 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.2832, allocations: 8 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004012/0.2836, allocations: 155.9 kB / 435.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2847, allocations: 0.4994 MB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.2852, allocations: 142.5 kB / 436.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2853, allocations: 60.81 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.2854, allocations: 0 / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2854, allocations: 34.56 kB / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2854, allocations: 0 / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006175/0.286, allocations: 217.6 kB / 436.8 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.286, allocations: 51.41 kB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.2863, allocations: 219.7 kB / 437 MB, free: 496 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2863, allocations: 25.7 kB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/0.2864, allocations: 124.2 kB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.2864, allocations: 35.67 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.2865, allocations: 33.66 kB / 437.3 MB, free: 256 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2866, allocations: 326.8 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2868, allocations: 59.95 kB / 437.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.287, allocations: 88.25 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003644/0.2874, allocations: 160.5 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2874, allocations: 4 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000432/0.2878, allocations: 193.3 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2878, allocations: 7.984 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2878, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.2878, allocations: 0 / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.288, allocations: 35.92 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.288, allocations: 0 / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.2881, allocations: 19.88 kB / 438.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2882, allocations: 4 kB / 438.1 MB, free: 15.32 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.0001371/0.2883, allocations: 145.8 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.2883, allocations: 11.91 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.2888, allocations: 182.9 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2888, allocations: 0 / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2888, allocations: 0 / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2888, allocations: 0 / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2891, allocations: 204.6 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2891, allocations: 0 / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2892, allocations: 31.97 kB / 438.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2892, allocations: 3.938 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.2892, allocations: 8 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2892, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2892, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2897, allocations: 267.2 kB / 439 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.2898, allocations: 31.83 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.2898, allocations: 0 / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2899, allocations: 11.98 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.29, allocations: 11.98 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.29, allocations: 4 kB / 439 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.2901, allocations: 152.5 kB / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2901, allocations: 0 / 439.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.2904, allocations: 31.95 kB / 439.2 MB, free: 14.17 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.0007798/0.2912, allocations: 0.8061 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.2916, allocations: 135.9 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2916, allocations: 0 / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.2917, allocations: 67.89 kB / 440.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.292, allocations: 23.97 kB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/0.2948, allocations: 2.147 MB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2949, allocations: 115.2 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.295, allocations: 29.41 kB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.51e-05/0.2951, allocations: 51.42 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2951, allocations: 0 / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.325, allocations: 4.094 MB / 446.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.4, allocations: 7.312 kB / 446.7 MB, free: 6.691 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable Time from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.re in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_4.1.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.916355473920703]