Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002573/0.002573, allocations: 103.5 kB / 20.97 MB, free: 3.453 MB / 18.57 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.002844/0.002844, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 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.552/1.552, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3563/0.3563, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.42e-05, allocations: 6.25 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06819/0.06823, allocations: 44.44 MB / 421.7 MB, free: 6.285 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.07974, allocations: 4.471 MB / 426.1 MB, free: 1.797 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.08075, allocations: 27.75 kB / 426.2 MB, free: 1.77 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.08221, allocations: 321.8 kB / 426.5 MB, free: 1.453 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.08612, allocations: 0.9009 MB / 427.4 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.09038, allocations: 0.9385 MB / 428.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.0948, allocations: 1.831 MB / 430.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.09598, allocations: 425.7 kB / 430.6 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2926/0.3886, allocations: 44.56 MB / 475.1 MB, free: 47.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01853/0.4072, allocations: 7.902 MB / 483 MB, free: 44.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.4074, allocations: 59.97 kB / 483.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02651/0.4339, allocations: 10.6 MB / 493.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.4346, allocations: 285.8 kB / 494 MB, free: 41.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.4352, allocations: 280.6 kB / 494.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.4368, allocations: 1.132 MB / 495.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4368, allocations: 0.5469 kB / 495.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4368, allocations: 0 / 495.4 MB, free: 40.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.4368, allocations: 0 / 495.4 MB, free: 40.8 MB / 410.7 MB 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.001914/0.4388, allocations: 1.139 MB / 496.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4388, allocations: 10.06 kB / 496.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.4392, allocations: 157.7 kB / 496.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000815/0.44, allocations: 497 kB / 497.2 MB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.4402, allocations: 156 kB / 497.3 MB, free: 39.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.4403, allocations: 53.97 kB / 497.4 MB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000971/0.4412, allocations: 1.022 MB / 498.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4413, allocations: 5.656 kB / 498.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/0.4413, allocations: 24.78 kB / 498.4 MB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.235e-05/0.4414, allocations: 41.73 kB / 498.5 MB, free: 38.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/0.4421, allocations: 436 kB / 498.9 MB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003673/0.4458, allocations: 4.204 MB / 0.4913 GB, free: 35.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.4465, allocations: 357.5 kB / 0.4916 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.4468, allocations: 158.9 kB / 0.4918 GB, free: 35.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002693/0.447, allocations: 55.73 kB / 0.4918 GB, free: 35.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.447, allocations: 46.86 kB / 0.4919 GB, free: 34.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.447, allocations: 0 / 0.4919 GB, free: 34.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002765/0.4498, allocations: 1.325 MB / 0.4932 GB, free: 34.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.4499, allocations: 140.1 kB / 0.4933 GB, free: 34.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000538/0.4504, allocations: 0.6313 MB / 0.4939 GB, free: 33.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.4504, allocations: 40.08 kB / 0.494 GB, free: 33.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4506, allocations: 449.1 kB / 0.4944 GB, free: 33.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.626e-05/0.4507, allocations: 179.5 kB / 0.4946 GB, free: 33.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.4509, allocations: 167.7 kB / 0.4947 GB, free: 33.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.451, allocations: 0.5724 MB / 0.4953 GB, free: 32.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.4513, allocations: 165.9 kB / 0.4954 GB, free: 32.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.4518, allocations: 0.6781 MB / 0.4961 GB, free: 31.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.4525, allocations: 0.8172 MB / 0.4969 GB, free: 31.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4525, allocations: 7.125 kB / 0.4969 GB, free: 31.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001506/0.454, allocations: 0.8407 MB / 0.4977 GB, free: 30.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4541, allocations: 6.875 kB / 0.4977 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.4541, allocations: 12.31 kB / 0.4977 GB, free: 30.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4551, allocations: 253.4 kB / 0.498 GB, free: 30.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.4556, allocations: 130 kB / 0.4981 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007807/0.4563, allocations: 1.069 MB / 0.4992 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.4568, allocations: 26.62 kB / 0.4992 GB, free: 29.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.4569, allocations: 34.06 kB / 0.4992 GB, free: 29.95 MB / 410.7 MB 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.0003208/0.4572, allocations: 251.8 kB / 0.4995 GB, free: 29.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.4573, allocations: 78.81 kB / 0.4995 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4587, allocations: 0.6625 MB / 0.5002 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4587, allocations: 9.406 kB / 0.5002 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4587, allocations: 0 / 0.5002 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4587, allocations: 3.891 kB / 0.5002 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.4606, allocations: 1.306 MB / 0.5015 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4606, allocations: 6.344 kB / 0.5015 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.4615, allocations: 184.1 kB / 0.5016 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.4618, allocations: 67.44 kB / 0.5017 GB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.4618, allocations: 9.438 kB / 0.5017 GB, free: 28.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.4635, allocations: 3.756 MB / 0.5054 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4635, allocations: 2.562 kB / 0.5054 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4648, allocations: 0.9392 MB / 0.5063 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.4651, allocations: 113.8 kB / 0.5064 GB, free: 24.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.4651, allocations: 20.09 kB / 0.5064 GB, free: 24.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4655, allocations: 16.67 kB / 0.5064 GB, free: 24.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.4656, allocations: 43.34 kB / 0.5065 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.4656, allocations: 18.88 kB / 0.5065 GB, free: 24.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.466, allocations: 397.7 kB / 0.5069 GB, free: 24.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.466, allocations: 0 / 0.5069 GB, free: 24.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008038/0.4668, allocations: 198.5 kB / 0.5071 GB, free: 24.07 MB / 410.7 MB 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.0003865/0.4672, allocations: 225.4 kB / 0.5073 GB, free: 23.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000987/0.4682, allocations: 0.5466 MB / 0.5078 GB, free: 23.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4682, allocations: 3.281 kB / 0.5078 GB, free: 23.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.4692, allocations: 0.4901 MB / 0.5083 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.4707, allocations: 328.8 kB / 0.5086 GB, free: 23.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.4725, allocations: 1.282 MB / 0.5099 GB, free: 22.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4729, allocations: 338.7 kB / 0.5102 GB, free: 22.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008673/0.4738, allocations: 181.5 kB / 0.5104 GB, free: 22.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.474, allocations: 57.67 kB / 0.5104 GB, free: 22.55 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.474, allocations: 0 / 0.5104 GB, free: 22.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03023/0.5042, allocations: 13.89 MB / 0.524 GB, free: 12.32 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.1202854519942775]