Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18.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.001659/0.001659, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 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.001804/0.001804, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 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.2368/0.2368, allocations: 44.93 MB / 359.7 MB, free: 6.039 MB / 286.1 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.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|junctionVolume.medium.h|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.14e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18): time 0.3664/0.3664, allocations: 102.5 MB / 0.5944 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05829/0.4247, allocations: 35.3 MB / 0.6289 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.4291, allocations: 134.9 kB / 0.629 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004498/0.4336, allocations: 1.258 MB / 0.6303 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02568/0.4593, allocations: 8.546 MB / 0.6386 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02178/0.4811, allocations: 8.331 MB / 0.6467 GB, free: 9.195 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0225/0.5035, allocations: 15.65 MB / 0.662 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00828/0.5118, allocations: 3.126 MB / 0.6651 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/0.5261, allocations: 6.154 MB / 0.6711 GB, free: 200 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02669/0.5528, allocations: 12.71 MB / 0.6835 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.5542, allocations: 248 kB / 0.6837 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02115/0.5753, allocations: 9.083 MB / 0.6926 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.01107/0.5864, allocations: 6.989 MB / 0.6994 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.005196/0.5916, allocations: 4.265 MB / 0.7036 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.5926, allocations: 264 kB / 0.7038 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0005656/0.5932, allocations: 67.69 kB / 0.7039 GB, free: 14.31 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 575 (403) * Number of variables: 575 (474) Notification: Performance of [SIM] Bindings: time 0.02201/0.6152, allocations: 18.58 MB / 0.7221 GB, free: 11.38 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i20 Notification: Performance of [SIM] FunctionAlias: time 0.002931/0.6181, allocations: 2.109 MB / 0.7241 GB, free: 9.23 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.3117/0.9298, allocations: 10.9 MB / 0.7348 GB, free: 64.13 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.004005/0.9338, allocations: 1.361 MB / 0.7361 GB, free: 63.84 MB / 0.545 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.01474/0.9485, allocations: 9.016 MB / 0.7449 GB, free: 62.07 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002833/0.9514, allocations: 1.304 MB / 0.7462 GB, free: 61.75 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001289/0.9526, allocations: 0.7885 MB / 0.7469 GB, free: 61.61 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002139/0.9548, allocations: 2.015 MB / 0.7489 GB, free: 61.33 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.00139/0.9562, allocations: 0.9444 MB / 0.7498 GB, free: 61.1 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.003961/0.9601, allocations: 3.61 MB / 0.7534 GB, free: 60.52 MB / 0.545 GB Error: Internal error NBDifferentiate.differentiateComponentRef failed for: pipe2.statesFM[1] " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.750991287990473] Failed to read output from testmodel.py, exit status != 0: ['time', 'junctionIdeal.medium.h', 'junctionIdeal.medium.p', 'junctionVolume.medium.h', 'pipe1.mediums[1].h', 'pipe1.mediums[1].p', 'pipe2.mediums[1].h', 'pipe2.mediums[1].p', 'pipe3.mediums[1].h', 'pipe3.mediums[1].p', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent', 'valveOpening2.a', 'valveOpening2.b', 'valveOpening2.last', 'valveOpening2.nextEvent'] 0.9831786080030724 0.992658252 0.39670940499999996 Calling exit ...