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.001333/0.001333, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001502/0.001502, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2455/0.2455, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.002158/0.002158, allocations: 63.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3552, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05314/0.4084, allocations: 39.8 MB / 0.6007 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.4153, allocations: 4.071 MB / 0.6047 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006924/0.416, allocations: 27.75 kB / 0.6047 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.4171, allocations: 306 kB / 0.605 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.4193, allocations: 0.8823 MB / 0.6059 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.422, allocations: 0.915 MB / 0.6067 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.4246, allocations: 1.817 MB / 0.6085 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/0.4255, allocations: 401.6 kB / 0.6089 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09769/0.5232, allocations: 44.18 MB / 0.652 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01801/0.5412, allocations: 7.915 MB / 0.6598 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.5414, allocations: 60 kB / 0.6598 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02434/0.5658, allocations: 10.57 MB / 0.6702 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005659/0.5663, allocations: 267.2 kB / 0.6704 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005843/0.5669, allocations: 326.6 kB / 0.6707 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.5688, allocations: 1.086 MB / 0.6718 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5689, allocations: 0 / 0.6718 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5689, allocations: 0 / 0.6718 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.5689, allocations: 0 / 0.6718 GB, free: 2.766 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.002422/0.5713, allocations: 1.003 MB / 0.6728 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5713, allocations: 8.031 kB / 0.6728 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.5717, allocations: 88.47 kB / 0.6729 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/0.5727, allocations: 474.7 kB / 0.6733 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.5729, allocations: 160.3 kB / 0.6735 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.573, allocations: 48.12 kB / 0.6735 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5745, allocations: 1.072 MB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.5745, allocations: 7.938 kB / 0.6746 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.5746, allocations: 23.98 kB / 0.6746 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/0.5747, allocations: 40.98 kB / 0.6746 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.5758, allocations: 0.64 MB / 0.6752 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.005153/0.581, allocations: 3.329 MB / 0.6785 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.5819, allocations: 388 kB / 0.6789 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.5823, allocations: 197.4 kB / 0.6791 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.5826, allocations: 48.28 kB / 0.6791 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5826, allocations: 42.89 kB / 0.6791 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 3.276e-06/0.5826, allocations: 0 / 0.6791 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003436/0.5861, allocations: 1.46 MB / 0.6806 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.5861, allocations: 136.5 kB / 0.6807 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007249/0.5869, allocations: 0.5143 MB / 0.6812 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.5869, allocations: 33.7 kB / 0.6812 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5872, allocations: 372.3 kB / 0.6816 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.5874, allocations: 178.5 kB / 0.6818 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.5876, allocations: 134.6 kB / 0.6819 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5879, allocations: 374.7 kB / 0.6822 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/0.5883, allocations: 225.9 kB / 0.6825 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007273/0.589, allocations: 0.5954 MB / 0.683 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5901, allocations: 0.7835 MB / 0.6838 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5901, allocations: 0 / 0.6838 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001871/0.592, allocations: 0.9296 MB / 0.6847 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.592, allocations: 10.66 kB / 0.6847 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.592, allocations: 8 kB / 0.6847 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.5931, allocations: 268.2 kB / 0.685 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.5936, allocations: 131.8 kB / 0.6851 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.5946, allocations: 0.8645 MB / 0.686 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.5952, allocations: 28 kB / 0.686 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.5952, allocations: 32 kB / 0.686 GB, free: 3.41 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.0003839/0.5956, allocations: 245.9 kB / 0.6863 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.5957, allocations: 59.62 kB / 0.6863 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.5971, allocations: 0.7166 MB / 0.687 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.5971, allocations: 7.984 kB / 0.687 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5971, allocations: 0 / 0.687 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5971, allocations: 4 kB / 0.687 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.5994, allocations: 1.228 MB / 0.6882 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.5994, allocations: 7.984 kB / 0.6882 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/0.6004, allocations: 187.8 kB / 0.6884 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.6006, allocations: 60.95 kB / 0.6885 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.6007, allocations: 15.98 kB / 0.6885 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.6033, allocations: 2.73 MB / 0.6911 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6033, allocations: 0 / 0.6911 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.605, allocations: 0.998 MB / 0.6921 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/0.6053, allocations: 131.5 kB / 0.6922 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.6054, allocations: 8 kB / 0.6923 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.6057, allocations: 23.94 kB / 0.6923 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.6058, allocations: 39.98 kB / 0.6923 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.6059, allocations: 24 kB / 0.6923 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004583/0.6063, allocations: 350.8 kB / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6063, allocations: 0 / 0.6927 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008323/0.6071, allocations: 207.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.0004085/0.6076, allocations: 228.1 kB / 0.6931 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6088, allocations: 0.5851 MB / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6088, allocations: 0 / 0.6937 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.61, allocations: 462.7 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.001487/0.6115, allocations: 313.8 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.002492/0.6139, allocations: 1.461 MB / 0.6958 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6143, allocations: 341.1 kB / 0.6961 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.6145, allocations: 63.42 kB / 0.6962 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6145, allocations: 3.938 kB / 0.6962 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.02256/0.6371, allocations: 15.18 MB / 0.711 GB, free: 9.441 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 -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: 10.287217492703348]