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.001255/0.001255, 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.001447/0.001447, allocations: 206.6 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.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2312/0.2312, allocations: 46.97 MB / 361.6 MB, free: 4.047 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.002064/0.002064, allocations: 67.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3074, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0516/0.359, allocations: 39.8 MB / 0.6007 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.3656, allocations: 4.067 MB / 0.6047 GB, free: 8.172 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.366, allocations: 27.75 kB / 0.6047 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.3669, allocations: 310 kB / 0.605 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.3688, allocations: 0.8823 MB / 0.6059 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.3711, allocations: 0.9149 MB / 0.6067 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3732, allocations: 1.824 MB / 0.6085 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00059/0.3738, allocations: 389.6 kB / 0.6089 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09709/0.4708, allocations: 44.19 MB / 0.6521 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01639/0.4872, allocations: 7.939 MB / 0.6598 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.4875, allocations: 60 kB / 0.6599 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02267/0.5101, allocations: 10.57 MB / 0.6702 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005338/0.5107, allocations: 267.2 kB / 0.6704 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.5112, allocations: 330.6 kB / 0.6708 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5128, allocations: 1.078 MB / 0.6718 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.5129, allocations: 0 / 0.6718 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5129, allocations: 3.938 kB / 0.6718 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.5129, allocations: 0 / 0.6718 GB, free: 2.777 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.002329/0.5152, allocations: 0.9951 MB / 0.6728 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5152, allocations: 12.03 kB / 0.6728 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.5156, allocations: 88.47 kB / 0.6729 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.5166, allocations: 482.7 kB / 0.6733 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.5167, allocations: 152.4 kB / 0.6735 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5168, allocations: 56.11 kB / 0.6735 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.5184, allocations: 1.076 MB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5184, allocations: 4 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.5185, allocations: 20 kB / 0.6746 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.001e-05/0.5185, allocations: 44.97 kB / 0.6747 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.5197, allocations: 0.6438 MB / 0.6753 GB, free: 15 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.004858/0.5246, allocations: 3.321 MB / 0.6785 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009396/0.5255, allocations: 401.6 kB / 0.6789 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.5258, allocations: 193.4 kB / 0.6791 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.5261, allocations: 52.22 kB / 0.6791 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.5262, allocations: 38.89 kB / 0.6792 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.355e-06/0.5262, allocations: 0 / 0.6792 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003421/0.5296, allocations: 1.456 MB / 0.6806 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.5297, allocations: 136.5 kB / 0.6807 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.5304, allocations: 0.5221 MB / 0.6812 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.5304, allocations: 37.7 kB / 0.6813 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.5307, allocations: 368.3 kB / 0.6816 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.5309, allocations: 174.5 kB / 0.6818 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.5311, allocations: 138.6 kB / 0.6819 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5313, allocations: 374.7 kB / 0.6823 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.5317, allocations: 221.9 kB / 0.6825 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.5324, allocations: 0.5954 MB / 0.6831 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5336, allocations: 0.7757 MB / 0.6838 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5336, allocations: 8 kB / 0.6838 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001905/0.5355, allocations: 0.9261 MB / 0.6847 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.5355, allocations: 11.98 kB / 0.6848 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.5355, allocations: 12 kB / 0.6848 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.5367, allocations: 260.9 kB / 0.685 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/0.5372, allocations: 123.8 kB / 0.6851 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.5383, allocations: 0.8699 MB / 0.686 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.5387, allocations: 28 kB / 0.686 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.5388, allocations: 39.98 kB / 0.6861 GB, free: 3.414 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.0003277/0.5391, allocations: 241.8 kB / 0.6863 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5392, allocations: 63.62 kB / 0.6863 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.5407, allocations: 0.7162 MB / 0.687 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.5408, allocations: 7.984 kB / 0.6871 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5408, allocations: 7.938 kB / 0.6871 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5408, allocations: 0 / 0.6871 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.5431, allocations: 1.228 MB / 0.6883 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5431, allocations: 0 / 0.6883 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.5442, allocations: 191.8 kB / 0.6884 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002761/0.5445, allocations: 60.62 kB / 0.6885 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.5445, allocations: 20.03 kB / 0.6885 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.5474, allocations: 2.726 MB / 0.6912 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5474, allocations: 12.19 kB / 0.6912 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.549, allocations: 0.9941 MB / 0.6922 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.5493, allocations: 123.6 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.5494, allocations: 12 kB / 0.6923 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003969/0.5498, allocations: 16 kB / 0.6923 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5499, allocations: 43.91 kB / 0.6923 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.55, allocations: 16 kB / 0.6924 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004492/0.5504, allocations: 350.8 kB / 0.6927 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5504, allocations: 4 kB / 0.6927 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000865/0.5513, allocations: 211.8 kB / 0.6929 GB, free: 12.07 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.000426/0.5517, allocations: 225.5 kB / 0.6931 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.553, allocations: 0.5843 MB / 0.6937 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.553, allocations: 7.938 kB / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5543, allocations: 471.5 kB / 0.6941 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.5557, allocations: 303.2 kB / 0.6944 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.5582, allocations: 1.419 MB / 0.6958 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.5586, allocations: 341.1 kB / 0.6961 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006675/0.5592, allocations: 210.3 kB / 0.6963 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.5594, allocations: 63.42 kB / 0.6964 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.5594, allocations: 0 / 0.6964 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of Templates: time 0.02647/0.5859, allocations: 15.11 MB / 0.7112 GB, free: 9.602 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 gbode -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.646233453997411]