Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 196 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251.6 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.91 MB / 351.6 MB, free: 12.24 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 495.3 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4005, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05486/0.4554, allocations: 44.42 MB / 0.5898 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00765/0.4631, allocations: 4.432 MB / 0.5941 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.4639, allocations: 19.88 kB / 0.5941 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.465, allocations: 318 kB / 0.5944 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.4678, allocations: 0.8706 MB / 0.5953 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.4706, allocations: 0.8995 MB / 0.5962 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002733/0.4733, allocations: 1.798 MB / 0.5979 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008137/0.4741, allocations: 405.3 kB / 0.5983 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.5753, allocations: 44.62 MB / 0.6419 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01729/0.5926, allocations: 8.009 MB / 0.6497 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003065/0.5929, allocations: 60 kB / 0.6497 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02433/0.6172, allocations: 10.71 MB / 0.6602 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005762/0.6178, allocations: 271.1 kB / 0.6605 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008325/0.6186, allocations: 394.2 kB / 0.6608 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/0.6206, allocations: 1.086 MB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6206, allocations: 4 kB / 0.6619 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6206, allocations: 3.938 kB / 0.6619 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.6207, allocations: 0 / 0.6619 GB, free: 8.672 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.002365/0.623, allocations: 1.066 MB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6231, allocations: 12.03 kB / 0.663 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.6234, allocations: 92.45 kB / 0.663 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000898/0.6243, allocations: 0.5331 MB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.6245, allocations: 101 kB / 0.6637 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6246, allocations: 64.02 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.626, allocations: 0.8174 MB / 0.6645 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.626, allocations: 0 / 0.6645 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.626, allocations: 23.98 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.04e-05/0.6261, allocations: 44.97 kB / 0.6646 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.6272, allocations: 0.6478 MB / 0.6652 GB, free: 5.094 MB / 0.4981 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.005223/0.6325, allocations: 4.218 MB / 0.6693 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.6333, allocations: 395.9 kB / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.6337, allocations: 197.4 kB / 0.6699 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/0.6342, allocations: 0.5067 MB / 0.6704 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.6343, allocations: 42.89 kB / 0.6704 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.553e-06/0.6343, allocations: 0 / 0.6704 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003391/0.6377, allocations: 1.533 MB / 0.6719 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.6378, allocations: 140.5 kB / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.6385, allocations: 0.5655 MB / 0.6726 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.6386, allocations: 37.7 kB / 0.6727 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.6389, allocations: 363.8 kB / 0.673 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.639, allocations: 174.6 kB / 0.6732 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6392, allocations: 130.6 kB / 0.6733 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.6394, allocations: 382.7 kB / 0.6737 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.6398, allocations: 225.9 kB / 0.6739 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.6405, allocations: 0.5126 MB / 0.6744 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.6416, allocations: 0.7833 MB / 0.6751 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.6416, allocations: 4 kB / 0.6752 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001895/0.6435, allocations: 0.9379 MB / 0.6761 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6435, allocations: 12.06 kB / 0.6761 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6435, allocations: 8 kB / 0.6761 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.6447, allocations: 268.2 kB / 0.6763 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.6451, allocations: 131.8 kB / 0.6765 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.6461, allocations: 0.8606 MB / 0.6773 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.6466, allocations: 31.98 kB / 0.6773 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.6467, allocations: 32 kB / 0.6774 GB, free: 7.812 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.0003389/0.647, allocations: 253.6 kB / 0.6776 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6472, allocations: 67.58 kB / 0.6777 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.6486, allocations: 0.7175 MB / 0.6784 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.6486, allocations: 7.984 kB / 0.6784 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6486, allocations: 4 kB / 0.6784 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6486, allocations: 0 / 0.6784 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6509, allocations: 1.399 MB / 0.6798 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.6509, allocations: 4 kB / 0.6798 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.652, allocations: 196 kB / 0.6799 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.6522, allocations: 64.69 kB / 0.68 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.6523, allocations: 11.98 kB / 0.68 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/0.655, allocations: 2.975 MB / 0.6829 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.655, allocations: 4 kB / 0.6829 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6567, allocations: 1.005 MB / 0.6839 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.657, allocations: 204.6 kB / 0.6841 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6571, allocations: 12 kB / 0.6841 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/0.6575, allocations: 23.98 kB / 0.6841 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.6576, allocations: 35.89 kB / 0.6842 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.6577, allocations: 28.05 kB / 0.6842 GB, free: 396 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005674/0.6582, allocations: 419 kB / 0.6846 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6582, allocations: 0 / 0.6846 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007927/0.659, allocations: 207.8 kB / 0.6848 GB, free: 15.77 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.0005248/0.6595, allocations: 245.8 kB / 0.685 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001239/0.6608, allocations: 0.5776 MB / 0.6856 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6608, allocations: 4 kB / 0.6856 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.662, allocations: 475 kB / 0.6861 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.6637, allocations: 366.2 kB / 0.6864 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.6661, allocations: 1.422 MB / 0.6878 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.6667, allocations: 0.9385 MB / 0.6887 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006454/0.6674, allocations: 219.7 kB / 0.6889 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.6676, allocations: 59.42 kB / 0.689 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.6676, allocations: 0 / 0.689 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.02884/0.6964, allocations: 15.63 MB / 0.7042 GB, free: 11.98 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 6.027146794833243]