Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00134/0.00134, 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.001593/0.001593, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 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.2418/0.2418, allocations: 46.96 MB / 361.7 MB, free: 4.02 MB / 286.1 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.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.1.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.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.839e-05/3.839e-05, allocations: 10.16 kB / 0.4974 GB, free: 7.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes18): time 0.3923/0.3923, allocations: 102.5 MB / 0.5975 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06131/0.4536, allocations: 35.3 MB / 0.632 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004925/0.4585, allocations: 134.9 kB / 0.6321 GB, free: 7.027 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00481/0.4633, allocations: 1.258 MB / 0.6333 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02749/0.4908, allocations: 8.551 MB / 0.6417 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02451/0.5153, allocations: 8.319 MB / 0.6498 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02324/0.5386, allocations: 15.65 MB / 0.6651 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008623/0.5472, allocations: 3.126 MB / 0.6681 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01523/0.5624, allocations: 6.166 MB / 0.6742 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02631/0.5887, allocations: 12.7 MB / 0.6866 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.5898, allocations: 252 kB / 0.6868 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02198/0.6118, allocations: 9.083 MB / 0.6957 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.01124/0.623, allocations: 6.996 MB / 0.7025 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.005768/0.6288, allocations: 4.268 MB / 0.7067 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.6305, allocations: 264 kB / 0.7069 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0005497/0.6311, allocations: 71.67 kB / 0.707 GB, free: 9.98 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.027/0.6581, allocations: 18.56 MB / 0.7251 GB, free: 7.07 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.003889/0.662, allocations: 2.106 MB / 0.7272 GB, free: 4.922 MB / 0.545 GB Notification: Performance of [SIM] Early Inline: time 0.3767/1.039, allocations: 10.91 MB / 0.7378 GB, free: 61.66 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.004361/1.043, allocations: 1.366 MB / 0.7392 GB, free: 61.38 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.01676/1.06, allocations: 9.012 MB / 0.748 GB, free: 59.61 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.003117/1.063, allocations: 1.309 MB / 0.7492 GB, free: 59.29 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001833/1.065, allocations: 0.7831 MB / 0.75 GB, free: 59.15 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002969/1.068, allocations: 2.012 MB / 0.752 GB, free: 58.88 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001647/1.069, allocations: 0.9421 MB / 0.7529 GB, free: 58.64 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.004949/1.074, allocations: 3.611 MB / 0.7564 GB, free: 58.07 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.9275051609729417] 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'] 1.0999585430254228 1.109940023 0.47544338 Calling exit ...