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.001074/0.001074, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001137/0.001137, allocations: 167.8 kB / 24.82 MB, free: 8.863 MB / 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 0.9735/0.9735, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2862/0.2862, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] 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.953e-06/1.953e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.486e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01749/0.01753, allocations: 16.62 MB / 395.1 MB, free: 1.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.03282, allocations: 13.78 MB / 408.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.03375, allocations: 31.75 kB / 409 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.03449, allocations: 242.4 kB / 409.2 MB, free: 3.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.04678, allocations: 4.964 MB / 414.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.05155, allocations: 1.947 MB / 416.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00262/0.05417, allocations: 2.043 MB / 418.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008206/0.05499, allocations: 434 kB / 418.6 MB, free: 10.15 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.06663, allocations: 7.638 MB / 426.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.07024, allocations: 2.19 MB / 428.4 MB, free: 192 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.07044, allocations: 68 kB / 428.5 MB, free: 124 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.08382, allocations: 6.746 MB / 435.2 MB, free: 9.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004962/0.08431, allocations: 299.1 kB / 435.5 MB, free: 9.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006664/0.08498, allocations: 315.3 kB / 435.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.09824, allocations: 5.581 MB / 441.4 MB, free: 3.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.09825, allocations: 0 / 441.4 MB, free: 3.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.09825, allocations: 0 / 441.4 MB, free: 3.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.09826, allocations: 0 / 441.4 MB, free: 3.172 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.004004/0.1023, allocations: 1.649 MB / 443 MB, free: 1.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1023, allocations: 8.031 kB / 443 MB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.1036, allocations: 363.4 kB / 443.4 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.1044, allocations: 0.5045 MB / 443.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1045, allocations: 168.7 kB / 444.1 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.1046, allocations: 64.33 kB / 444.1 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1947/0.2993, allocations: 1.124 MB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.2993, allocations: 9.562 kB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.2994, allocations: 27.5 kB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.2994, allocations: 43.23 kB / 445.3 MB, free: 74.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.3002, allocations: 419.2 kB / 445.7 MB, free: 74.66 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.003141/0.3034, allocations: 5.448 MB / 451.2 MB, free: 70.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.304, allocations: 383.4 kB / 451.6 MB, free: 70.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3041, allocations: 103.8 kB / 451.7 MB, free: 70.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03867/0.3428, allocations: 22.76 MB / 474.4 MB, free: 69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.3429, allocations: 50.45 kB / 474.5 MB, free: 68.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.705e-06/0.3429, allocations: 3.75 kB / 474.5 MB, free: 68.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.004056/0.3469, allocations: 1.321 MB / 475.8 MB, free: 68.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.347, allocations: 192.4 kB / 476 MB, free: 68.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.3475, allocations: 0.5705 MB / 476.6 MB, free: 68.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.3475, allocations: 35.61 kB / 476.6 MB, free: 68.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.3477, allocations: 477.4 kB / 477.1 MB, free: 67.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.3478, allocations: 182.6 kB / 477.2 MB, free: 67.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.348, allocations: 172.3 kB / 477.4 MB, free: 67.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3481, allocations: 0.5574 MB / 478 MB, free: 67.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.3482, allocations: 81.06 kB / 478 MB, free: 67.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.3486, allocations: 0.706 MB / 478.8 MB, free: 66.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005919/0.3492, allocations: 0.7688 MB / 479.5 MB, free: 65.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3492, allocations: 3.344 kB / 479.5 MB, free: 65.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009677/0.3502, allocations: 0.6667 MB / 480.2 MB, free: 65.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.3502, allocations: 11 kB / 480.2 MB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.3502, allocations: 12.38 kB / 480.2 MB, free: 65.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.3522, allocations: 260 kB / 480.5 MB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.3529, allocations: 259.1 kB / 480.7 MB, free: 65.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05371/0.4066, allocations: 21.8 MB / 0.4908 GB, free: 54.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.4073, allocations: 32.45 kB / 0.4908 GB, free: 54.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.4073, allocations: 39.84 kB / 0.4908 GB, free: 54.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.4077, allocations: 223.9 kB / 0.491 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.4078, allocations: 79.44 kB / 0.4911 GB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.4089, allocations: 1.176 MB / 0.4923 GB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.4089, allocations: 30.86 kB / 0.4923 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.4089, allocations: 4 kB / 0.4923 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4089, allocations: 3.828 kB / 0.4923 GB, free: 53.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4106, allocations: 1.666 MB / 0.4939 GB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4106, allocations: 0 / 0.4939 GB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.411, allocations: 163.1 kB / 0.4941 GB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008223/0.4118, allocations: 328.8 kB / 0.4944 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.4118, allocations: 15.56 kB / 0.4944 GB, free: 51.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.4134, allocations: 3.646 MB / 0.498 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4134, allocations: 10.56 kB / 0.498 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009439/0.4143, allocations: 1.235 MB / 0.4992 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.4145, allocations: 148.2 kB / 0.4993 GB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.4146, allocations: 27.47 kB / 0.4994 GB, free: 46.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.4148, allocations: 12 kB / 0.4994 GB, free: 46.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.4149, allocations: 40.77 kB / 0.4994 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.4149, allocations: 14.59 kB / 0.4994 GB, free: 46.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002735/0.4152, allocations: 429.9 kB / 0.4998 GB, free: 46.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4152, allocations: 0 / 0.4998 GB, free: 46.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002904/0.4181, allocations: 1.111 MB / 0.5009 GB, free: 45.42 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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003343/0.4215, allocations: 1.321 MB / 0.5022 GB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.4227, allocations: 0.7478 MB / 0.5029 GB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4227, allocations: 0 / 0.5029 GB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005293/0.4233, allocations: 0.5011 MB / 0.5034 GB, free: 43.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.4244, allocations: 354.9 kB / 0.5038 GB, free: 43.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.4268, allocations: 1.834 MB / 0.5055 GB, free: 41.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.427, allocations: 244.6 kB / 0.5058 GB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000429/0.4274, allocations: 259 kB / 0.506 GB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/0.4279, allocations: 345.8 kB / 0.5064 GB, free: 40.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.4279, allocations: 0 / 0.5064 GB, free: 40.9 MB / 410.7 MB Notification: Performance of Templates: time 0.05087/0.4787, allocations: 51.42 MB / 0.5566 GB, free: 7.773 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",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.395242882892489]