Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001687/0.001687, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 206.7 kB / 25.13 MB, free: 3.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2216/0.2216, allocations: 46.93 MB / 362 MB, free: 4.246 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 87.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.339, allocations: 66.07 MB / 0.5623 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05348/0.3925, allocations: 44.16 MB / 0.6055 GB, free: 7.969 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006934/0.3994, allocations: 4.378 MB / 0.6097 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006573/0.4001, allocations: 27.75 kB / 0.6098 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009138/0.401, allocations: 326 kB / 0.6101 GB, free: 3.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.4031, allocations: 0.8862 MB / 0.6109 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.4054, allocations: 0.9143 MB / 0.6118 GB, free: 1.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.4082, allocations: 1.828 MB / 0.6136 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006773/0.4089, allocations: 393.6 kB / 0.614 GB, free: 15.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1067/0.5156, allocations: 44.26 MB / 0.6572 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01843/0.534, allocations: 7.939 MB / 0.665 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.5343, allocations: 56 kB / 0.665 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/0.5601, allocations: 10.57 MB / 0.6754 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.5607, allocations: 267.2 kB / 0.6756 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000613/0.5613, allocations: 386.2 kB / 0.676 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.563, allocations: 1.094 MB / 0.677 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.563, allocations: 0 / 0.677 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.565e-06/0.563, allocations: 0 / 0.677 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.563, allocations: 0 / 0.677 GB, free: 14.02 MB / 0.5137 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.002162/0.5651, allocations: 0.9912 MB / 0.678 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5652, allocations: 8.031 kB / 0.678 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.5656, allocations: 96.45 kB / 0.6781 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.5665, allocations: 478.7 kB / 0.6786 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.5666, allocations: 156.3 kB / 0.6787 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.5667, allocations: 52.12 kB / 0.6788 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.5681, allocations: 1.068 MB / 0.6798 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5681, allocations: 3.938 kB / 0.6798 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.5682, allocations: 27.98 kB / 0.6798 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/0.5683, allocations: 32.98 kB / 0.6799 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5694, allocations: 0.6517 MB / 0.6805 GB, free: 10.25 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.005072/0.5745, allocations: 4.154 MB / 0.6846 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.5754, allocations: 395.9 kB / 0.6849 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.5758, allocations: 193.4 kB / 0.6851 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.5761, allocations: 60.27 kB / 0.6852 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.5761, allocations: 34.89 kB / 0.6852 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.514e-06/0.5761, allocations: 0 / 0.6852 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003519/0.5796, allocations: 1.46 MB / 0.6866 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5798, allocations: 136.5 kB / 0.6868 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/0.5805, allocations: 0.5732 MB / 0.6873 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.5805, allocations: 33.7 kB / 0.6874 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5808, allocations: 363.9 kB / 0.6877 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.581, allocations: 174.5 kB / 0.6879 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.5812, allocations: 138.6 kB / 0.688 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5814, allocations: 382.6 kB / 0.6884 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.5818, allocations: 225.9 kB / 0.6886 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.5825, allocations: 0.6003 MB / 0.6892 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5836, allocations: 0.7794 MB / 0.6899 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5836, allocations: 4 kB / 0.6899 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00187/0.5854, allocations: 0.9375 MB / 0.6909 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.5855, allocations: 12 kB / 0.6909 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5855, allocations: 8 kB / 0.6909 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.5866, allocations: 261.1 kB / 0.6911 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.587, allocations: 123.8 kB / 0.6912 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.588, allocations: 0.8707 MB / 0.6921 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.5884, allocations: 28 kB / 0.6921 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.35e-05/0.5885, allocations: 39.98 kB / 0.6922 GB, free: 13.59 MB / 0.5294 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.0003313/0.5888, allocations: 237.9 kB / 0.6924 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5889, allocations: 71.64 kB / 0.6925 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.5903, allocations: 0.722 MB / 0.6932 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.5903, allocations: 4 kB / 0.6932 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5904, allocations: 0 / 0.6932 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.5904, allocations: 7.984 kB / 0.6932 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5926, allocations: 1.375 MB / 0.6945 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.5926, allocations: 4 kB / 0.6945 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.5936, allocations: 187.8 kB / 0.6947 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.5938, allocations: 52.8 kB / 0.6947 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.5938, allocations: 20.02 kB / 0.6948 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.5963, allocations: 2.781 MB / 0.6975 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5963, allocations: 0 / 0.6975 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.598, allocations: 1.005 MB / 0.6985 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.5983, allocations: 131.4 kB / 0.6986 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/0.5984, allocations: 15.98 kB / 0.6986 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.5987, allocations: 12 kB / 0.6986 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5988, allocations: 47.88 kB / 0.6987 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.5989, allocations: 19.98 kB / 0.6987 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005444/0.5994, allocations: 423 kB / 0.6991 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5994, allocations: 3.938 kB / 0.6991 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007712/0.6002, allocations: 211.9 kB / 0.6993 GB, free: 5.926 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.000383/0.6006, allocations: 211 kB / 0.6995 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6018, allocations: 0.5968 MB / 0.7001 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6018, allocations: 0 / 0.7001 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.6029, allocations: 470.6 kB / 0.7005 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.6044, allocations: 366.1 kB / 0.7009 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.6068, allocations: 1.442 MB / 0.7023 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.6074, allocations: 0.9345 MB / 0.7032 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005912/0.6079, allocations: 210.5 kB / 0.7034 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.6081, allocations: 59.44 kB / 0.7035 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.6081, allocations: 0 / 0.7035 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of Templates: time 0.02827/0.6364, allocations: 15.88 MB / 0.719 GB, free: 1.875 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.721135257044807]