Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001319/0.001319, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001454/0.001454, allocations: 215 kB / 24.49 MB, free: 3.934 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2386/0.2386, allocations: 46.97 MB / 361.6 MB, free: 4.035 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 63.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4272, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02447/0.4517, allocations: 18.67 MB / 0.5801 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006736/0.4584, allocations: 3.995 MB / 0.584 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006898/0.4591, allocations: 27.75 kB / 0.584 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.4601, allocations: 306 kB / 0.5843 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002328/0.4624, allocations: 0.8862 MB / 0.5852 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.465, allocations: 0.9294 MB / 0.5861 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002562/0.4676, allocations: 1.825 MB / 0.5878 GB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008351/0.4684, allocations: 385.7 kB / 0.5882 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.471, allocations: 0.9652 MB / 0.5892 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.4725, allocations: 0.6889 MB / 0.5898 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.4727, allocations: 63.94 kB / 0.5899 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.4738, allocations: 279.6 kB / 0.5902 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004114/0.4742, allocations: 267.2 kB / 0.5904 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.4748, allocations: 330.6 kB / 0.5907 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.4769, allocations: 1.078 MB / 0.5918 GB, free: 5.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4769, allocations: 4 kB / 0.5918 GB, free: 5.414 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4769, allocations: 0 / 0.5918 GB, free: 5.414 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.477, allocations: 0 / 0.5918 GB, free: 5.414 MB / 430.1 MB 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.003153/0.4801, allocations: 0.9912 MB / 0.5928 GB, free: 4.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.4802, allocations: 12.03 kB / 0.5928 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.4807, allocations: 92.42 kB / 0.5928 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.482, allocations: 478.6 kB / 0.5933 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.4822, allocations: 156.4 kB / 0.5935 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4824, allocations: 56.31 kB / 0.5935 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.4845, allocations: 1.076 MB / 0.5946 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.4845, allocations: 3.938 kB / 0.5946 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.4846, allocations: 20 kB / 0.5946 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.882e-05/0.4847, allocations: 40.97 kB / 0.5946 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.4863, allocations: 0.6439 MB / 0.5953 GB, free: 1.641 MB / 430.1 MB 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.006964/0.4933, allocations: 3.333 MB / 0.5985 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4947, allocations: 400.3 kB / 0.5989 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.4953, allocations: 193.4 kB / 0.5991 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004073/0.4957, allocations: 44.3 kB / 0.5991 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.4958, allocations: 42.89 kB / 0.5992 GB, free: 13.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 4.158e-06/0.4958, allocations: 0 / 0.5992 GB, free: 13.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.005462/0.5012, allocations: 1.459 MB / 0.6006 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5014, allocations: 132.5 kB / 0.6007 GB, free: 11.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.5025, allocations: 0.5221 MB / 0.6012 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.5026, allocations: 33.7 kB / 0.6012 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.503, allocations: 368.3 kB / 0.6016 GB, free: 10.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.5032, allocations: 166.6 kB / 0.6018 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.5036, allocations: 142.6 kB / 0.6019 GB, free: 10.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.5038, allocations: 370.8 kB / 0.6022 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006909/0.5045, allocations: 217.9 kB / 0.6025 GB, free: 10.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.5056, allocations: 0.5954 MB / 0.603 GB, free: 9.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.5073, allocations: 0.7796 MB / 0.6038 GB, free: 8.371 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/0.5073, allocations: 7.938 kB / 0.6038 GB, free: 8.363 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002984/0.5103, allocations: 0.9334 MB / 0.6047 GB, free: 7.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.5103, allocations: 15.98 kB / 0.6047 GB, free: 7.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.5103, allocations: 8 kB / 0.6047 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.512, allocations: 269.2 kB / 0.605 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.5127, allocations: 123.8 kB / 0.6051 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.5142, allocations: 0.8645 MB / 0.606 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.515, allocations: 31.94 kB / 0.606 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.5152, allocations: 35.98 kB / 0.606 GB, free: 6.051 MB / 446.1 MB 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.0005412/0.5157, allocations: 252.5 kB / 0.6063 GB, free: 5.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002409/0.5159, allocations: 59.62 kB / 0.6063 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.518, allocations: 0.7151 MB / 0.607 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.518, allocations: 0 / 0.607 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5181, allocations: 0 / 0.607 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.5185, allocations: 119.5 kB / 0.6071 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.5187, allocations: 12 kB / 0.6071 GB, free: 4.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.5192, allocations: 12 kB / 0.6072 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.5193, allocations: 36.36 kB / 0.6072 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00277/0.5221, allocations: 0.7199 MB / 0.6079 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00223/0.5243, allocations: 0.9702 MB / 0.6088 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005629/0.5249, allocations: 227.4 kB / 0.6091 GB, free: 2.906 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000729/0.5256, allocations: 346.8 kB / 0.6094 GB, free: 2.57 MB / 446.1 MB Notification: Performance of Backend: time 5.81e-07/0.5256, allocations: 0 / 0.6094 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.5282, allocations: 0.5868 MB / 0.61 GB, free: 1.98 MB / 446.1 MB Notification: Performance of SimCode: time 0.004381/0.5326, allocations: 1.864 MB / 0.6118 GB, free: 72 kB / 446.1 MB Notification: Performance of Templates: time 0.03313/0.5657, allocations: 14.6 MB / 0.626 GB, free: 1.754 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.645167290000245]