Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001522/0.001522, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001504/0.001504, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 46.96 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 67.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 66.04 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05096/0.378, allocations: 39.81 MB / 0.6007 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.3849, allocations: 4.055 MB / 0.6047 GB, free: 8.191 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006869/0.3856, allocations: 27.75 kB / 0.6047 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3866, allocations: 306 kB / 0.605 GB, free: 7.863 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.3888, allocations: 0.8862 MB / 0.6058 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002808/0.3916, allocations: 0.9265 MB / 0.6067 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.3941, allocations: 1.821 MB / 0.6085 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006789/0.3947, allocations: 393.6 kB / 0.6089 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1018/0.4965, allocations: 44.19 MB / 0.6521 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01655/0.5131, allocations: 7.936 MB / 0.6598 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.5133, allocations: 60 kB / 0.6599 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02211/0.5354, allocations: 10.56 MB / 0.6702 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005614/0.536, allocations: 267.2 kB / 0.6704 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.5365, allocations: 330.6 kB / 0.6708 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5382, allocations: 1.078 MB / 0.6718 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5382, allocations: 11.94 kB / 0.6718 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5382, allocations: 0 / 0.6718 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.5383, allocations: 0 / 0.6718 GB, free: 2.781 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.002376/0.5406, allocations: 0.9873 MB / 0.6728 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.5407, allocations: 16.03 kB / 0.6728 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003697/0.541, allocations: 92.45 kB / 0.6729 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.542, allocations: 478.7 kB / 0.6733 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.5422, allocations: 148.4 kB / 0.6735 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5423, allocations: 60.05 kB / 0.6735 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.5438, allocations: 1.072 MB / 0.6746 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.5439, allocations: 0 / 0.6746 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.5439, allocations: 24 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.544, allocations: 40.98 kB / 0.6746 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5451, allocations: 0.6478 MB / 0.6753 GB, free: 15.01 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.004941/0.5501, allocations: 3.321 MB / 0.6785 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.5511, allocations: 399 kB / 0.6789 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.5515, allocations: 201.3 kB / 0.6791 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.5518, allocations: 48.28 kB / 0.6791 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.5518, allocations: 38.89 kB / 0.6792 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.655e-06/0.5518, allocations: 3.938 kB / 0.6792 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003443/0.5553, allocations: 1.448 MB / 0.6806 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.5554, allocations: 144.4 kB / 0.6807 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/0.556, allocations: 0.5221 MB / 0.6812 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.556, allocations: 29.7 kB / 0.6813 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.5563, allocations: 372.3 kB / 0.6816 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.5565, allocations: 170.5 kB / 0.6818 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.5567, allocations: 138.6 kB / 0.6819 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5569, allocations: 378.7 kB / 0.6823 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.5573, allocations: 221.9 kB / 0.6825 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.5581, allocations: 0.5918 MB / 0.6831 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.5592, allocations: 0.7833 MB / 0.6838 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5592, allocations: 4 kB / 0.6838 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001904/0.5611, allocations: 0.93 MB / 0.6848 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.5611, allocations: 8 kB / 0.6848 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5611, allocations: 8 kB / 0.6848 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5623, allocations: 264.9 kB / 0.685 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.5628, allocations: 131.8 kB / 0.6851 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.5639, allocations: 0.8606 MB / 0.686 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.5644, allocations: 27.98 kB / 0.686 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.5644, allocations: 35.94 kB / 0.686 GB, free: 3.43 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.0003798/0.5648, allocations: 241.9 kB / 0.6863 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.5649, allocations: 63.61 kB / 0.6863 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.5664, allocations: 0.7199 MB / 0.687 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.5664, allocations: 4 kB / 0.687 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5664, allocations: 0 / 0.687 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.5664, allocations: 3.984 kB / 0.687 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.5687, allocations: 1.228 MB / 0.6882 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5687, allocations: 8.031 kB / 0.6883 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.5697, allocations: 183.8 kB / 0.6884 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.57, allocations: 72.61 kB / 0.6885 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.57, allocations: 8 kB / 0.6885 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.5727, allocations: 2.734 MB / 0.6912 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5727, allocations: 4.156 kB / 0.6912 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.5744, allocations: 1.002 MB / 0.6922 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.5747, allocations: 127.5 kB / 0.6923 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.5748, allocations: 12 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.5752, allocations: 15.98 kB / 0.6923 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.5753, allocations: 35.94 kB / 0.6923 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.5753, allocations: 19.98 kB / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000445/0.5757, allocations: 354.8 kB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5757, allocations: 0 / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007929/0.5765, allocations: 215.9 kB / 0.6929 GB, free: 12.08 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.0004116/0.5769, allocations: 217.7 kB / 0.6931 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.5782, allocations: 0.5845 MB / 0.6937 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5782, allocations: 0 / 0.6937 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.5794, allocations: 479.4 kB / 0.6941 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5809, allocations: 305.4 kB / 0.6944 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.5833, allocations: 1.423 MB / 0.6958 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.5837, allocations: 348.9 kB / 0.6962 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005844/0.5842, allocations: 195.4 kB / 0.6963 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.5844, allocations: 67.41 kB / 0.6964 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5844, allocations: 0 / 0.6964 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.02656/0.611, allocations: 15.11 MB / 0.7112 GB, free: 9.617 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.632620203003171]