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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001428/0.001428, allocations: 210.8 kB / 23.73 MB, free: 4.379 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001563/0.001563, allocations: 47.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2853, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.00312/0.2885, allocations: 1.668 MB / 432.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.29, allocations: 0.7126 MB / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.29, allocations: 0 / 433.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.2903, allocations: 51.72 kB / 433.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.2905, allocations: 43.72 kB / 433.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.2916, allocations: 482.1 kB / 434 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.2918, allocations: 123.5 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2919, allocations: 25.72 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.292, allocations: 55.78 kB / 434.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.2923, allocations: 99.58 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.2923, allocations: 12 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.2925, allocations: 111.9 kB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.129e-05/0.2926, allocations: 43.83 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.2926, allocations: 51.61 kB / 434.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.293, allocations: 200.9 kB / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.293, allocations: 0 / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.293, allocations: 0 / 434.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.293, 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.001365/0.2944, allocations: 475.4 kB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.2944, allocations: 12.03 kB / 435.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.2945, allocations: 46.69 kB / 435.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.2952, allocations: 108.7 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.2954, allocations: 154.3 kB / 435.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2954, allocations: 12.38 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2955, allocations: 12.31 kB / 435.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.2959, allocations: 168 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2959, allocations: 0 / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2959, allocations: 4 kB / 435.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.2959, allocations: 8 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.2963, allocations: 151.9 kB / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.2973, allocations: 0.4955 MB / 436.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.2977, allocations: 142.5 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2979, allocations: 64.81 kB / 436.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.298, allocations: 4 kB / 436.5 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.298, allocations: 34.56 kB / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.298, allocations: 0 / 436.6 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006354/0.2986, allocations: 213.6 kB / 436.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.2987, allocations: 55.41 kB / 436.8 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.2989, allocations: 215.7 kB / 437 MB, free: 500 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.2989, allocations: 33.7 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.299, allocations: 116.3 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.299, allocations: 39.67 kB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.2991, allocations: 33.61 kB / 437.3 MB, free: 256 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2993, allocations: 326.8 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.2994, allocations: 56.34 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2996, allocations: 96.23 kB / 437.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.3, allocations: 156.1 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3, allocations: 0 / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004272/0.3004, allocations: 201.3 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3004, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3004, allocations: 3.938 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.3004, allocations: 4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3006, allocations: 35.91 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.3006, allocations: 0 / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3007, allocations: 20.02 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3008, allocations: 11.98 kB / 438.2 MB, free: 15.31 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.0001262/0.3009, allocations: 129.7 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3009, allocations: 15.91 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004749/0.3014, allocations: 187 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3014, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3014, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3014, allocations: 0 / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3017, allocations: 208.6 kB / 438.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3017, allocations: 7.938 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3018, allocations: 19.98 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3018, allocations: 4 kB / 438.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3018, allocations: 3.984 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.3018, allocations: 7.922 kB / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3018, allocations: 0 / 438.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.3023, allocations: 267.4 kB / 439 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.3024, allocations: 31.81 kB / 439 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3024, allocations: 4 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3025, allocations: 8 kB / 439 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.3026, allocations: 11.97 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3026, allocations: 4.094 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3027, allocations: 156.4 kB / 439.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3027, allocations: 0 / 439.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.303, allocations: 27.89 kB / 439.2 MB, free: 14.16 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.0007566/0.3038, allocations: 0.806 MB / 440 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3042, allocations: 131.8 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3042, allocations: 3.938 kB / 440.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3044, allocations: 67.89 kB / 440.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.3047, allocations: 20.25 kB / 440.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.3075, allocations: 2.139 MB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3076, allocations: 119.2 kB / 442.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.3077, allocations: 37.39 kB / 442.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.3078, allocations: 43.42 kB / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3078, allocations: 0 / 442.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3385, allocations: 4.153 MB / 446.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.1, allocations: 7.562 kB / 446.8 MB, free: 6.637 MB / 350.1 MB " [Timeout remaining time 649] (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.543681042996468]