Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1.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.002286/0.002286, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002164/0.002164, allocations: 220.4 kB / 24.5 MB, free: 3.922 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.601/1.601, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.252/0.252, allocations: 46.96 MB / 361.6 MB, free: 4.043 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.BranchingPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|valve1.filter.x.1.|valve1.filter.x.2.|valve2.filter.x.1.|valve2.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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|valve1.filter.x.1.|valve1.filter.x.2.|valve2.filter.x.1.|valve2.filter.x.2.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes1): time 0.3387/0.3387, allocations: 84.11 MB / 0.5794 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06113/0.3999, allocations: 32.82 MB / 0.6115 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004739/0.4046, allocations: 118.9 kB / 0.6116 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00468/0.4093, allocations: 1.161 MB / 0.6127 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02766/0.4369, allocations: 7.644 MB / 0.6202 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0344/0.4713, allocations: 9.829 MB / 0.6298 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02676/0.4981, allocations: 14.94 MB / 0.6444 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.5082, allocations: 3.002 MB / 0.6473 GB, free: 7.422 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03847/0.5467, allocations: 15.28 MB / 0.6622 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02804/0.5747, allocations: 12.53 MB / 0.6745 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.5759, allocations: 220 kB / 0.6747 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02253/0.5985, allocations: 9.283 MB / 0.6837 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.01061/0.6091, allocations: 6.454 MB / 0.69 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.006105/0.6152, allocations: 3.953 MB / 0.6939 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.6168, allocations: 231.9 kB / 0.6941 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0006207/0.6174, allocations: 63.75 kB / 0.6942 GB, free: 6.977 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: 518 (340) * Number of variables: 518 (408) Notification: Performance of [SIM] Bindings: time 0.0254/0.6428, allocations: 17.02 MB / 0.7108 GB, free: 5.59 MB / 0.5294 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i20 Notification: Performance of [SIM] FunctionAlias: time 0.003714/0.6465, allocations: 2.112 MB / 0.7129 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.01527/0.6618, allocations: 9.964 MB / 0.7226 GB, free: 9.395 MB / 0.545 GB Notification: Performance of [SIM] Simplify 1: time 0.00409/0.6659, allocations: 1.445 MB / 0.724 GB, free: 7.855 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.3817/1.048, allocations: 7.358 MB / 0.7312 GB, free: 80.51 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.004109/1.052, allocations: 1.346 MB / 0.7325 GB, free: 80.24 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.002313/1.054, allocations: 0.9019 MB / 0.7334 GB, free: 80.09 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.003347/1.057, allocations: 1.81 MB / 0.7352 GB, free: 79.85 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.001756/1.059, allocations: 0.8206 MB / 0.736 GB, free: 79.68 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.005727/1.065, allocations: 3.374 MB / 0.7392 GB, free: 79.05 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.02045/1.085, allocations: 9.111 MB / 0.7481 GB, free: 78.16 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008954/1.094, allocations: 7.539 MB / 0.7555 GB, free: 78.15 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.006638/1.101, allocations: 3.177 MB / 0.7586 GB, free: 77.47 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01624/1.117, allocations: 12.53 MB / 0.7708 GB, free: 77.37 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0007085/1.118, allocations: 140 kB / 0.771 GB, free: 77.3 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.005087/1.123, allocations: 2.308 MB / 0.7732 GB, free: 77.26 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.03819/1.161, allocations: 22.64 MB / 0.7953 GB, free: 72.53 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.00309/1.164, allocations: 2.667 MB / 0.7979 GB, free: 70.14 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 1.924e-06/1.164, allocations: 0 / 0.7979 GB, free: 70.14 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 6.661e-05/1.164, allocations: 6.781 kB / 0.798 GB, free: 70.13 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.003582/1.168, allocations: 2.9 MB / 0.8008 GB, free: 67.54 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 6.351e-05/1.168, allocations: 20.95 kB / 0.8008 GB, free: 67.53 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01033/1.178, allocations: 6.873 MB / 0.8075 GB, free: 61.63 MB / 0.545 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for Integer[2] pipe3.statesFM.phase because the result is expected to be a variable but turned out to be {0, 0}. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.2453443990089] 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', 'valve1.filter.x[1]', 'valve1.filter.x[2]', 'valve2.filter.x[1]', 'valve2.filter.x[2]', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent', 'valveOpening2.a', 'valveOpening2.b', 'valveOpening2.last', 'valveOpening2.nextEvent'] 1.201244417577982 1.21057685 0.590417312 Calling exit ...