Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00148/0.00148, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001646/0.001646, allocations: 175.4 kB / 23.23 MB, free: 4.199 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.277/1.277, allocations: 177.2 MB / 203.6 MB, free: 8.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.13/1.13, allocations: 154.7 MB / 414.7 MB, free: 6.508 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.829e-05/1.829e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01697/0.01699, allocations: 13.71 MB / 0.6329 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.03187, allocations: 9.818 MB / 0.6425 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009664/0.03284, allocations: 83.25 kB / 0.6426 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.03716, allocations: 1.679 MB / 0.6442 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.04196, allocations: 1.859 MB / 0.646 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.04378, allocations: 0.7648 MB / 0.6468 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.04772, allocations: 3.212 MB / 0.6499 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.04935, allocations: 1.004 MB / 0.6509 GB, free: 4.262 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.05286, allocations: 2.484 MB / 0.6533 GB, free: 1.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.05413, allocations: 0.8179 MB / 0.6541 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002167/0.05435, allocations: 132 kB / 0.6542 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.05564, allocations: 0.6624 MB / 0.6549 GB, free: 164 kB / 0.545 GB Notification: Performance of combineBinaries: time 0.002811/0.05845, allocations: 3.09 MB / 0.6579 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.001554/0.06001, allocations: 1.951 MB / 0.6598 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.06026, allocations: 148 kB / 0.66 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001728/0.06043, allocations: 39.88 kB / 0.66 GB, free: 10.89 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 (253) * Number of variables: 327 (244) Notification: Performance of [SIM] Bindings: time 0.008007/0.06844, allocations: 8.071 MB / 0.6679 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of [SIM] FunctionAlias: time 0.001856/0.07029, allocations: 1.522 MB / 0.6694 GB, free: 1 MB / 0.5606 GB Notification: Performance of [SIM] Early Inline: time 0.007157/0.07745, allocations: 6.606 MB / 0.6758 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 0.001413/0.07886, allocations: 0.8675 MB / 0.6767 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of [SIM] Alias: time 0.009204/0.08807, allocations: 6.952 MB / 0.6835 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.001114/0.08918, allocations: 0.6721 MB / 0.6841 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.0005012/0.08968, allocations: 411.8 kB / 0.6845 GB, free: 472 kB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.001599/0.09128, allocations: 1.396 MB / 0.6859 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of [SIM] Events: time 0.0002333/0.09152, allocations: 179.8 kB / 0.686 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of [SIM] Partitioning: time 0.002288/0.0938, allocations: 1.88 MB / 0.6879 GB, free: 12.86 MB / 0.5919 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Util/NBSlice.mo:1628:9-1628:76:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NBSlice.resolveDependency failed for: $FUN_44. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) (0.5 * line_sc.line.L) * line_sc.line.omega * $FUN_45 + line_sc.line.terminal_n.i * $FUN_44 = line_sc.terminal_n.v - line_sc.line.Vc ($RES_SIM_22) " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.516232520341873] Failed to read output from testmodel.py, exit status != 0: 0.10345353931188583 0.117383018 0.053944431 Calling exit ...