Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14.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.001359/0.001359, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 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.001453/0.001453, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.492/1.492, allocations: 230.7 MB / 258.4 MB, free: 7.77 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.2319/0.2319, allocations: 44.94 MB / 359.7 MB, free: 6.016 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.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|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.BranchingPipes14") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|junctionIdeal.medium.h|junctionIdeal.medium.p|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.BranchingPipes14") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.491e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes14): time 0.3864/0.3864, allocations: 93.29 MB / 0.5854 GB, free: 7.984 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06199/0.4484, allocations: 33.46 MB / 0.6181 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004978/0.4534, allocations: 126.9 kB / 0.6182 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.4582, allocations: 1.161 MB / 0.6193 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02859/0.4868, allocations: 8.14 MB / 0.6273 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02343/0.5103, allocations: 7.874 MB / 0.635 GB, free: 5.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02266/0.5329, allocations: 14.89 MB / 0.6495 GB, free: 6.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.5438, allocations: 2.922 MB / 0.6524 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01404/0.5579, allocations: 5.831 MB / 0.6581 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02625/0.5841, allocations: 12.52 MB / 0.6703 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.5851, allocations: 224 kB / 0.6705 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02249/0.6076, allocations: 8.912 MB / 0.6792 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.01042/0.6181, allocations: 6.501 MB / 0.6856 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.005144/0.6232, allocations: 3.998 MB / 0.6895 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.6244, allocations: 240 kB / 0.6897 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0005581/0.6249, allocations: 63.73 kB / 0.6898 GB, free: 12.71 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 (362) * Number of variables: 536 (432) Notification: Performance of [SIM] Bindings: time 0.02341/0.6483, allocations: 17.47 MB / 0.7068 GB, free: 10.88 MB / 0.5294 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.00324/0.6516, allocations: 1.962 MB / 0.7087 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.01498/0.6666, allocations: 10.08 MB / 0.7186 GB, free: 14.71 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.003215/0.6698, allocations: 1.249 MB / 0.7198 GB, free: 13.37 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.014/0.6838, allocations: 8.009 MB / 0.7276 GB, free: 4.652 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002573/0.6864, allocations: 1.191 MB / 0.7288 GB, free: 3.363 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001185/0.6875, allocations: 0.7147 MB / 0.7295 GB, free: 2.59 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.002561/0.6901, allocations: 1.852 MB / 0.7313 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.3679/1.058, allocations: 0.8367 MB / 0.7321 GB, free: 75.44 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.006459/1.064, allocations: 3.33 MB / 0.7354 GB, free: 74.91 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.01756/1.082, allocations: 8.64 MB / 0.7438 GB, free: 74.17 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008994/1.091, allocations: 7.806 MB / 0.7514 GB, free: 74.12 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.007022/1.098, allocations: 3.247 MB / 0.7546 GB, free: 73.53 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.0112/1.109, allocations: 10.72 MB / 0.7651 GB, free: 73.47 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0006614/1.11, allocations: 142.6 kB / 0.7652 GB, free: 73.39 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.003305/1.113, allocations: 2.06 MB / 0.7672 GB, free: 73.36 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.03197/1.145, allocations: 21.63 MB / 0.7883 GB, free: 71.86 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.0002562/1.145, allocations: 475.4 kB / 0.7888 GB, free: 71.64 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 1.543e-06/1.145, allocations: 1.594 kB / 0.7888 GB, free: 71.64 MB / 0.545 GB Notification: Performance of [SIM] DAE-Mode: time 0.002929/1.148, allocations: 2.227 MB / 0.791 GB, free: 70.68 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 2.494e-05/1.148, allocations: 13.62 kB / 0.791 GB, free: 70.67 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.002654/1.151, allocations: 2.357 MB / 0.7933 GB, free: 69.77 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 5.881e-05/1.151, allocations: 19.31 kB / 0.7933 GB, free: 69.76 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01367/1.165, allocations: 9.806 MB / 0.8029 GB, free: 63.26 MB / 0.545 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Modules/3_Post/NBJacobian.mo:471:19-471:99:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.9780904359649867] Failed to read output from testmodel.py, exit status != 0: ['time', 'junctionIdeal.medium.h', 'junctionIdeal.medium.p', '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.1759769569616765 1.184553241 0.556805303 Calling exit ...