Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.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.001754/0.001754, allocations: 111.2 kB / 21.99 MB, free: 4.555 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.001951/0.001951, allocations: 218 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 207.7 MB / 236.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5026,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.577e-05, allocations: 2.281 kB / 348.5 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.004138/0.004163, allocations: 1.801 MB / 350.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005968, allocations: 0.6048 MB / 350.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.006171, allocations: 7.938 kB / 350.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.006354, allocations: 27.66 kB / 350.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.006611, allocations: 43.59 kB / 351 MB, free: 6.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.007039, allocations: 63.86 kB / 351 MB, free: 6.898 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.007475, allocations: 199.4 kB / 351.2 MB, free: 6.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.007752, allocations: 41.94 kB / 351.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.008027, allocations: 79.64 kB / 351.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.008252, allocations: 63.62 kB / 351.4 MB, free: 6.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.008306, allocations: 15.94 kB / 351.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.008446, allocations: 31.92 kB / 351.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0003763/0.008822, allocations: 336.3 kB / 351.8 MB, free: 6.145 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001809/0.009003, allocations: 224.9 kB / 352 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.00906, allocations: 16 kB / 352 MB, free: 5.906 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.178e-05/0.009132, allocations: 27.84 kB / 352.1 MB, free: 5.879 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (33) * Number of variables: 34 (29) Notification: Performance of [SIM] Bindings: time 0.001257/0.01039, allocations: 0.8719 MB / 352.9 MB, free: 4.883 MB / 286.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.000254/0.01064, allocations: 109.2 kB / 353 MB, free: 4.766 MB / 286.1 MB Notification: Performance of [SIM] Early Inline: time 0.000478/0.01112, allocations: 398.7 kB / 353.4 MB, free: 4.348 MB / 286.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002206/0.01134, allocations: 115.2 kB / 353.5 MB, free: 4.188 MB / 286.1 MB Notification: Performance of [SIM] Alias: time 0.001128/0.01247, allocations: 0.6035 MB / 354.1 MB, free: 3.48 MB / 286.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001902/0.01266, allocations: 102 kB / 354.2 MB, free: 3.332 MB / 286.1 MB Notification: Performance of [SIM] Remove Stream: time 8.654e-05/0.01275, allocations: 64.42 kB / 354.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of [SIM] Detect States: time 0.0002949/0.01304, allocations: 157.4 kB / 354.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of [SIM] Events: time 0.0001691/0.01321, allocations: 76.25 kB / 354.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002848/0.0135, allocations: 184.1 kB / 354.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of [SIM] Causalize: time 0.0007226/0.01422, allocations: 449.8 kB / 355.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003418/0.01456, allocations: 347.6 kB / 355.5 MB, free: 1.973 MB / 286.1 MB Notification: Performance of [INI] Simplify: time 0.0005034/0.01506, allocations: 274.9 kB / 355.8 MB, free: 1.637 MB / 286.1 MB Notification: Performance of [INI] Inline: time 0.0005612/0.01562, allocations: 472.9 kB / 356.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of [INI] Partitioning: time 3.263e-05/0.01566, allocations: 17.42 kB / 356.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of [INI] Cleanup: time 0.0001005/0.01576, allocations: 91.84 kB / 356.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of [INI] Causalize: time 0.0009228/0.01668, allocations: 0.5499 MB / 356.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of [INI] Tearing: time 2.414e-05/0.0167, allocations: 20 kB / 356.9 MB, free: 488 kB / 286.1 MB Notification: Performance of [SIM] Initialization: time 6.61e-07/0.01671, allocations: 96 / 356.9 MB, free: 488 kB / 286.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000151/0.01686, allocations: 84.19 kB / 357 MB, free: 388 kB / 286.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.633e-06/0.01686, allocations: 3.938 kB / 357 MB, free: 384 kB / 286.1 MB Notification: Performance of [SIM] Tearing: time 1.892e-05/0.01688, allocations: 27.94 kB / 357 MB, free: 356 kB / 286.1 MB Notification: Performance of [SIM] Categorize: time 1.349e-05/0.0169, allocations: 4 kB / 357 MB, free: 352 kB / 286.1 MB Notification: Performance of [SIM] Solve: time 0.0004562/0.01735, allocations: 273.7 kB / 357.3 MB, free: 76 kB / 286.1 MB [/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 660] [Calling sys.exit(0), Time elapsed: 2.6406222640071064] Failed to read output from testmodel.py, exit status != 0: ['time', 'multiSwitch.u[1]', 'multiSwitch.u[2]'] 0.027162156999111176 0.044789271000000005 0.03225699 Calling exit ...