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.001303/0.001303, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001573/0.001573, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.451/1.451, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2355/0.2355, allocations: 46.88 MB / 361.1 MB, free: 4.656 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.002354/0.002354, allocations: 83.84 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3554, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05783/0.4132, allocations: 44.61 MB / 0.6048 GB, free: 8.266 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007186/0.4204, allocations: 4.417 MB / 0.6091 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.4212, allocations: 19.88 kB / 0.6091 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.4223, allocations: 330 kB / 0.6094 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.4251, allocations: 0.8705 MB / 0.6103 GB, free: 2.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003159/0.4282, allocations: 0.9027 MB / 0.6111 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.4312, allocations: 1.801 MB / 0.6129 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.4323, allocations: 397.4 kB / 0.6133 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.108/0.5403, allocations: 44.67 MB / 0.6569 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01809/0.5584, allocations: 8.025 MB / 0.6647 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.5588, allocations: 60 kB / 0.6648 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02737/0.5861, allocations: 10.7 MB / 0.6752 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.5868, allocations: 279.1 kB / 0.6755 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008621/0.5876, allocations: 390.2 kB / 0.6759 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.5897, allocations: 1.09 MB / 0.6769 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5897, allocations: 3.938 kB / 0.677 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5897, allocations: 0 / 0.677 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.977e-05/0.5898, allocations: 0 / 0.677 GB, free: 13.6 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.002783/0.5926, allocations: 1.07 MB / 0.678 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5926, allocations: 16.02 kB / 0.678 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.593, allocations: 88.47 kB / 0.6781 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5941, allocations: 0.5408 MB / 0.6786 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5943, allocations: 105 kB / 0.6787 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5944, allocations: 56.11 kB / 0.6788 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5959, allocations: 0.8136 MB / 0.6796 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.5959, allocations: 0 / 0.6796 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.596, allocations: 27.98 kB / 0.6796 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.752e-05/0.596, allocations: 40.92 kB / 0.6796 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5973, allocations: 0.6478 MB / 0.6803 GB, free: 10.02 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.005829/0.6031, allocations: 4.217 MB / 0.6844 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.6041, allocations: 403.9 kB / 0.6848 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.6044, allocations: 193.4 kB / 0.685 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.605, allocations: 0.4951 MB / 0.6854 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.605, allocations: 46.81 kB / 0.6855 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.863e-06/0.605, allocations: 0 / 0.6855 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003628/0.6086, allocations: 1.53 MB / 0.687 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.6087, allocations: 140.5 kB / 0.6871 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/0.6096, allocations: 0.5694 MB / 0.6877 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.6096, allocations: 37.7 kB / 0.6877 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.61, allocations: 363.8 kB / 0.6881 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.6101, allocations: 166.6 kB / 0.6882 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.6104, allocations: 142.6 kB / 0.6884 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002149/0.6106, allocations: 374.7 kB / 0.6887 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.6111, allocations: 225.9 kB / 0.6889 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007433/0.6118, allocations: 0.528 MB / 0.6894 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.613, allocations: 0.7718 MB / 0.6902 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.613, allocations: 4 kB / 0.6902 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001925/0.6149, allocations: 0.9332 MB / 0.6911 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.615, allocations: 8 kB / 0.6911 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.615, allocations: 12.81 kB / 0.6911 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.6161, allocations: 275.7 kB / 0.6914 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.6166, allocations: 123.8 kB / 0.6915 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/0.6177, allocations: 0.8708 MB / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.6182, allocations: 24 kB / 0.6924 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.357e-05/0.6182, allocations: 32 kB / 0.6924 GB, free: 12.73 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.0003644/0.6186, allocations: 248.5 kB / 0.6927 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.6188, allocations: 71.52 kB / 0.6927 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.6202, allocations: 0.7122 MB / 0.6934 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.6202, allocations: 8 kB / 0.6934 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6202, allocations: 0 / 0.6934 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6202, allocations: 0 / 0.6934 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.6226, allocations: 1.4 MB / 0.6948 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.6227, allocations: 4 kB / 0.6948 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6237, allocations: 195.7 kB / 0.695 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000243/0.6239, allocations: 57.02 kB / 0.695 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.6239, allocations: 15.98 kB / 0.695 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.6266, allocations: 2.987 MB / 0.698 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.6266, allocations: 4.031 kB / 0.698 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6282, allocations: 0.9934 MB / 0.6989 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003529/0.6286, allocations: 208.7 kB / 0.6991 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6287, allocations: 12 kB / 0.6992 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.6291, allocations: 12 kB / 0.6992 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.6292, allocations: 43.97 kB / 0.6992 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.6292, allocations: 27.92 kB / 0.6992 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005441/0.6298, allocations: 419 kB / 0.6996 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6298, allocations: 0 / 0.6996 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000825/0.6306, allocations: 211.9 kB / 0.6998 GB, free: 4.699 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.0005478/0.6312, allocations: 231.8 kB / 0.7001 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.6324, allocations: 0.5875 MB / 0.7006 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.6324, allocations: 1.562 kB / 0.7006 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.6336, allocations: 475 kB / 0.7011 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.6354, allocations: 380.8 kB / 0.7014 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.6377, allocations: 1.422 MB / 0.7028 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.6384, allocations: 0.9385 MB / 0.7037 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006218/0.639, allocations: 204.9 kB / 0.7039 GB, free: 428 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.6392, allocations: 59.44 kB / 0.704 GB, free: 368 kB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.6392, allocations: 0 / 0.704 GB, free: 368 kB / 0.5294 GB Notification: Performance of Templates: time 0.03181/0.671, allocations: 15.73 MB / 0.7194 GB, free: 0.7969 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 cvode -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_2/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_2/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.8469735803082585]