Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001462/0.001462, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001484/0.001484, allocations: 213.7 kB / 23.73 MB, free: 4.16 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.742/1.742, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2231/0.2231, allocations: 44.93 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002158/0.002158, allocations: 67.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3622, allocations: 65.46 MB / 0.5575 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05774/0.42, allocations: 39.8 MB / 0.5963 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008592/0.4286, allocations: 4.067 MB / 0.6003 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.4296, allocations: 27.75 kB / 0.6003 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4307, allocations: 302 kB / 0.6006 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.4332, allocations: 0.8823 MB / 0.6015 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.4361, allocations: 0.9144 MB / 0.6024 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.4389, allocations: 1.813 MB / 0.6041 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.4397, allocations: 401.6 kB / 0.6045 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.5409, allocations: 44.19 MB / 0.6477 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01703/0.5579, allocations: 7.923 MB / 0.6554 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002278/0.5581, allocations: 60 kB / 0.6555 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02309/0.5812, allocations: 10.55 MB / 0.6658 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005626/0.5818, allocations: 275.1 kB / 0.6661 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.5824, allocations: 326.6 kB / 0.6664 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.5841, allocations: 1.082 MB / 0.6674 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5841, allocations: 3.984 kB / 0.6674 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.376e-06/0.5841, allocations: 4 kB / 0.6674 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.5841, allocations: 0 / 0.6674 GB, free: 6.129 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.002326/0.5865, allocations: 0.9951 MB / 0.6684 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.5865, allocations: 12.03 kB / 0.6684 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.5869, allocations: 92.45 kB / 0.6685 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.5879, allocations: 474.7 kB / 0.669 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.588, allocations: 152.4 kB / 0.6691 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.5881, allocations: 56.06 kB / 0.6691 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.5896, allocations: 1.072 MB / 0.6702 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.5896, allocations: 0 / 0.6702 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.299e-05/0.5897, allocations: 31.98 kB / 0.6702 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.5898, allocations: 40.92 kB / 0.6703 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.5909, allocations: 0.64 MB / 0.6709 GB, free: 2.367 MB / 0.4981 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.004713/0.5956, allocations: 3.321 MB / 0.6741 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009214/0.5965, allocations: 407.9 kB / 0.6745 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.5969, allocations: 193.4 kB / 0.6747 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.5971, allocations: 44.3 kB / 0.6747 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5972, allocations: 42.88 kB / 0.6748 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.814e-06/0.5972, allocations: 0 / 0.6748 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003319/0.6005, allocations: 1.449 MB / 0.6762 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.6006, allocations: 140.5 kB / 0.6763 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.6012, allocations: 0.5182 MB / 0.6768 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.6013, allocations: 33.64 kB / 0.6769 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.6015, allocations: 372.3 kB / 0.6772 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.6017, allocations: 174.5 kB / 0.6774 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.6019, allocations: 138.6 kB / 0.6775 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.6021, allocations: 374.7 kB / 0.6779 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.6025, allocations: 221.9 kB / 0.6781 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.6032, allocations: 0.5993 MB / 0.6787 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.6043, allocations: 0.7796 MB / 0.6794 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6043, allocations: 0 / 0.6794 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001878/0.6062, allocations: 0.9299 MB / 0.6804 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.6062, allocations: 12 kB / 0.6804 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.6062, allocations: 8 kB / 0.6804 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.6074, allocations: 260.9 kB / 0.6806 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.6078, allocations: 127.7 kB / 0.6807 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.609, allocations: 0.8723 MB / 0.6816 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.6094, allocations: 24 kB / 0.6816 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/0.6095, allocations: 39.98 kB / 0.6817 GB, free: 6.773 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.0003689/0.6098, allocations: 237.9 kB / 0.6819 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.61, allocations: 67.66 kB / 0.6819 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.6114, allocations: 0.7222 MB / 0.6827 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.6114, allocations: 4 kB / 0.6827 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6114, allocations: 0 / 0.6827 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.6114, allocations: 3.984 kB / 0.6827 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.6136, allocations: 1.232 MB / 0.6839 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.6136, allocations: 4 kB / 0.6839 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009959/0.6146, allocations: 191.7 kB / 0.684 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000259/0.6149, allocations: 64.72 kB / 0.6841 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.6149, allocations: 8.094 kB / 0.6841 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.6176, allocations: 2.734 MB / 0.6868 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6176, allocations: 4.062 kB / 0.6868 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.6192, allocations: 0.9973 MB / 0.6878 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003263/0.6196, allocations: 131.5 kB / 0.6879 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.6196, allocations: 8 kB / 0.6879 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.62, allocations: 20 kB / 0.6879 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6201, allocations: 35.97 kB / 0.688 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.216e-05/0.6202, allocations: 19.94 kB / 0.688 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004497/0.6206, allocations: 354.8 kB / 0.6883 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6206, allocations: 8.062 kB / 0.6883 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008094/0.6214, allocations: 199.8 kB / 0.6885 GB, free: 15.43 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.0004197/0.6218, allocations: 228.2 kB / 0.6887 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.6231, allocations: 0.588 MB / 0.6893 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6231, allocations: 0 / 0.6893 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.6243, allocations: 480.7 kB / 0.6898 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6258, allocations: 305.9 kB / 0.6901 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.6281, allocations: 1.424 MB / 0.6914 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6285, allocations: 341.1 kB / 0.6918 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005842/0.629, allocations: 187.2 kB / 0.6919 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.6292, allocations: 63.42 kB / 0.692 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.6292, allocations: 0 / 0.692 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.02646/0.6557, allocations: 14.86 MB / 0.7065 GB, free: 13.21 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.163749033585191]