Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001869/0.001869, allocations: 87.67 kB / 20.96 MB, free: 3.441 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.002013/0.002013, allocations: 161.3 kB / 24.27 MB, free: 136 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.612/1.612, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3577/0.3577, allocations: 32.8 MB / 293.9 MB, free: 1.211 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.812e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.05465/0.05468, allocations: 40.12 MB / 415.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03096/0.08563, allocations: 20.14 MB / 435.5 MB, free: 8.504 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.08642, allocations: 27.75 kB / 435.6 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.08768, allocations: 413.3 kB / 436 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.1029, allocations: 5.193 MB / 441.2 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007379/0.1103, allocations: 2.594 MB / 443.8 MB, free: 256 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1657/0.276, allocations: 1.999 MB / 445.8 MB, free: 50.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005845/0.2766, allocations: 433.5 kB / 446.2 MB, free: 50.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008969/0.2855, allocations: 4.418 MB / 450.6 MB, free: 49.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.2963, allocations: 5.432 MB / 456 MB, free: 48.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.2965, allocations: 67.34 kB / 456.1 MB, free: 48.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.3078, allocations: 6.934 MB / 463 MB, free: 48.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.3082, allocations: 300.9 kB / 463.3 MB, free: 48.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.3088, allocations: 323.7 kB / 463.6 MB, free: 48.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.3204, allocations: 6.118 MB / 469.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3204, allocations: 4 kB / 469.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3204, allocations: 0 / 469.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3204, allocations: 0 / 469.8 MB, free: 48.23 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.003743/0.3242, allocations: 1.748 MB / 471.5 MB, free: 47.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3242, allocations: 12 kB / 471.5 MB, free: 47.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.3257, allocations: 356.3 kB / 471.9 MB, free: 47.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008447/0.3265, allocations: 0.5278 MB / 472.4 MB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3266, allocations: 155.8 kB / 472.6 MB, free: 46.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.914e-05/0.3267, allocations: 68.19 kB / 472.6 MB, free: 46.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.3283, allocations: 1.336 MB / 474 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.3283, allocations: 7.188 kB / 474 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.3284, allocations: 34.09 kB / 474 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.3284, allocations: 41.08 kB / 474 MB, free: 46.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.3298, allocations: 0.655 MB / 474.7 MB, free: 46.11 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.004895/0.3347, allocations: 5.978 MB / 480.7 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.3358, allocations: 0.4934 MB / 481.2 MB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.3361, allocations: 174.8 kB / 481.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08874/0.4248, allocations: 26.15 MB / 0.4956 GB, free: 38.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.4249, allocations: 44.62 kB / 0.4956 GB, free: 38.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.913e-06/0.4249, allocations: 3.562 kB / 0.4956 GB, free: 38.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.005571/0.4304, allocations: 1.962 MB / 0.4975 GB, free: 37.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4305, allocations: 187.9 kB / 0.4977 GB, free: 36.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005906/0.4311, allocations: 0.6974 MB / 0.4984 GB, free: 36.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.4311, allocations: 29.86 kB / 0.4984 GB, free: 36.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.4313, allocations: 0.4943 MB / 0.4989 GB, free: 35.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.4314, allocations: 176.5 kB / 0.4991 GB, free: 35.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.4316, allocations: 188.2 kB / 0.4993 GB, free: 35.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4318, allocations: 0.5859 MB / 0.4998 GB, free: 34.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.432, allocations: 176.5 kB / 0.5 GB, free: 34.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005098/0.4325, allocations: 0.789 MB / 0.5008 GB, free: 33.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008062/0.4333, allocations: 0.9268 MB / 0.5017 GB, free: 32.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.4334, allocations: 7.188 kB / 0.5017 GB, free: 32.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001161/0.4345, allocations: 0.8228 MB / 0.5025 GB, free: 31.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4345, allocations: 16.03 kB / 0.5025 GB, free: 31.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.4345, allocations: 12 kB / 0.5025 GB, free: 31.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.4377, allocations: 270.5 kB / 0.5028 GB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4387, allocations: 273.6 kB / 0.503 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.44, allocations: 2.762 MB / 0.5057 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.4406, allocations: 28 kB / 0.5058 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.4406, allocations: 44 kB / 0.5058 GB, free: 28.02 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.0003118/0.4409, allocations: 286.4 kB / 0.5061 GB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.4411, allocations: 75.62 kB / 0.5062 GB, free: 27.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.4425, allocations: 1.347 MB / 0.5075 GB, free: 26.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.4425, allocations: 27.95 kB / 0.5075 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4425, allocations: 0 / 0.5075 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.4425, allocations: 3.469 kB / 0.5075 GB, free: 26.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.4448, allocations: 2.07 MB / 0.5095 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4448, allocations: 3.984 kB / 0.5095 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008057/0.4456, allocations: 175 kB / 0.5097 GB, free: 24.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.4473, allocations: 271.2 kB / 0.5099 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.4473, allocations: 15.98 kB / 0.51 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.4486, allocations: 2.738 MB / 0.5126 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4486, allocations: 0 / 0.5126 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4502, allocations: 1.516 MB / 0.5141 GB, free: 19.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.4505, allocations: 139.1 kB / 0.5142 GB, free: 19.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.4506, allocations: 31.78 kB / 0.5143 GB, free: 19.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.4509, allocations: 23.92 kB / 0.5143 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.451, allocations: 36.56 kB / 0.5143 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.451, allocations: 16 kB / 0.5144 GB, free: 19.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005241/0.4516, allocations: 0.5458 MB / 0.5149 GB, free: 18.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4516, allocations: 0 / 0.5149 GB, free: 18.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003656/0.4552, allocations: 1.1 MB / 0.516 GB, free: 17.44 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.004353/0.4596, allocations: 1.33 MB / 0.5173 GB, free: 16.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.4613, allocations: 0.7336 MB / 0.518 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4613, allocations: 0 / 0.518 GB, free: 15.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4624, allocations: 451.9 kB / 0.5184 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.465, allocations: 355.9 kB / 0.5187 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.4683, allocations: 1.906 MB / 0.5206 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.4688, allocations: 492.5 kB / 0.5211 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009052/0.4697, allocations: 326.2 kB / 0.5214 GB, free: 12.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.4699, allocations: 60.48 kB / 0.5214 GB, free: 11.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4699, allocations: 4 kB / 0.5214 GB, free: 11.96 MB / 410.7 MB Notification: Performance of Templates: time 0.07969/0.5495, allocations: 45 MB / 0.5654 GB, free: 15.36 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.257919227937236]