Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4.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.001638/0.001638, 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.001811/0.001811, allocations: 211 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.49/1.49, 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.2285/0.2285, allocations: 44.95 MB / 359.7 MB, free: 6.02 MB / 286.1 MB " [Timeout remaining time 180] 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.BranchingPipes4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|splitter.medium.h|splitter.medium.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.BranchingPipes4") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe3.mediums.1..h|pipe3.mediums.1..p|splitter.medium.h|splitter.medium.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.BranchingPipes4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.261e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes4): time 0.4192/0.4193, allocations: 93.27 MB / 0.5854 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05878/0.478, allocations: 35.3 MB / 0.6199 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004375/0.4824, allocations: 123 kB / 0.62 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.4867, allocations: 1.157 MB / 0.6211 GB, free: 3.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0274/0.5141, allocations: 8.385 MB / 0.6293 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02293/0.537, allocations: 8.288 MB / 0.6374 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02324/0.5603, allocations: 14.84 MB / 0.6519 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008757/0.569, allocations: 2.906 MB / 0.6547 GB, free: 0.832 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.5834, allocations: 5.808 MB / 0.6604 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02809/0.6115, allocations: 12.52 MB / 0.6726 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001417/0.6129, allocations: 224 kB / 0.6728 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02188/0.6348, allocations: 9.091 MB / 0.6817 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.01017/0.645, allocations: 6.478 MB / 0.6881 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.005398/0.6504, allocations: 4.001 MB / 0.692 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.6522, allocations: 243.9 kB / 0.6922 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0006773/0.6529, allocations: 63.73 kB / 0.6923 GB, free: 10.13 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.0273/0.6802, allocations: 17.29 MB / 0.7091 GB, free: 8.477 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.004409/0.6846, allocations: 1.977 MB / 0.7111 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.01493/0.6995, allocations: 10.14 MB / 0.721 GB, free: 12.24 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.003425/0.7029, allocations: 1.222 MB / 0.7222 GB, free: 10.92 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.01407/0.717, allocations: 7.977 MB / 0.73 GB, free: 2.238 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.002614/0.7196, allocations: 1.191 MB / 0.7311 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.001142/0.7208, allocations: 0.703 MB / 0.7318 GB, free: 192 kB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.3827/1.103, allocations: 1.802 MB / 0.7336 GB, free: 73.82 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001684/1.105, allocations: 0.8428 MB / 0.7344 GB, free: 73.67 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.005099/1.11, allocations: 3.369 MB / 0.7377 GB, free: 73.12 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.01797/1.128, allocations: 8.886 MB / 0.7464 GB, free: 72.34 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008593/1.137, allocations: 7.796 MB / 0.754 GB, free: 72.28 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.006547/1.143, allocations: 3.261 MB / 0.7572 GB, free: 71.62 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01048/1.154, allocations: 10.85 MB / 0.7677 GB, free: 71.57 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0006846/1.154, allocations: 139.6 kB / 0.7679 GB, free: 71.5 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.004308/1.159, allocations: 2.074 MB / 0.7699 GB, free: 71.46 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.03625/1.195, allocations: 22.04 MB / 0.7914 GB, free: 69.9 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.0003085/1.195, allocations: 478.2 kB / 0.7919 GB, free: 69.68 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 2.014e-06/1.195, allocations: 4 kB / 0.7919 GB, free: 69.68 MB / 0.545 GB Notification: Performance of [SIM] DAE-Mode: time 0.003911/1.199, allocations: 2.307 MB / 0.7941 GB, free: 68.62 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 8.634e-05/1.199, allocations: 14.06 kB / 0.7942 GB, free: 68.62 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.004245/1.204, allocations: 2.359 MB / 0.7965 GB, free: 66.76 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 0.0001153/1.204, allocations: 22.75 kB / 0.7965 GB, free: 66.75 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01759/1.221, allocations: 9.901 MB / 0.8062 GB, free: 59.16 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.994442495983094] Failed to read output from testmodel.py, exit status != 0: ['time', 'pipe1.mediums[1].h', 'pipe1.mediums[1].p', 'pipe2.mediums[1].h', 'pipe2.mediums[1].p', 'pipe3.mediums[1].h', 'pipe3.mediums[1].p', 'splitter.medium.h', 'splitter.medium.p', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent', 'valveOpening2.a', 'valveOpening2.b', 'valveOpening2.last', 'valveOpening2.nextEvent'] 1.234532674017828 1.243236536 0.5875197000000001 Calling exit ...