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.001876/0.001876, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002257/0.002257, allocations: 156.9 kB / 24.27 MB, free: 172 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.482/1.482, allocations: 177 MB / 204.4 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.3785/0.3785, allocations: 34.24 MB / 295.2 MB, free: 0.6562 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.593e-06/1.593e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.454e-05/3.613e-05, allocations: 7.234 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06029/0.06033, allocations: 39.69 MB / 416.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008597/0.06893, allocations: 4.07 MB / 421 MB, free: 6.977 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.06965, allocations: 27.75 kB / 421 MB, free: 6.949 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.07071, allocations: 309.9 kB / 421.3 MB, free: 6.645 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.07324, allocations: 0.9087 MB / 422.2 MB, free: 5.73 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.07597, allocations: 0.9463 MB / 423.2 MB, free: 4.781 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.07866, allocations: 1.82 MB / 425 MB, free: 2.957 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.07949, allocations: 421.7 kB / 425.4 MB, free: 2.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2804/0.3599, allocations: 44.57 MB / 470 MB, free: 52.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/0.3736, allocations: 7.903 MB / 477.9 MB, free: 50.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.3739, allocations: 58.47 kB / 477.9 MB, free: 50.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02233/0.3962, allocations: 10.59 MB / 488.5 MB, free: 46.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.3973, allocations: 281.6 kB / 488.8 MB, free: 46.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009946/0.3982, allocations: 277.5 kB / 489.1 MB, free: 46.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002452/0.4007, allocations: 1.124 MB / 490.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4007, allocations: 0 / 490.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4007, allocations: 0 / 490.2 MB, free: 46.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4007, allocations: 1.375 kB / 490.2 MB, free: 46.51 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.00242/0.4031, allocations: 0.9793 MB / 491.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.4032, allocations: 10.69 kB / 491.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.4037, allocations: 160 kB / 491.3 MB, free: 45.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4048, allocations: 497.8 kB / 491.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.4049, allocations: 156.5 kB / 492 MB, free: 45.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.4051, allocations: 55.06 kB / 492 MB, free: 45.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4065, allocations: 1.074 MB / 493.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.4065, allocations: 6.125 kB / 493.1 MB, free: 44.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.4066, allocations: 19.94 kB / 493.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.4066, allocations: 39.5 kB / 493.2 MB, free: 44.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4076, allocations: 0.6449 MB / 493.8 MB, free: 44.43 MB / 410.7 MB 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.004008/0.4117, allocations: 3.351 MB / 497.2 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/0.4125, allocations: 397.8 kB / 497.5 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.4127, allocations: 197 kB / 497.7 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.4131, allocations: 55.14 kB / 497.8 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4131, allocations: 38.14 kB / 497.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.4131, allocations: 0 / 497.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.00306/0.4161, allocations: 1.465 MB / 499.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.4162, allocations: 134.5 kB / 499.4 MB, free: 40.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.4167, allocations: 0.5207 MB / 499.9 MB, free: 40.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.4167, allocations: 32.67 kB / 500 MB, free: 40.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.4169, allocations: 373.3 kB / 0.4886 GB, free: 40.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.417, allocations: 173.1 kB / 0.4888 GB, free: 40.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.4172, allocations: 132.4 kB / 0.4889 GB, free: 40.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.4173, allocations: 370.6 kB / 0.4893 GB, free: 39.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.4176, allocations: 226.9 kB / 0.4895 GB, free: 39.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.4181, allocations: 0.5883 MB / 0.4901 GB, free: 39.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.4189, allocations: 0.7824 MB / 0.4908 GB, free: 38.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4189, allocations: 0 / 0.4908 GB, free: 38.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001558/0.4204, allocations: 0.975 MB / 0.4918 GB, free: 38.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4205, allocations: 14.31 kB / 0.4918 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4205, allocations: 8.625 kB / 0.4918 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.4216, allocations: 265.3 kB / 0.492 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.422, allocations: 128.4 kB / 0.4922 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007919/0.4228, allocations: 0.8611 MB / 0.493 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000518/0.4233, allocations: 30.38 kB / 0.493 GB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.4234, allocations: 37.34 kB / 0.4931 GB, free: 37.44 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.0003147/0.4237, allocations: 250.5 kB / 0.4933 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4238, allocations: 75.61 kB / 0.4934 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.425, allocations: 0.7055 MB / 0.4941 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.425, allocations: 9.531 kB / 0.4941 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.425, allocations: 4 kB / 0.4941 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.425, allocations: 2.109 kB / 0.4941 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.4268, allocations: 1.235 MB / 0.4953 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4268, allocations: 2.375 kB / 0.4953 GB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/0.4278, allocations: 198.2 kB / 0.4955 GB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002557/0.428, allocations: 54.56 kB / 0.4955 GB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.4281, allocations: 19.58 kB / 0.4956 GB, free: 36.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.4298, allocations: 2.739 MB / 0.4982 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4298, allocations: 3.094 kB / 0.4982 GB, free: 33.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.4313, allocations: 1.013 MB / 0.4992 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.4316, allocations: 114.7 kB / 0.4993 GB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.4317, allocations: 14.25 kB / 0.4993 GB, free: 33.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.432, allocations: 20.2 kB / 0.4994 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.4321, allocations: 39.2 kB / 0.4994 GB, free: 33.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.4322, allocations: 19.69 kB / 0.4994 GB, free: 33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.4325, allocations: 351 kB / 0.4998 GB, free: 32.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4325, allocations: 0 / 0.4998 GB, free: 32.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000896/0.4334, allocations: 201 kB / 0.4999 GB, free: 32.82 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.000497/0.4339, allocations: 231.1 kB / 0.5002 GB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001341/0.4353, allocations: 0.5826 MB / 0.5007 GB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4353, allocations: 0 / 0.5007 GB, free: 32.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4364, allocations: 476.8 kB / 0.5012 GB, free: 32.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.4378, allocations: 334.7 kB / 0.5015 GB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.4396, allocations: 1.319 MB / 0.5028 GB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4398, allocations: 342.3 kB / 0.5031 GB, free: 31.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.4404, allocations: 201.4 kB / 0.5033 GB, free: 31.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4405, allocations: 59.62 kB / 0.5034 GB, free: 31.36 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4406, allocations: 0 / 0.5034 GB, free: 31.36 MB / 410.7 MB Notification: Performance of Templates: time 0.01979/0.4603, allocations: 13.88 MB / 0.5169 GB, free: 21.67 MB / 410.7 MB " [Timeout remaining time 660] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] 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: 5.7225346229970455]