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.001778/0.001778, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 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.002438/0.002438, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.3 MB / 258 MB, free: 8.207 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.2344/0.2344, allocations: 46.94 MB / 361.4 MB, free: 4.406 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.002267/0.002267, allocations: 79.86 kB / 0.4972 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4209, allocations: 66.04 MB / 0.5617 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05652/0.4774, allocations: 44.63 MB / 0.6052 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.4842, allocations: 4.409 MB / 0.6096 GB, free: 3.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.4847, allocations: 31.69 kB / 0.6096 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009071/0.4856, allocations: 318 kB / 0.6099 GB, free: 3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.4876, allocations: 0.8901 MB / 0.6108 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.4901, allocations: 0.9111 MB / 0.6116 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.4927, allocations: 1.825 MB / 0.6134 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000669/0.4933, allocations: 393.6 kB / 0.6138 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1016/0.5949, allocations: 44.27 MB / 0.657 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01758/0.6125, allocations: 7.935 MB / 0.6648 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.6127, allocations: 60 kB / 0.6648 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02367/0.6364, allocations: 10.61 MB / 0.6752 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.6369, allocations: 263.2 kB / 0.6754 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.6375, allocations: 394.2 kB / 0.6758 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.6392, allocations: 1.09 MB / 0.6769 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6392, allocations: 0 / 0.6769 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6392, allocations: 0 / 0.6769 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.6392, allocations: 4 kB / 0.6769 GB, free: 13.75 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.002258/0.6415, allocations: 0.9951 MB / 0.6779 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.6415, allocations: 12.03 kB / 0.6779 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.6419, allocations: 88.47 kB / 0.678 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009109/0.6428, allocations: 474.7 kB / 0.6784 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.6429, allocations: 108.9 kB / 0.6785 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.643, allocations: 48.12 kB / 0.6786 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.6444, allocations: 0.8175 MB / 0.6794 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.6444, allocations: 3.938 kB / 0.6794 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.058e-05/0.6445, allocations: 27.98 kB / 0.6794 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/0.6445, allocations: 32.98 kB / 0.6794 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6457, allocations: 0.6478 MB / 0.6801 GB, free: 10.36 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.005384/0.6511, allocations: 4.174 MB / 0.6841 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009349/0.652, allocations: 392 kB / 0.6845 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.6523, allocations: 197.4 kB / 0.6847 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.6526, allocations: 56.27 kB / 0.6847 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.6527, allocations: 38.89 kB / 0.6848 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.325e-06/0.6527, allocations: 3.938 kB / 0.6848 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003354/0.656, allocations: 1.456 MB / 0.6862 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6561, allocations: 140.5 kB / 0.6863 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.6569, allocations: 0.5732 MB / 0.6869 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.6569, allocations: 33.7 kB / 0.6869 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.6572, allocations: 363.9 kB / 0.6873 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.6574, allocations: 174.5 kB / 0.6875 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6576, allocations: 134.6 kB / 0.6876 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.6578, allocations: 382.6 kB / 0.6879 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.6582, allocations: 221.9 kB / 0.6882 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.6589, allocations: 0.5287 MB / 0.6887 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.66, allocations: 0.7718 MB / 0.6894 GB, free: 88 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.66, allocations: 4 kB / 0.6894 GB, free: 84 kB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001934/0.662, allocations: 0.9413 MB / 0.6903 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.662, allocations: 8 kB / 0.6904 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.662, allocations: 8 kB / 0.6904 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.6632, allocations: 273.3 kB / 0.6906 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.6636, allocations: 119.8 kB / 0.6907 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.6647, allocations: 0.8669 MB / 0.6916 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004445/0.6651, allocations: 24 kB / 0.6916 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.6652, allocations: 43.98 kB / 0.6917 GB, free: 13.77 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.0003337/0.6655, allocations: 245.9 kB / 0.6919 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6656, allocations: 67.58 kB / 0.6919 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6671, allocations: 0.7146 MB / 0.6926 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.6671, allocations: 4 kB / 0.6927 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6671, allocations: 8 kB / 0.6927 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.6671, allocations: 3.984 kB / 0.6927 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002346/0.6695, allocations: 1.371 MB / 0.694 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.6695, allocations: 7.984 kB / 0.694 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6705, allocations: 187.8 kB / 0.6942 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.6707, allocations: 57.02 kB / 0.6942 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.6708, allocations: 15.98 kB / 0.6943 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.6735, allocations: 2.772 MB / 0.697 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6735, allocations: 4.031 kB / 0.697 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.6752, allocations: 1.002 MB / 0.6979 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003137/0.6755, allocations: 131.4 kB / 0.6981 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.6756, allocations: 8 kB / 0.6981 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.676, allocations: 28.05 kB / 0.6981 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.796e-05/0.6761, allocations: 39.81 kB / 0.6981 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.6761, allocations: 23.98 kB / 0.6982 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005643/0.6767, allocations: 427 kB / 0.6986 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.6767, allocations: 3.938 kB / 0.6986 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007607/0.6775, allocations: 199.9 kB / 0.6988 GB, free: 6.117 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.0004041/0.6779, allocations: 223.6 kB / 0.699 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.6792, allocations: 0.5929 MB / 0.6996 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6792, allocations: 0 / 0.6996 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.6804, allocations: 467 kB / 0.7 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.682, allocations: 369.9 kB / 0.7004 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.6845, allocations: 1.436 MB / 0.7018 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.6852, allocations: 0.9345 MB / 0.7027 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007021/0.6859, allocations: 218.7 kB / 0.7029 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.686, allocations: 59.44 kB / 0.7029 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.686, allocations: 0 / 0.7029 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of Templates: time 0.02848/0.7145, allocations: 15.88 MB / 0.7184 GB, free: 2.059 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/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.8767046658322215]