Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.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.001696/0.001696, 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.001999/0.001999, allocations: 219.4 kB / 24.5 MB, free: 3.926 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.697/1.697, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2743/0.2743, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.BranchingPipes12,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|valveIncompressible.filter.x.1.|valveIncompressible.filter.x.2.|valveIncompressible1.filter.x.1.|valveIncompressible1.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.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,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|valveIncompressible.filter.x.1.|valveIncompressible.filter.x.2.|valveIncompressible1.filter.x.1.|valveIncompressible1.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.BranchingPipes12") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.323e-05, allocations: 6.219 kB / 0.4973 GB, free: 7.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12): time 0.4518/0.4519, allocations: 84.1 MB / 0.5794 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06369/0.5155, allocations: 33.58 MB / 0.6122 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005075/0.5206, allocations: 123 kB / 0.6123 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005278/0.5259, allocations: 1.157 MB / 0.6134 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03159/0.5575, allocations: 8.01 MB / 0.6213 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03344/0.5909, allocations: 9.607 MB / 0.6306 GB, free: 8.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02285/0.6138, allocations: 14.94 MB / 0.6452 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01118/0.625, allocations: 3.019 MB / 0.6482 GB, free: 6.469 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01862/0.6436, allocations: 5.835 MB / 0.6539 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03325/0.6768, allocations: 12.55 MB / 0.6661 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.6786, allocations: 227.9 kB / 0.6664 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02601/0.7046, allocations: 9.521 MB / 0.6757 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.01203/0.7166, allocations: 6.516 MB / 0.682 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.006074/0.7227, allocations: 3.96 MB / 0.6859 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003011/0.7257, allocations: 228 kB / 0.6861 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.001226/0.7269, allocations: 71.67 kB / 0.6862 GB, free: 15.28 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.03254/0.7595, allocations: 17.08 MB / 0.7029 GB, free: 13.84 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.005408/0.7649, allocations: 2.123 MB / 0.7049 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0209/0.7858, allocations: 9.966 MB / 0.7147 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.004751/0.7905, allocations: 1.443 MB / 0.7161 GB, free: 108 kB / 0.5294 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.01747/0.808, allocations: 7.392 MB / 0.7233 GB, free: 8.051 MB / 0.545 GB Notification: Performance of [SIM] Simplify 2: time 0.003555/0.8116, allocations: 1.359 MB / 0.7246 GB, free: 6.609 MB / 0.545 GB Notification: Performance of [SIM] Remove Stream: time 0.002128/0.8137, allocations: 0.901 MB / 0.7255 GB, free: 5.652 MB / 0.545 GB Notification: Performance of [SIM] Detect States: time 0.004117/0.8178, allocations: 1.818 MB / 0.7273 GB, free: 3.734 MB / 0.545 GB Notification: Performance of [SIM] Events: time 0.002005/0.8198, allocations: 0.8403 MB / 0.7281 GB, free: 2.91 MB / 0.545 GB Notification: Performance of [SIM] Partitioning: time 0.3953/1.215, allocations: 3.353 MB / 0.7314 GB, free: 78.1 MB / 0.545 GB Notification: Performance of [SIM] Causalize: time 0.02492/1.24, allocations: 9.112 MB / 0.7403 GB, free: 77.24 MB / 0.545 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008944/1.249, allocations: 7.544 MB / 0.7476 GB, free: 77.23 MB / 0.545 GB Notification: Performance of [INI] Simplify: time 0.006768/1.256, allocations: 3.376 MB / 0.7509 GB, free: 76.64 MB / 0.545 GB Notification: Performance of [INI] Inline: time 0.01461/1.27, allocations: 12.68 MB / 0.7633 GB, free: 76.53 MB / 0.545 GB Notification: Performance of [INI] Partitioning: time 0.0006361/1.271, allocations: 141.2 kB / 0.7635 GB, free: 76.45 MB / 0.545 GB Notification: Performance of [INI] Cleanup: time 0.004349/1.275, allocations: 2.333 MB / 0.7657 GB, free: 76.42 MB / 0.545 GB Notification: Performance of [INI] Causalize: time 0.043/1.318, allocations: 23.06 MB / 0.7882 GB, free: 74.86 MB / 0.545 GB Notification: Performance of [INI] Tearing: time 0.004011/1.322, allocations: 2.725 MB / 0.7909 GB, free: 74.02 MB / 0.545 GB Notification: Performance of [SIM] Initialization: time 4.018e-06/1.322, allocations: 0 / 0.7909 GB, free: 74.02 MB / 0.545 GB Notification: Performance of [SIM] Remove Dummies: time 0.0001295/1.323, allocations: 13.08 kB / 0.7909 GB, free: 74.01 MB / 0.545 GB Notification: Performance of [SIM] Tearing: time 0.004706/1.327, allocations: 2.89 MB / 0.7937 GB, free: 71.77 MB / 0.545 GB Notification: Performance of [SIM] Categorize: time 9.558e-05/1.327, allocations: 23.41 kB / 0.7938 GB, free: 71.76 MB / 0.545 GB Notification: Performance of [SIM] Solve: time 0.01504/1.342, allocations: 7.034 MB / 0.8006 GB, free: 66.52 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.5633100932464] 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', 'valveIncompressible.filter.x[1]', 'valveIncompressible.filter.x[2]', 'valveIncompressible1.filter.x[1]', 'valveIncompressible1.filter.x[2]', 'valveOpening1.a', 'valveOpening1.b', 'valveOpening1.last', 'valveOpening1.nextEvent', 'valveOpening2.a', 'valveOpening2.b', 'valveOpening2.last', 'valveOpening2.nextEvent'] 1.3688007430173457 1.378779869 0.6489284280000001 Calling exit ...