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.002098/0.002098, allocations: 107.6 kB / 21.19 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.002316/0.002316, allocations: 215.6 kB / 24.48 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2279/0.2279, allocations: 46.95 MB / 361.6 MB, free: 4.082 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.001966/0.001966, allocations: 67.91 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3615, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05267/0.4141, allocations: 39.8 MB / 0.6007 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006898/0.421, allocations: 4.063 MB / 0.6047 GB, free: 8.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/0.4218, allocations: 27.75 kB / 0.6047 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.4229, allocations: 306 kB / 0.605 GB, free: 7.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.4252, allocations: 0.8862 MB / 0.6058 GB, free: 6.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.4278, allocations: 0.911 MB / 0.6067 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.4305, allocations: 1.828 MB / 0.6085 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007835/0.4313, allocations: 397.6 kB / 0.6089 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1153/0.5466, allocations: 44.19 MB / 0.6521 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02056/0.5672, allocations: 7.943 MB / 0.6598 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002582/0.5675, allocations: 60 kB / 0.6599 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02799/0.5955, allocations: 10.57 MB / 0.6702 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006205/0.5961, allocations: 271.2 kB / 0.6704 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005781/0.5967, allocations: 326.6 kB / 0.6708 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001869/0.5985, allocations: 1.078 MB / 0.6718 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5985, allocations: 0 / 0.6718 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5985, allocations: 4 kB / 0.6718 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.7e-05/0.5986, allocations: 4 kB / 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.002435/0.601, allocations: 0.9989 MB / 0.6728 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.601, allocations: 12.03 kB / 0.6728 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.6015, allocations: 88.47 kB / 0.6729 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6025, allocations: 478.7 kB / 0.6733 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.6027, allocations: 160.4 kB / 0.6735 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.6028, allocations: 48.12 kB / 0.6735 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.6043, allocations: 1.076 MB / 0.6746 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.6043, allocations: 7.875 kB / 0.6746 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.6044, allocations: 24 kB / 0.6746 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/0.6045, allocations: 40.97 kB / 0.6747 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6056, allocations: 0.6399 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.005155/0.6108, allocations: 3.321 MB / 0.6785 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.6117, allocations: 397.5 kB / 0.6789 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.612, allocations: 197.4 kB / 0.6791 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.6123, allocations: 52.3 kB / 0.6791 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.6124, allocations: 38.89 kB / 0.6792 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.6124, allocations: 0 / 0.6792 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003487/0.6159, allocations: 1.456 MB / 0.6806 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.6159, allocations: 132.5 kB / 0.6807 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/0.6166, allocations: 0.5221 MB / 0.6812 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.6167, allocations: 29.7 kB / 0.6813 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.617, allocations: 372.3 kB / 0.6816 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.6172, allocations: 174.5 kB / 0.6818 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.6174, allocations: 138.6 kB / 0.6819 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.6177, allocations: 374.7 kB / 0.6823 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/0.6181, allocations: 229.8 kB / 0.6825 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.6189, allocations: 0.5993 MB / 0.6831 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.62, allocations: 0.7718 MB / 0.6838 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.62, allocations: 4 kB / 0.6838 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00199/0.622, allocations: 0.9294 MB / 0.6848 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.622, allocations: 12 kB / 0.6848 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.622, allocations: 8.844 kB / 0.6848 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.6232, allocations: 264.6 kB / 0.685 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.6237, allocations: 119.8 kB / 0.6851 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.6249, allocations: 0.8645 MB / 0.686 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.6254, allocations: 28 kB / 0.686 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-05/0.6255, allocations: 35.98 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.0004214/0.6259, allocations: 241.9 kB / 0.6863 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.6261, allocations: 63.69 kB / 0.6863 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.6275, allocations: 0.7188 MB / 0.687 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6275, allocations: 4 kB / 0.687 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6275, allocations: 4 kB / 0.687 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.6275, allocations: 0 / 0.687 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/0.6299, allocations: 1.232 MB / 0.6882 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.6299, allocations: 4 kB / 0.6883 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.631, allocations: 191.7 kB / 0.6884 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.6313, allocations: 68.94 kB / 0.6885 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.6313, allocations: 15.98 kB / 0.6885 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002791/0.6341, allocations: 2.726 MB / 0.6912 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.6341, allocations: 4.031 kB / 0.6912 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.6358, allocations: 1.002 MB / 0.6922 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.6361, allocations: 127.5 kB / 0.6923 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.6362, allocations: 16.06 kB / 0.6923 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.6366, allocations: 16 kB / 0.6923 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.6367, allocations: 39.92 kB / 0.6924 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.6368, allocations: 16 kB / 0.6924 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000466/0.6372, allocations: 354.8 kB / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6372, allocations: 0 / 0.6927 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008581/0.6381, allocations: 203.8 kB / 0.6929 GB, free: 12.09 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.0004302/0.6385, allocations: 230.5 kB / 0.6931 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.6398, allocations: 0.5885 MB / 0.6937 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6398, allocations: 0.5625 kB / 0.6937 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.641, allocations: 458.3 kB / 0.6941 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6424, allocations: 307.3 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.00265/0.6451, allocations: 1.472 MB / 0.6959 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.6455, allocations: 333.1 kB / 0.6962 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.6457, allocations: 63.42 kB / 0.6962 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.6457, allocations: 0 / 0.6962 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.02279/0.6685, allocations: 15.18 MB / 0.7111 GB, free: 9.469 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.281471380993025]