Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 103.5 kB / 20.43 MB, free: 1.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 194.2 kB / 23.71 MB, free: 4.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 47.92 kB / 370.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2906, allocations: 52.17 MB / 422.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003199/0.2938, allocations: 1.623 MB / 424.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2951, allocations: 0.6115 MB / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.044e-05/0.2952, allocations: 0 / 424.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.2955, allocations: 47.78 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.2957, allocations: 39.72 kB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.297, allocations: 0.5545 MB / 425.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.2972, allocations: 115.7 kB / 425.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2973, allocations: 13.31 kB / 425.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.2975, allocations: 75.69 kB / 425.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2977, allocations: 79.66 kB / 425.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2977, allocations: 8 kB / 425.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.2979, allocations: 95.88 kB / 425.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.298, allocations: 35.91 kB / 425.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.2981, allocations: 39.72 kB / 425.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.2984, allocations: 212.9 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2984, allocations: 4 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2984, allocations: 0 / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2984, allocations: 3.938 kB / 426.1 MB, free: 10.84 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.001572/0.3, allocations: 497.4 kB / 426.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3, allocations: 12.03 kB / 426.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.3001, allocations: 46.73 kB / 426.6 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.3014, allocations: 168.6 kB / 426.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.3017, allocations: 166.2 kB / 426.9 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3017, allocations: 8.375 kB / 427 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.3018, allocations: 12.38 kB / 427 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.3022, allocations: 177.7 kB / 427.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3022, allocations: 0 / 427.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3022, allocations: 0 / 427.1 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.3022, allocations: 8 kB / 427.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.3026, allocations: 163.8 kB / 427.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.3036, allocations: 475.5 kB / 427.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.304, allocations: 162.5 kB / 427.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.3042, allocations: 88.8 kB / 428 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3042, allocations: 7.938 kB / 428 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3043, allocations: 38.5 kB / 428.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.3043, allocations: 0 / 428.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000719/0.305, allocations: 261.6 kB / 428.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.305, allocations: 55.41 kB / 428.4 MB, free: 8.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3052, allocations: 190.3 kB / 428.6 MB, free: 8.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.3052, allocations: 25.7 kB / 428.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/0.3053, allocations: 112.2 kB / 428.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3054, allocations: 51.62 kB / 428.7 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.3054, allocations: 37.69 kB / 428.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3056, allocations: 322.8 kB / 429.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.3058, allocations: 63.95 kB / 429.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.306, allocations: 90.45 kB / 429.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003977/0.3064, allocations: 178.2 kB / 429.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3064, allocations: 4 kB / 429.4 MB, free: 7.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004846/0.3069, allocations: 209.4 kB / 429.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3069, allocations: 10.17 kB / 429.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3069, allocations: 0 / 429.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3069, allocations: 4.062 kB / 429.6 MB, free: 7.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3071, allocations: 43.91 kB / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3071, allocations: 0 / 429.7 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3073, allocations: 15.94 kB / 429.7 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3073, allocations: 4 kB / 429.7 MB, free: 6.996 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001252/0.3074, allocations: 137.8 kB / 429.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.3075, allocations: 15.84 kB / 429.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.3081, allocations: 258.7 kB / 430.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3081, allocations: 4 kB / 430.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3081, allocations: 0 / 430.1 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3081, allocations: 3.984 kB / 430.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.3084, allocations: 212.7 kB / 430.3 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3084, allocations: 4 kB / 430.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.3086, allocations: 39.89 kB / 430.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3086, allocations: 4 kB / 430.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.3086, allocations: 7.938 kB / 430.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3086, allocations: 0 / 430.4 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3086, allocations: 4 kB / 430.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3092, allocations: 318.6 kB / 430.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3092, allocations: 31.72 kB / 430.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3092, allocations: 4 kB / 430.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.3094, allocations: 8 kB / 430.7 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.3095, allocations: 15.97 kB / 430.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.3095, allocations: 7.984 kB / 430.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3096, allocations: 144.2 kB / 430.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3096, allocations: 0 / 430.9 MB, free: 5.723 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3099, allocations: 32 kB / 430.9 MB, free: 5.691 MB / 334.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 (18): * Single equations (assignments): 18 * 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.000903/0.3108, allocations: 0.8566 MB / 431.8 MB, free: 4.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004554/0.3112, allocations: 171.8 kB / 432 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3112, allocations: 0 / 432 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.3115, allocations: 95.88 kB / 432.1 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3117, allocations: 16 kB / 432.1 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.3147, allocations: 2.135 MB / 434.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.3148, allocations: 107.3 kB / 434.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.315, allocations: 37.39 kB / 434.3 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3151, allocations: 55.41 kB / 434.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3151, allocations: 0 / 434.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.3487, allocations: 4.474 MB / 438.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.56, allocations: 12.06 kB / 438.9 MB, free: 13.77 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable const.y.re in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_4.0.0_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.113927098922431]