Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, allocations: 108.3 kB / 20.48 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 218.5 kB / 23.78 MB, free: 4.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 257.5 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 46.95 MB / 360.9 MB, free: 3.883 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 84.19 kB / 0.4963 GB, free: 7.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3281, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05066/0.3788, allocations: 39.8 MB / 0.5997 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.3855, allocations: 4.075 MB / 0.6036 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000892/0.3864, allocations: 23.75 kB / 0.6037 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.3875, allocations: 314 kB / 0.604 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.39, allocations: 0.8862 MB / 0.6048 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.3929, allocations: 0.9052 MB / 0.6057 GB, free: 5.836 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.3956, allocations: 1.817 MB / 0.6075 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/0.3963, allocations: 397.6 kB / 0.6079 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.11/0.5062, allocations: 44.3 MB / 0.6511 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01974/0.526, allocations: 7.943 MB / 0.6589 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.5262, allocations: 60 kB / 0.6589 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0383/0.5645, allocations: 10.6 MB / 0.6693 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007268/0.5652, allocations: 267.2 kB / 0.6695 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.5659, allocations: 330.6 kB / 0.6699 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.5678, allocations: 1.086 MB / 0.6709 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5678, allocations: 0 / 0.6709 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5678, allocations: 0 / 0.6709 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.5678, allocations: 0 / 0.6709 GB, free: 2.426 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002384/0.5702, allocations: 0.9951 MB / 0.6719 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.5702, allocations: 8.031 kB / 0.6719 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.5703, allocations: 94.7 kB / 0.672 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.5707, allocations: 92.45 kB / 0.6721 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009604/0.5717, allocations: 478.7 kB / 0.6725 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.5718, allocations: 156.3 kB / 0.6727 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.5719, allocations: 51.94 kB / 0.6727 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5736, allocations: 1.08 MB / 0.6738 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5736, allocations: 0 / 0.6738 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.5737, allocations: 24 kB / 0.6738 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.5737, allocations: 40.86 kB / 0.6739 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.5748, allocations: 0.6439 MB / 0.6745 GB, free: 14.55 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/0.5801, allocations: 3.403 MB / 0.6778 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.5811, allocations: 395.9 kB / 0.6782 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/0.5814, allocations: 193.4 kB / 0.6784 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.5817, allocations: 52.28 kB / 0.6784 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.125e-05/0.5818, allocations: 46.83 kB / 0.6785 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 3.777e-06/0.5818, allocations: 3.984 kB / 0.6785 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003502/0.5853, allocations: 1.46 MB / 0.6799 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.5854, allocations: 132.5 kB / 0.68 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.5861, allocations: 0.5809 MB / 0.6806 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.5862, allocations: 37.7 kB / 0.6806 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/0.5865, allocations: 367.8 kB / 0.681 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.5866, allocations: 170.6 kB / 0.6811 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.5868, allocations: 138.6 kB / 0.6813 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.587, allocations: 378.7 kB / 0.6816 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.5875, allocations: 217.9 kB / 0.6818 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.5883, allocations: 0.6001 MB / 0.6824 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5894, allocations: 0.7806 MB / 0.6832 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5894, allocations: 0 / 0.6832 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001898/0.5913, allocations: 0.9389 MB / 0.6841 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5913, allocations: 8 kB / 0.6841 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.5913, allocations: 16 kB / 0.6841 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.5925, allocations: 269.1 kB / 0.6844 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.593, allocations: 123.8 kB / 0.6845 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.594, allocations: 0.8631 MB / 0.6853 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.5946, allocations: 28 kB / 0.6854 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.5946, allocations: 39.98 kB / 0.6854 GB, free: 2.789 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003617/0.595, allocations: 238.2 kB / 0.6856 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5951, allocations: 67.58 kB / 0.6857 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.5966, allocations: 0.7247 MB / 0.6864 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5966, allocations: 4 kB / 0.6864 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5966, allocations: 0 / 0.6864 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.5966, allocations: 3.984 kB / 0.6864 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.599, allocations: 1.297 MB / 0.6877 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.056e-06/0.599, allocations: 4 kB / 0.6877 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6, allocations: 191.7 kB / 0.6879 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.6003, allocations: 65 kB / 0.6879 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.6004, allocations: 11.94 kB / 0.6879 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.6034, allocations: 2.781 MB / 0.6907 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6034, allocations: 0 / 0.6907 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.6051, allocations: 1.007 MB / 0.6916 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.6055, allocations: 127.5 kB / 0.6918 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.6055, allocations: 11.98 kB / 0.6918 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.6059, allocations: 16 kB / 0.6918 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.606, allocations: 43.94 kB / 0.6918 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.6061, allocations: 23.98 kB / 0.6919 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006751/0.6068, allocations: 423 kB / 0.6923 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6068, allocations: 3.938 kB / 0.6923 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008348/0.6076, allocations: 211.9 kB / 0.6925 GB, free: 11.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002288/0.6099, allocations: 1.671 MB / 0.6941 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.6111, allocations: 0.5784 MB / 0.6947 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.6111, allocations: 4 kB / 0.6947 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.6124, allocations: 474 kB / 0.6951 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.6141, allocations: 372.1 kB / 0.6955 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.6246, allocations: 6.537 MB / 0.7019 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.6251, allocations: 345.4 kB / 0.7022 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006791/0.6258, allocations: 221.3 kB / 0.7024 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.6261, allocations: 232.4 kB / 0.7026 GB, free: 360 kB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.6261, allocations: 4 kB / 0.7026 GB, free: 356 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06431/0.6904, allocations: 23.66 MB / 0.7257 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.48, allocations: 7.922 kB / 0.7257 GB, free: 9.059 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.754644342989195]