Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001301/0.001301, allocations: 115.5 kB / 18.45 MB, free: 4.695 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.001378/0.001378, allocations: 211.3 kB / 21.41 MB, free: 1.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 207.6 MB / 231.8 MB, free: 3.973 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 48.56 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1017, allocations: 49.13 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.ShowTransferFunction): time 0.002858/0.1046, allocations: 1.59 MB / 393 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1058, allocations: 0.6958 MB / 393.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1059, allocations: 4 kB / 393.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1062, allocations: 47.72 kB / 393.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1064, allocations: 47.72 kB / 393.8 MB, free: 6.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1076, allocations: 0.6342 MB / 394.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1079, allocations: 111.7 kB / 394.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.108, allocations: 29.03 kB / 394.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.1082, allocations: 55.78 kB / 394.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1083, allocations: 83.59 kB / 394.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1084, allocations: 12 kB / 394.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.1086, allocations: 147.9 kB / 394.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1087, allocations: 35.84 kB / 394.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.1087, allocations: 55.66 kB / 394.9 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.1091, allocations: 223.2 kB / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1091, allocations: 0 / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1091, allocations: 0 / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1091, allocations: 0 / 395.1 MB, free: 4.949 MB / 318.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.001669/0.1108, allocations: 0.5727 MB / 395.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1108, allocations: 8.031 kB / 395.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.1109, allocations: 46.73 kB / 395.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.1124, allocations: 184.6 kB / 395.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1127, allocations: 220.1 kB / 396.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.1127, allocations: 12.23 kB / 396.2 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1127, allocations: 8.375 kB / 396.2 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.1132, allocations: 177.7 kB / 396.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1132, allocations: 3.938 kB / 396.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.1132, allocations: 4 kB / 396.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.1132, allocations: 15.98 kB / 396.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.1137, allocations: 167.8 kB / 396.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1147, allocations: 0.5392 MB / 397.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.1151, allocations: 158.5 kB / 397.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.1153, allocations: 88.8 kB / 397.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1153, allocations: 3.984 kB / 397.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1154, allocations: 34.5 kB / 397.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1154, allocations: 4 kB / 397.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007708/0.1161, allocations: 265.6 kB / 397.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1162, allocations: 51.41 kB / 397.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1164, allocations: 190.6 kB / 397.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1164, allocations: 29.7 kB / 397.9 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.1165, allocations: 112.2 kB / 398 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.1165, allocations: 47.58 kB / 398 MB, free: 1.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.1166, allocations: 37.69 kB / 398.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1167, allocations: 326.8 kB / 398.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.1169, allocations: 63.95 kB / 398.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1171, allocations: 102.5 kB / 398.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.1176, allocations: 170.4 kB / 398.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1176, allocations: 0 / 398.7 MB, free: 1.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004886/0.118, allocations: 213.4 kB / 398.9 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1181, allocations: 4 kB / 398.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1181, allocations: 4 kB / 398.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1181, allocations: 0 / 398.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1183, allocations: 35.97 kB / 399 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1183, allocations: 4 kB / 399 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1185, allocations: 23.88 kB / 399 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1185, allocations: 4 kB / 399 MB, free: 0.8203 MB / 318.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.0001213/0.1186, allocations: 137.8 kB / 399.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.1187, allocations: 15.84 kB / 399.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.1193, allocations: 254.8 kB / 399.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1193, allocations: 8 kB / 399.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1193, allocations: 0 / 399.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1193, allocations: 3.984 kB / 399.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.1196, allocations: 269.5 kB / 399.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1196, allocations: 0 / 399.7 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.1198, allocations: 43.91 kB / 399.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1198, allocations: 4 kB / 399.7 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1198, allocations: 3.984 kB / 399.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1198, allocations: 0 / 399.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1198, allocations: 0 / 399.7 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.1204, allocations: 327.2 kB / 400.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1205, allocations: 96.89 kB / 400.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.1205, allocations: 12 kB / 400.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1207, allocations: 7.984 kB / 400.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1207, allocations: 11.98 kB / 400.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1207, allocations: 7.984 kB / 400.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1209, allocations: 148.2 kB / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1209, allocations: 0 / 400.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1211, allocations: 28 kB / 400.4 MB, free: 15.37 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.0009183/0.1221, allocations: 0.8566 MB / 401.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.1225, allocations: 168.3 kB / 401.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1225, allocations: 0 / 401.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1228, allocations: 95.81 kB / 401.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.123, allocations: 20.86 kB / 401.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.1259, allocations: 2.132 MB / 403.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1262, allocations: 0.728 MB / 404.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1264, allocations: 33.41 kB / 404.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1265, allocations: 51.41 kB / 404.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1265, allocations: 0 / 404.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.1535, allocations: 3.836 MB / 408.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.317, allocations: 7.922 kB / 408.3 MB, free: 7.246 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/ShowTransferFunction/ShowTransferFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable const.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable const.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.re in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.re from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! Error: Could not read variable transferFunction.y.im in file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv. Warning: Get data of variable transferFunction.y.im from file Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.972577968001133]