Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002526/0.002526, allocations: 87.67 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002786/0.002786, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2096/0.2096, allocations: 32.36 MB / 270 MB, free: 14.87 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.586e-05, allocations: 2.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06031/0.06034, allocations: 44.29 MB / 391.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008548/0.06889, allocations: 4.479 MB / 395.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007818/0.06967, allocations: 27.75 kB / 395.8 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.07089, allocations: 309.9 kB / 396.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.07353, allocations: 0.9087 MB / 397 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.07624, allocations: 0.9424 MB / 397.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.07939, allocations: 1.824 MB / 399.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009968/0.08039, allocations: 425.8 kB / 400.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3038/0.3842, allocations: 44.49 MB / 444.6 MB, free: 48.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01745/0.4016, allocations: 7.89 MB / 452.5 MB, free: 45.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.4019, allocations: 60.19 kB / 452.6 MB, free: 45.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02325/0.4251, allocations: 10.59 MB / 463.2 MB, free: 42.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007589/0.4259, allocations: 285.9 kB / 463.5 MB, free: 42.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006844/0.4266, allocations: 285.7 kB / 463.7 MB, free: 42.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.4284, allocations: 1.126 MB / 464.9 MB, free: 42.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4284, allocations: 3.625 kB / 464.9 MB, free: 42.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4284, allocations: 0 / 464.9 MB, free: 42.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.4284, allocations: 0 / 464.9 MB, free: 42.47 MB / 362.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.002301/0.4307, allocations: 1.145 MB / 466 MB, free: 41.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4308, allocations: 10.41 kB / 466 MB, free: 41.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.4312, allocations: 150.5 kB / 466.2 MB, free: 41.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.432, allocations: 496 kB / 466.7 MB, free: 41.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4321, allocations: 160.1 kB / 466.8 MB, free: 41.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.4322, allocations: 53.03 kB / 466.9 MB, free: 41.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.4333, allocations: 1.053 MB / 467.9 MB, free: 40.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.4334, allocations: 3.953 kB / 467.9 MB, free: 40.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.4334, allocations: 27.5 kB / 467.9 MB, free: 40.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.528e-05/0.4335, allocations: 38.05 kB / 468 MB, free: 40.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.4342, allocations: 438.1 kB / 468.4 MB, free: 40.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.4382, allocations: 4.211 MB / 472.6 MB, free: 37.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.439, allocations: 353.4 kB / 473 MB, free: 37.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.4392, allocations: 159.3 kB / 473.1 MB, free: 37.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.4395, allocations: 57.89 kB / 473.2 MB, free: 37.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.4395, allocations: 43.09 kB / 473.2 MB, free: 37.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.755e-06/0.4395, allocations: 4 kB / 473.2 MB, free: 37.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002574/0.4421, allocations: 1.331 MB / 474.6 MB, free: 36.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4421, allocations: 135.9 kB / 474.7 MB, free: 36.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.4426, allocations: 0.6442 MB / 475.3 MB, free: 35.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4426, allocations: 32.08 kB / 475.4 MB, free: 35.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4428, allocations: 441.6 kB / 475.8 MB, free: 35.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.4429, allocations: 187.8 kB / 476 MB, free: 35.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.4431, allocations: 161.3 kB / 476.1 MB, free: 35.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4432, allocations: 0.5766 MB / 476.7 MB, free: 34.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4435, allocations: 165.7 kB / 476.9 MB, free: 34.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.4439, allocations: 0.6824 MB / 477.6 MB, free: 33.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007477/0.4447, allocations: 0.8129 MB / 478.4 MB, free: 33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4447, allocations: 4 kB / 478.4 MB, free: 33 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00145/0.4461, allocations: 0.8452 MB / 479.2 MB, free: 32.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4462, allocations: 12 kB / 479.2 MB, free: 32.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4462, allocations: 8 kB / 479.2 MB, free: 32.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4472, allocations: 248.8 kB / 479.5 MB, free: 32.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.4476, allocations: 126.3 kB / 479.6 MB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007609/0.4483, allocations: 1.068 MB / 480.7 MB, free: 31.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004419/0.4488, allocations: 27.98 kB / 480.7 MB, free: 30.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.174e-05/0.4488, allocations: 41.31 kB / 480.7 MB, free: 30.95 MB / 362.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.0002723/0.4491, allocations: 253.5 kB / 481 MB, free: 30.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.4492, allocations: 83.61 kB / 481.1 MB, free: 30.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4503, allocations: 0.6505 MB / 481.7 MB, free: 29.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.4503, allocations: 11.94 kB / 481.7 MB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4503, allocations: 0 / 481.7 MB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.4503, allocations: 3.984 kB / 481.7 MB, free: 29.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.452, allocations: 1.305 MB / 483 MB, free: 28.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.452, allocations: 0 / 483 MB, free: 28.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008416/0.4528, allocations: 190.3 kB / 483.2 MB, free: 28.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.4531, allocations: 59.7 kB / 483.3 MB, free: 28.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.4531, allocations: 20.45 kB / 483.3 MB, free: 28.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.4549, allocations: 3.765 MB / 487.1 MB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4549, allocations: 0 / 487.1 MB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4561, allocations: 0.9393 MB / 488 MB, free: 23.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.4563, allocations: 107.5 kB / 488.1 MB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.4564, allocations: 23.22 kB / 488.1 MB, free: 23.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.4567, allocations: 8 kB / 488.1 MB, free: 23.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-05/0.4568, allocations: 43.92 kB / 488.2 MB, free: 23.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.4568, allocations: 21.16 kB / 488.2 MB, free: 23.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003549/0.4572, allocations: 394.8 kB / 488.6 MB, free: 22.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4572, allocations: 0 / 488.6 MB, free: 22.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007015/0.4579, allocations: 203.9 kB / 488.8 MB, free: 22.59 MB / 362.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.0005042/0.4584, allocations: 237.3 kB / 489 MB, free: 22.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009158/0.4593, allocations: 0.5482 MB / 489.6 MB, free: 21.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4593, allocations: 0 / 489.6 MB, free: 21.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009434/0.4603, allocations: 0.5005 MB / 490.1 MB, free: 21.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.4616, allocations: 340.8 kB / 490.4 MB, free: 21.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4633, allocations: 1.26 MB / 491.7 MB, free: 19.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.4635, allocations: 337 kB / 492 MB, free: 19.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004969/0.464, allocations: 177.6 kB / 492.2 MB, free: 19.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4641, allocations: 60.48 kB / 492.2 MB, free: 19.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.4641, allocations: 0 / 492.2 MB, free: 19.17 MB / 362.7 MB Notification: Performance of Templates: time 0.01875/0.4829, allocations: 13.88 MB / 0.4942 GB, free: 5.465 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.752725614933297]