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.001488/0.001488, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001594/0.001594, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 8 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.00198/0.00198, allocations: 43.92 kB / 377.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3033, allocations: 53.37 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.003146/0.3064, allocations: 1.734 MB / 432.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.3078, allocations: 0.771 MB / 433.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.3079, allocations: 0 / 433.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3081, allocations: 51.72 kB / 433.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3083, allocations: 47.66 kB / 433.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3094, allocations: 0.4981 MB / 434.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3096, allocations: 127.6 kB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3097, allocations: 17.75 kB / 434.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.3098, allocations: 63.7 kB / 434.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.31, allocations: 95.59 kB / 434.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3101, allocations: 8 kB / 434.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.3103, allocations: 127.8 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.3104, allocations: 35.84 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.3105, allocations: 63.59 kB / 434.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.3108, allocations: 204.9 kB / 434.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3108, allocations: 0 / 434.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.919e-06/0.3108, allocations: 4 kB / 434.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3108, allocations: 0 / 434.9 MB, free: 3.008 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.001299/0.3121, allocations: 465.3 kB / 435.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3122, allocations: 12.03 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.3122, allocations: 46.73 kB / 435.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/0.3129, allocations: 100.7 kB / 435.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3132, allocations: 170.2 kB / 435.7 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3132, allocations: 8.375 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.3132, allocations: 12.38 kB / 435.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.3136, allocations: 162.4 kB / 435.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3136, allocations: 0 / 435.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3136, allocations: 4 kB / 435.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.3136, allocations: 8 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.314, allocations: 155.9 kB / 436.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3151, allocations: 0.5228 MB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.3155, allocations: 150.5 kB / 436.7 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3157, allocations: 60.81 kB / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3157, allocations: 0 / 436.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3157, allocations: 34.56 kB / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 8.81e-07/0.3157, allocations: 0 / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006191/0.3163, allocations: 217.6 kB / 437 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.3164, allocations: 51.41 kB / 437.1 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3167, allocations: 215.8 kB / 437.3 MB, free: 500 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3167, allocations: 29.7 kB / 437.3 MB, free: 464 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/0.3168, allocations: 116.6 kB / 437.4 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.3168, allocations: 39.67 kB / 437.5 MB, free: 300 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.3169, allocations: 29.72 kB / 437.5 MB, free: 264 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.317, allocations: 334.8 kB / 437.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.3172, allocations: 55.91 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3174, allocations: 92.17 kB / 438 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.3178, allocations: 160.2 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3178, allocations: 0 / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004283/0.3182, allocations: 197.3 kB / 438.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3182, allocations: 8.125 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3182, allocations: 4 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3182, allocations: 0 / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.3184, allocations: 39.91 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3184, allocations: 3.984 kB / 438.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.3185, allocations: 15.89 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.3186, allocations: 7.984 kB / 438.4 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.0001251/0.3187, allocations: 137.7 kB / 438.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.3187, allocations: 23.84 kB / 438.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.3192, allocations: 182.9 kB / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3192, allocations: 0 / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3192, allocations: 0 / 438.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3192, allocations: 7.984 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3195, allocations: 212.6 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3195, allocations: 0 / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3197, allocations: 31.97 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3197, allocations: 4 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3197, allocations: 0 / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3197, allocations: 0 / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3197, allocations: 0 / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.3201, allocations: 275.2 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-05/0.3202, allocations: 27.98 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.3202, allocations: 3.938 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.3204, allocations: 15.98 kB / 439.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3204, allocations: 7.984 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3204, allocations: 4 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3206, allocations: 152.5 kB / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3206, allocations: 0 / 439.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.3209, allocations: 31.89 kB / 439.5 MB, free: 14.14 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.0008193/0.3217, allocations: 0.8098 MB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004056/0.3221, allocations: 136 kB / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3221, allocations: 0 / 440.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.3223, allocations: 67.89 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3226, allocations: 12 kB / 440.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.3255, allocations: 2.147 MB / 442.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3259, allocations: 0.7278 MB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.326, allocations: 41.38 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.489e-05/0.3261, allocations: 43.42 kB / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3261, allocations: 0 / 443.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.3576, allocations: 3.634 MB / 447.1 MB, free: 6.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.56, allocations: 18.16 kB / 447.1 MB, free: 6.5 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: 14.275449701002799]