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.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.001858/0.001858, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002295/0.002295, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.57/1.57, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3601/0.3601, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 179] 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.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.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 1.473e-06/1.473e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.207e-05, allocations: 6.25 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06189/0.06192, allocations: 44.44 MB / 419.7 MB, free: 8.383 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007485/0.0694, allocations: 4.479 MB / 424.2 MB, free: 3.887 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.06988, allocations: 31.69 kB / 424.2 MB, free: 3.855 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.07081, allocations: 302 kB / 424.5 MB, free: 3.559 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.07285, allocations: 0.9126 MB / 425.4 MB, free: 2.641 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.07522, allocations: 0.9346 MB / 426.4 MB, free: 1.703 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.07752, allocations: 1.836 MB / 428.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006802/0.0782, allocations: 417.7 kB / 428.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2861/0.3643, allocations: 44.57 MB / 473.2 MB, free: 49.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01902/0.3833, allocations: 7.904 MB / 481.1 MB, free: 47.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002857/0.3836, allocations: 59.84 kB / 481.1 MB, free: 47.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02689/0.4105, allocations: 10.6 MB / 491.7 MB, free: 44.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.4111, allocations: 283.6 kB / 492 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.4118, allocations: 281.9 kB / 492.3 MB, free: 43.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.4136, allocations: 1.129 MB / 493.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4136, allocations: 0 / 493.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4136, allocations: 0 / 493.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.4136, allocations: 0 / 493.4 MB, free: 43.61 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.002157/0.4158, allocations: 1.138 MB / 494.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4158, allocations: 12.86 kB / 494.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.4163, allocations: 155 kB / 494.7 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007983/0.4171, allocations: 0.4899 MB / 495.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4172, allocations: 153.8 kB / 495.4 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.533e-05/0.4173, allocations: 53.5 kB / 495.4 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4183, allocations: 1.02 MB / 496.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.4184, allocations: 5.969 kB / 496.4 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.4184, allocations: 27.64 kB / 496.5 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.4185, allocations: 42.28 kB / 496.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007613/0.4192, allocations: 432.7 kB / 496.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.423, allocations: 4.205 MB / 0.4894 GB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007717/0.4238, allocations: 365.6 kB / 0.4897 GB, free: 37.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.4241, allocations: 157.2 kB / 0.4899 GB, free: 37.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.4244, allocations: 53.27 kB / 0.4899 GB, free: 37.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4244, allocations: 40.88 kB / 0.49 GB, free: 37.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.4244, allocations: 4 kB / 0.49 GB, free: 37.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.002809/0.4272, allocations: 1.318 MB / 0.4913 GB, free: 37.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4272, allocations: 142.6 kB / 0.4914 GB, free: 36.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.4278, allocations: 0.6382 MB / 0.492 GB, free: 36.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.4278, allocations: 32.86 kB / 0.4921 GB, free: 36.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.428, allocations: 446.3 kB / 0.4925 GB, free: 36.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.4281, allocations: 188.2 kB / 0.4927 GB, free: 36.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.4283, allocations: 168.8 kB / 0.4928 GB, free: 35.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4284, allocations: 0.5729 MB / 0.4934 GB, free: 35.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.4287, allocations: 164.8 kB / 0.4935 GB, free: 35.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.4292, allocations: 0.679 MB / 0.4942 GB, free: 34.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/0.4299, allocations: 0.8199 MB / 0.495 GB, free: 34.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4299, allocations: 4.047 kB / 0.495 GB, free: 34.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001449/0.4314, allocations: 0.8369 MB / 0.4958 GB, free: 33.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4314, allocations: 9.906 kB / 0.4958 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4314, allocations: 10.44 kB / 0.4959 GB, free: 33.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4324, allocations: 247.2 kB / 0.4961 GB, free: 33.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.4328, allocations: 128.6 kB / 0.4962 GB, free: 33.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007315/0.4336, allocations: 1.074 MB / 0.4973 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.434, allocations: 27.5 kB / 0.4973 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.4341, allocations: 35.75 kB / 0.4973 GB, free: 32.75 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.000254/0.4343, allocations: 254.8 kB / 0.4976 GB, free: 32.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4344, allocations: 72.12 kB / 0.4976 GB, free: 32.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4357, allocations: 0.6711 MB / 0.4983 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.4357, allocations: 7.188 kB / 0.4983 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4357, allocations: 4.156 kB / 0.4983 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.4357, allocations: 3.094 kB / 0.4983 GB, free: 32.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.4377, allocations: 1.304 MB / 0.4996 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4377, allocations: 3.578 kB / 0.4996 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.4386, allocations: 186.1 kB / 0.4998 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.4388, allocations: 56.64 kB / 0.4998 GB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.4389, allocations: 22.19 kB / 0.4998 GB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.4407, allocations: 3.754 MB / 0.5035 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4407, allocations: 3.766 kB / 0.5035 GB, free: 27.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4421, allocations: 0.9309 MB / 0.5044 GB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.4424, allocations: 121.7 kB / 0.5045 GB, free: 27.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.309e-05/0.4425, allocations: 11.53 kB / 0.5045 GB, free: 27.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.4429, allocations: 18.23 kB / 0.5046 GB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.443, allocations: 40.55 kB / 0.5046 GB, free: 27.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.443, allocations: 18.69 kB / 0.5046 GB, free: 27.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004807/0.4435, allocations: 399 kB / 0.505 GB, free: 26.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4435, allocations: 0 / 0.505 GB, free: 26.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009491/0.4445, allocations: 203 kB / 0.5052 GB, free: 26.86 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.0004029/0.4449, allocations: 220.2 kB / 0.5054 GB, free: 26.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.4459, allocations: 0.5476 MB / 0.5059 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4459, allocations: 0 / 0.5059 GB, free: 26.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.4469, allocations: 0.4958 MB / 0.5064 GB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4484, allocations: 330.8 kB / 0.5067 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.4502, allocations: 1.275 MB / 0.508 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.4505, allocations: 336.4 kB / 0.5083 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.451, allocations: 178.4 kB / 0.5085 GB, free: 25.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4511, allocations: 58.47 kB / 0.5085 GB, free: 25.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4511, allocations: 4 kB / 0.5085 GB, free: 25.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02079/0.4719, allocations: 13.91 MB / 0.5221 GB, free: 16.34 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] 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: 5.878516028053127]