Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases.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.001411/0.001411, allocations: 102.1 kB / 19.6 MB, free: 2.328 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.002114/0.002114, allocations: 216.1 kB / 22.89 MB, free: 5.629 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.599/1.599, allocations: 230.5 MB / 256.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.01235/0.01235, allocations: 1.023 MB / 314 MB, free: 2.113 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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(KeyWordIO.Examples.CaseExamples.ElectricalCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases") translateModel(KeyWordIO.Examples.CaseExamples.ElectricalCases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.CaseExamples.ElectricalCases") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.366e-05, allocations: 2.281 kB / 436.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.CaseExamples.ElectricalCases): time 0.003795/0.003828, allocations: 2.882 MB / 439.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005728/0.009556, allocations: 3.586 MB / 443 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.009958, allocations: 11.94 kB / 443 MB, free: 9.723 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readCaseNumbersCSV.mo:2:1-21:23:writable] Warning: Pure function 'KeyWordIO.readCaseNumbersCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. Notification: Performance of NFTyping.typeComponents: time 0.09196/0.1019, allocations: 9.547 MB / 452.6 MB, free: 1.445 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readRowsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readRowsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readCaseColCSV.mo:2:1-48:19:writable] Warning: Pure function 'KeyWordIO.readCaseColCSV' contains a call to impure function 'KeyWordIO.readRowsCSV'. Notification: Performance of NFTyping.typeBindings: time 0.3574/0.4593, allocations: 44.86 MB / 497.4 MB, free: 4.379 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/overwriteCaseCSV.mo:2:1-110:21:writable] Warning: Pure function 'KeyWordIO.overwriteCaseCSV' contains a call to impure function 'KeyWordIO.readCaseNumbersCSV'. Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.4637, allocations: 0.8215 MB / 498.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.4657, allocations: 1.306 MB / 499.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.4676, allocations: 1.054 MB / 0.4889 GB, free: 1.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.4687, allocations: 0.5497 MB / 0.4894 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4701, allocations: 0.6509 MB / 0.4901 GB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.4706, allocations: 124 kB / 0.4902 GB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.4736, allocations: 1.284 MB / 0.4914 GB, free: 14.55 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.002387/0.476, allocations: 1.53 MB / 0.4929 GB, free: 13.02 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.00108/0.4771, allocations: 0.7933 MB / 0.4937 GB, free: 12.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.4775, allocations: 48 kB / 0.4938 GB, free: 12.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.928e-05/0.4776, allocations: 8 kB / 0.4938 GB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 (196) * Number of variables: 582 (97) Notification: Performance of Bindings: time 0.008303/0.4859, allocations: 5.357 MB / 0.499 GB, free: 6.637 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.001346/0.4872, allocations: 0.6838 MB / 0.4997 GB, free: 5.941 MB / 366.1 MB Notification: Performance of Early Inline: time 0.007454/0.4947, allocations: 5.577 MB / 0.5051 GB, free: 328 kB / 366.1 MB Notification: Performance of Simplify 1: time 0.2237/0.7184, allocations: 0.519 MB / 0.5056 GB, free: 66.44 MB / 366.1 MB Notification: Performance of Alias: time 0.002654/0.721, allocations: 1.432 MB / 0.507 GB, free: 66.28 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.001292/0.7223, allocations: 0.5247 MB / 0.5075 GB, free: 66.13 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0006056/0.7229, allocations: 417 kB / 0.5079 GB, free: 66.04 MB / 366.1 MB Notification: Performance of Detect States: time 0.0009654/0.7239, allocations: 0.9799 MB / 0.5089 GB, free: 65.92 MB / 366.1 MB Notification: Performance of Events: time 0.0002632/0.7242, allocations: 131.4 kB / 0.509 GB, free: 65.92 MB / 366.1 MB Notification: Performance of Partitioning: time 0.00131/0.7255, allocations: 1.383 MB / 0.5104 GB, free: 65.87 MB / 366.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:683:7-686:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {2} could not be fully merged onto electrical[$i1].inductor.omega. Result: electrical[$i1].inductor.omega with leftover: {2}. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.342556446790695] Failed to read output from testmodel.py, exit status != 0: 0.7417064514011145 0.752557064 0.272590082 Calling exit ...