Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.002048/0.002048, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002358/0.002358, allocations: 169.3 kB / 24.27 MB, free: 144 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.503/1.503, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 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.3565/0.3565, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.329e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05345/0.05349, allocations: 35.64 MB / 412.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02836/0.08185, allocations: 18.02 MB / 431 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.08271, allocations: 27.75 kB / 431 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.08415, allocations: 421.2 kB / 431.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01412/0.09826, allocations: 5.193 MB / 436.6 MB, free: 7.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007337/0.1056, allocations: 2.586 MB / 439.2 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00281/0.1084, allocations: 2.012 MB / 441.2 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.1091, allocations: 437.9 kB / 441.6 MB, free: 2.375 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1888/0.2979, allocations: 4.4 MB / 446 MB, free: 50.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009006/0.3069, allocations: 5.432 MB / 451.5 MB, free: 49.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002495/0.3072, allocations: 68.38 kB / 451.5 MB, free: 49.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.3187, allocations: 6.934 MB / 458.5 MB, free: 49.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004303/0.3192, allocations: 296.5 kB / 458.7 MB, free: 49.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005875/0.3197, allocations: 319.4 kB / 459.1 MB, free: 49.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.3307, allocations: 6.113 MB / 465.2 MB, free: 49.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3307, allocations: 4 kB / 465.2 MB, free: 49.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3307, allocations: 0 / 465.2 MB, free: 49.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3307, allocations: 3.062 kB / 465.2 MB, free: 49.12 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003984/0.3347, allocations: 1.586 MB / 466.8 MB, free: 48.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3348, allocations: 9.562 kB / 466.8 MB, free: 48.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3363, allocations: 362 kB / 467.1 MB, free: 48.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.3372, allocations: 0.5278 MB / 467.7 MB, free: 48.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.3373, allocations: 161.7 kB / 467.8 MB, free: 47.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.3374, allocations: 65.8 kB / 467.9 MB, free: 47.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.3394, allocations: 1.322 MB / 469.2 MB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.3394, allocations: 10.88 kB / 469.2 MB, free: 47.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.3395, allocations: 30.47 kB / 469.2 MB, free: 47.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/0.3395, allocations: 45.58 kB / 469.3 MB, free: 47.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.3409, allocations: 0.8147 MB / 470.1 MB, free: 47.28 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.004124/0.3451, allocations: 4.497 MB / 474.6 MB, free: 44.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3461, allocations: 0.5242 MB / 475.1 MB, free: 44.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3464, allocations: 196.9 kB / 475.3 MB, free: 44.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08313/0.4296, allocations: 26.11 MB / 0.4897 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.4296, allocations: 41.88 kB / 0.4897 GB, free: 41.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.384e-06/0.4296, allocations: 0 / 0.4897 GB, free: 41.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.005968/0.4356, allocations: 2.118 MB / 0.4918 GB, free: 41.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.4356, allocations: 189.4 kB / 0.492 GB, free: 40.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.4362, allocations: 0.557 MB / 0.4925 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4362, allocations: 37.02 kB / 0.4925 GB, free: 40.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.4364, allocations: 421.9 kB / 0.4929 GB, free: 40.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.961e-05/0.4365, allocations: 178 kB / 0.4931 GB, free: 40.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.4367, allocations: 150.9 kB / 0.4933 GB, free: 40.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.4368, allocations: 376.9 kB / 0.4936 GB, free: 39.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.4371, allocations: 225.9 kB / 0.4938 GB, free: 39.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.4376, allocations: 0.6655 MB / 0.4945 GB, free: 38.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/0.4384, allocations: 0.8678 MB / 0.4953 GB, free: 37.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4384, allocations: 5.25 kB / 0.4953 GB, free: 37.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00123/0.4396, allocations: 0.9191 MB / 0.4962 GB, free: 37.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4397, allocations: 12 kB / 0.4962 GB, free: 37.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.4397, allocations: 14.84 kB / 0.4963 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003129/0.4428, allocations: 264.5 kB / 0.4965 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4439, allocations: 284.4 kB / 0.4968 GB, free: 36.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.4452, allocations: 2.001 MB / 0.4987 GB, free: 34.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.4458, allocations: 35.94 kB / 0.4988 GB, free: 34.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.4458, allocations: 40.22 kB / 0.4988 GB, free: 34.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003382/0.4461, allocations: 279.8 kB / 0.4991 GB, free: 34.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4463, allocations: 75.62 kB / 0.4991 GB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.4481, allocations: 2.098 MB / 0.5012 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.4481, allocations: 27.97 kB / 0.5012 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.4481, allocations: 3.562 kB / 0.5012 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4481, allocations: 8.047 kB / 0.5012 GB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.4508, allocations: 2.81 MB / 0.504 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4508, allocations: 4 kB / 0.504 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008602/0.4517, allocations: 182.3 kB / 0.5042 GB, free: 28.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.4533, allocations: 309.5 kB / 0.5044 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.4533, allocations: 12 kB / 0.5045 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.4546, allocations: 2.065 MB / 0.5065 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4546, allocations: 0 / 0.5065 GB, free: 26.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.4563, allocations: 2.001 MB / 0.5084 GB, free: 24.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.4565, allocations: 147.2 kB / 0.5086 GB, free: 24.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.4566, allocations: 31.78 kB / 0.5086 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.457, allocations: 13.64 kB / 0.5086 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.4571, allocations: 36.44 kB / 0.5086 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.4571, allocations: 19.98 kB / 0.5087 GB, free: 24.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005375/0.4576, allocations: 0.5107 MB / 0.5092 GB, free: 23.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4576, allocations: 0 / 0.5092 GB, free: 23.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003635/0.4613, allocations: 1.1 MB / 0.5102 GB, free: 22.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004267/0.4655, allocations: 1.329 MB / 0.5115 GB, free: 21.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.4673, allocations: 0.9164 MB / 0.5124 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4674, allocations: 0 / 0.5124 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.4684, allocations: 0.6035 MB / 0.513 GB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.4702, allocations: 357.9 kB / 0.5134 GB, free: 19.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.4728, allocations: 2.097 MB / 0.5154 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4732, allocations: 0.4999 MB / 0.5159 GB, free: 16.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005896/0.4737, allocations: 335.3 kB / 0.5162 GB, free: 16.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4739, allocations: 56.5 kB / 0.5163 GB, free: 16.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4739, allocations: 8 kB / 0.5163 GB, free: 16.41 MB / 410.7 MB Notification: Performance of Templates: time 0.06444/0.5383, allocations: 44.32 MB / 0.5596 GB, free: 4.461 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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: 8.435423639952205]