Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 191.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Blocks.Examples.RealNetwork1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.825e-05, allocations: 2.281 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.004446/0.004474, allocations: 1.795 MB / 373.5 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.006052, allocations: 0.5609 MB / 374.1 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.006168, allocations: 4 kB / 374.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.006329, allocations: 27.67 kB / 374.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.006536, allocations: 39.66 kB / 374.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.00696, allocations: 67.86 kB / 374.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.00732, allocations: 207.2 kB / 374.4 MB, free: 6.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.007568, allocations: 49.88 kB / 374.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.007741, allocations: 75.72 kB / 374.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.007892, allocations: 75.55 kB / 374.6 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.007931, allocations: 12 kB / 374.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.008037, allocations: 23.98 kB / 374.6 MB, free: 6.219 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003901/0.008427, allocations: 332.2 kB / 375 MB, free: 5.891 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000198/0.008625, allocations: 225 kB / 375.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.008668, allocations: 12 kB / 375.2 MB, free: 5.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.971e-05/0.008737, allocations: 27.78 kB / 375.2 MB, free: 5.629 MB / 302.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.001378/0.01012, allocations: 0.8603 MB / 376.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002565/0.01037, allocations: 117.1 kB / 376.2 MB, free: 4.516 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006086/0.01098, allocations: 398.5 kB / 376.6 MB, free: 4.098 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002528/0.01123, allocations: 127.2 kB / 376.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.001308/0.01254, allocations: 0.5919 MB / 377.3 MB, free: 3.23 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000188/0.01273, allocations: 98.94 kB / 377.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001184/0.01285, allocations: 64.41 kB / 377.5 MB, free: 3 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0003591/0.01321, allocations: 173.8 kB / 377.6 MB, free: 2.781 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0001775/0.01338, allocations: 59.72 kB / 377.7 MB, free: 2.723 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003647/0.01375, allocations: 192.8 kB / 377.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0009129/0.01466, allocations: 456.7 kB / 378.3 MB, free: 2.062 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004473/0.01511, allocations: 343.6 kB / 378.7 MB, free: 1.727 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000612/0.01572, allocations: 262.7 kB / 378.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006784/0.0164, allocations: 480.9 kB / 379.4 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 4.106e-05/0.01644, allocations: 17.44 kB / 379.4 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 9.752e-05/0.01654, allocations: 75.92 kB / 379.5 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001135/0.01767, allocations: 0.5632 MB / 380 MB, free: 260 kB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.704e-05/0.0177, allocations: 19.94 kB / 380.1 MB, free: 240 kB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.0177, allocations: 0 / 380.1 MB, free: 240 kB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001683/0.01787, allocations: 80.25 kB / 380.1 MB, free: 144 kB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.295e-06/0.01788, allocations: 3.938 kB / 380.1 MB, free: 140 kB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.732e-05/0.0179, allocations: 24 kB / 380.2 MB, free: 116 kB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.393e-05/0.01792, allocations: 4 kB / 380.2 MB, free: 112 kB / 302.1 MB Notification: Performance of [SIM] Solve: time 0.2447/0.2626, allocations: 258.5 kB / 380.4 MB, free: 16.97 MB / 302.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.6901060020318255] Failed to read output from testmodel.py, exit status != 0: ['time', 'multiSwitch.u[1]', 'multiSwitch.u[2]'] 0.27451098803430796 0.292738575 0.28002250900000003 Calling exit ...