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.001686/0.001686, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002002/0.002002, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.451/1.451, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.2188/0.2188, allocations: 46.94 MB / 361.6 MB, free: 4.25 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.001956/0.001956, allocations: 67.91 kB / 0.4974 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2939, allocations: 66.02 MB / 0.5619 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05397/0.3479, allocations: 44.63 MB / 0.6055 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006702/0.3546, allocations: 4.413 MB / 0.6098 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006884/0.3553, allocations: 31.69 kB / 0.6098 GB, free: 3.164 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3563, allocations: 318 kB / 0.6101 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.3584, allocations: 0.8823 MB / 0.611 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.3608, allocations: 0.9266 MB / 0.6119 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.3632, allocations: 1.817 MB / 0.6136 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007584/0.364, allocations: 397.6 kB / 0.614 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.4652, allocations: 44.26 MB / 0.6572 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01704/0.4823, allocations: 7.942 MB / 0.665 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.4825, allocations: 64 kB / 0.6651 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02351/0.506, allocations: 10.59 MB / 0.6754 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/0.5066, allocations: 271.2 kB / 0.6757 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007288/0.5073, allocations: 394.2 kB / 0.676 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.5093, allocations: 1.086 MB / 0.6771 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5093, allocations: 4 kB / 0.6771 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5093, allocations: 0 / 0.6771 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.5093, allocations: 0 / 0.6771 GB, free: 13.61 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.002356/0.5117, allocations: 0.9951 MB / 0.6781 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5117, allocations: 8.031 kB / 0.6781 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.5121, allocations: 92.45 kB / 0.6782 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.5131, allocations: 478.7 kB / 0.6786 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.5132, allocations: 156.3 kB / 0.6788 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.5133, allocations: 56.11 kB / 0.6788 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.5146, allocations: 0.8175 MB / 0.6796 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5146, allocations: 0 / 0.6796 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.5147, allocations: 20 kB / 0.6797 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.5148, allocations: 40.92 kB / 0.6797 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.5159, allocations: 0.6478 MB / 0.6803 GB, free: 10.15 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.005193/0.5211, allocations: 4.166 MB / 0.6844 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008901/0.522, allocations: 403.9 kB / 0.6848 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5223, allocations: 193.4 kB / 0.685 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.5226, allocations: 56.28 kB / 0.685 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.5226, allocations: 34.89 kB / 0.685 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.512e-06/0.5226, allocations: 0 / 0.685 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003277/0.5259, allocations: 1.468 MB / 0.6865 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.526, allocations: 132.5 kB / 0.6866 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006919/0.5267, allocations: 0.5771 MB / 0.6872 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.5267, allocations: 37.7 kB / 0.6872 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.527, allocations: 359.9 kB / 0.6875 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.5271, allocations: 182.5 kB / 0.6877 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.5273, allocations: 134.6 kB / 0.6879 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5275, allocations: 378.7 kB / 0.6882 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.5279, allocations: 225.9 kB / 0.6884 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006444/0.5286, allocations: 0.5126 MB / 0.6889 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.5297, allocations: 0.7871 MB / 0.6897 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.5297, allocations: 8 kB / 0.6897 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00185/0.5316, allocations: 0.9299 MB / 0.6906 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.5316, allocations: 12 kB / 0.6906 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.5316, allocations: 8 kB / 0.6906 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5328, allocations: 267.6 kB / 0.6909 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.5332, allocations: 123.8 kB / 0.691 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.5342, allocations: 0.8723 MB / 0.6919 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.5347, allocations: 27.98 kB / 0.6919 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.5348, allocations: 32 kB / 0.6919 GB, free: 13.57 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.000329/0.5351, allocations: 241.9 kB / 0.6921 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.5352, allocations: 71.52 kB / 0.6922 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.5366, allocations: 0.7169 MB / 0.6929 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.5366, allocations: 8.031 kB / 0.6929 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5366, allocations: 0 / 0.6929 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5366, allocations: 3.984 kB / 0.6929 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.5388, allocations: 1.371 MB / 0.6943 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5388, allocations: 224 / 0.6943 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000982/0.5398, allocations: 199.7 kB / 0.6945 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.5401, allocations: 56.78 kB / 0.6945 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.5401, allocations: 12 kB / 0.6945 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/0.5427, allocations: 2.776 MB / 0.6972 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5427, allocations: 4.031 kB / 0.6972 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.5443, allocations: 1.006 MB / 0.6982 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.5446, allocations: 127.4 kB / 0.6983 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.5447, allocations: 19.98 kB / 0.6984 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5451, allocations: 16 kB / 0.6984 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.178e-05/0.5452, allocations: 43.88 kB / 0.6984 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.5452, allocations: 19.98 kB / 0.6984 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005333/0.5457, allocations: 423 kB / 0.6988 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5457, allocations: 0 / 0.6988 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007563/0.5465, allocations: 207.9 kB / 0.699 GB, free: 5.91 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.0003885/0.5469, allocations: 219.3 kB / 0.6992 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.5481, allocations: 0.5851 MB / 0.6998 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5481, allocations: 4 kB / 0.6998 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.5492, allocations: 458.3 kB / 0.7003 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.5508, allocations: 375.5 kB / 0.7006 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.5533, allocations: 1.481 MB / 0.7021 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.5539, allocations: 0.9306 MB / 0.703 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5541, allocations: 67.42 kB / 0.703 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.5541, allocations: 4 kB / 0.703 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of Templates: time 0.02301/0.5771, allocations: 15.66 MB / 0.7183 GB, free: 2.152 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: 9.923003693809733]