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.00141/0.00141, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001517/0.001517, allocations: 174.4 kB / 25.61 MB, free: 8.91 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.9325/0.9325, allocations: 177.2 MB / 206.1 MB, free: 4.5 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.1338/0.1338, allocations: 34.25 MB / 296.9 MB, free: 13.94 MB / 282.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 2.074e-06/2.074e-06, allocations: 4 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.116e-05, allocations: 4.984 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01025/0.01026, allocations: 16.61 MB / 395.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.02095, allocations: 13.76 MB / 409.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.02137, allocations: 31.69 kB / 409.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.02182, allocations: 246.3 kB / 410 MB, free: 8.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.02935, allocations: 4.968 MB / 414.9 MB, free: 3.652 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.03233, allocations: 1.951 MB / 416.9 MB, free: 1.695 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.03398, allocations: 2.043 MB / 418.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004664/0.03444, allocations: 438 kB / 419.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008956/0.0434, allocations: 7.634 MB / 427 MB, free: 7.453 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002619/0.04602, allocations: 2.186 MB / 429.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.04612, allocations: 64 kB / 429.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008145/0.05426, allocations: 6.75 MB / 436 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.05451, allocations: 307 kB / 436.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.05478, allocations: 315.3 kB / 436.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.06101, allocations: 5.577 MB / 442.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.06101, allocations: 0 / 442.2 MB, free: 8.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06102, allocations: 4 kB / 442.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.06102, allocations: 0 / 442.2 MB, free: 8.215 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002412/0.06344, allocations: 1.638 MB / 443.8 MB, free: 6.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.06347, allocations: 15.97 kB / 443.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008775/0.06434, allocations: 367.3 kB / 444.2 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.06487, allocations: 0.5046 MB / 444.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.06496, allocations: 160.7 kB / 444.8 MB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.06503, allocations: 64.36 kB / 444.9 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.06598, allocations: 1.121 MB / 446 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.066, allocations: 11.86 kB / 446 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.06605, allocations: 36 kB / 446.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.06609, allocations: 40.98 kB / 446.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.06668, allocations: 418.1 kB / 446.5 MB, free: 3.559 MB / 362.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.002969/0.06965, allocations: 5.472 MB / 452 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.07021, allocations: 385.5 kB / 452.4 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.07031, allocations: 102.9 kB / 452.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03955/0.1099, allocations: 22.62 MB / 475.1 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1099, allocations: 45.39 kB / 475.1 MB, free: 6.672 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 1.793e-06/0.1099, allocations: 0 / 475.1 MB, free: 6.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.002836/0.1127, allocations: 1.304 MB / 476.4 MB, free: 5.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.1128, allocations: 183.9 kB / 476.6 MB, free: 5.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1132, allocations: 0.576 MB / 477.2 MB, free: 4.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1132, allocations: 37.64 kB / 477.2 MB, free: 4.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.1134, allocations: 478.5 kB / 477.7 MB, free: 3.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.26e-05/0.1135, allocations: 170.6 kB / 477.9 MB, free: 3.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1136, allocations: 180.1 kB / 478 MB, free: 3.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1138, allocations: 0.5585 MB / 478.6 MB, free: 3.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.1139, allocations: 85.98 kB / 478.7 MB, free: 2.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.1143, allocations: 0.7055 MB / 479.4 MB, free: 2.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.1147, allocations: 0.7675 MB / 480.2 MB, free: 1.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1148, allocations: 4 kB / 480.2 MB, free: 1.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006365/0.1154, allocations: 0.6339 MB / 480.8 MB, free: 368 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1154, allocations: 12.06 kB / 480.8 MB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1154, allocations: 16 kB / 480.8 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.1169, allocations: 251.3 kB / 481.1 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.1174, allocations: 255.7 kB / 481.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.1185, allocations: 2.649 MB / 484 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1187, allocations: 28 kB / 484 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.1187, allocations: 40.16 kB / 484 MB, free: 12.97 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.1189, allocations: 220.2 kB / 484.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.119, allocations: 87.56 kB / 484.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.1199, allocations: 1.147 MB / 485.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.12, allocations: 23.97 kB / 485.5 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.12, allocations: 4.062 kB / 485.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.12, allocations: 3.984 kB / 485.5 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1213, allocations: 1.645 MB / 487.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1213, allocations: 0 / 487.2 MB, free: 9.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.1217, allocations: 151.8 kB / 487.3 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007674/0.1225, allocations: 247.2 kB / 487.5 MB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1225, allocations: 15.98 kB / 487.6 MB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009437/0.1235, allocations: 2.622 MB / 490.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1235, allocations: 0 / 490.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.1243, allocations: 1.212 MB / 491.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1244, allocations: 139.1 kB / 491.5 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.087e-05/0.1245, allocations: 31.78 kB / 491.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1247, allocations: 12 kB / 491.6 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.1247, allocations: 36.38 kB / 491.6 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.1248, allocations: 11.98 kB / 491.6 MB, free: 5.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.125, allocations: 434.8 kB / 492 MB, free: 4.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.125, allocations: 0 / 492 MB, free: 4.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001942/0.127, allocations: 1.1 MB / 493.1 MB, free: 3.621 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.002734/0.1297, allocations: 1.331 MB / 494.5 MB, free: 2.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007798/0.1305, allocations: 0.5294 MB / 495 MB, free: 1.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1305, allocations: 4 kB / 495 MB, free: 1.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.1309, allocations: 349.9 kB / 495.4 MB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.1319, allocations: 347.5 kB / 495.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1221/0.2539, allocations: 1.801 MB / 497.5 MB, free: 94.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.2541, allocations: 245.5 kB / 497.7 MB, free: 94.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004391/0.2545, allocations: 259.7 kB / 498 MB, free: 94.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.2549, allocations: 344.7 kB / 498.3 MB, free: 94.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2549, allocations: 0 / 498.3 MB, free: 94.16 MB / 410.7 MB Notification: Performance of Templates: time 0.03784/0.2927, allocations: 50.57 MB / 0.536 GB, free: 57.84 MB / 410.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.697066356893629]