Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002664/0.002664, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.i|lightningImpulseCurrent.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.i|lightningImpulseCurrent.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.778e-05/4.778e-05, allocations: 2.281 kB / 379.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.2233/0.2234, allocations: 3.75 MB / 382.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.2257, allocations: 1.167 MB / 384 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.226, allocations: 15.88 kB / 384 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.2265, allocations: 124 kB / 384.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.2271, allocations: 283.5 kB / 384.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005961/0.2277, allocations: 270.5 kB / 384.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007736/0.2354, allocations: 7.282 MB / 391.9 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.2501, allocations: 6.856 MB / 398.8 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.2547, allocations: 2.745 MB / 401.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00575/0.2605, allocations: 2.695 MB / 404.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003734/0.2642, allocations: 1.055 MB / 405.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.2675, allocations: 1.067 MB / 406.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00954/0.2771, allocations: 5.34 MB / 411.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001364/0.2784, allocations: 1.021 MB / 412.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002072/0.2805, allocations: 356 kB / 413.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000205/0.2807, allocations: 23.92 kB / 413.1 MB, free: 10.89 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6477 (1701) * Number of variables: 6477 (109) Notification: Performance of [SIM] Bindings: time 0.02821/0.3089, allocations: 18.49 MB / 431.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009144/0.3181, allocations: 4.323 MB / 435.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.05061/0.3687, allocations: 27.44 MB / 463.3 MB, free: 8.199 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01042/0.3791, allocations: 3.425 MB / 466.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.03769/0.4168, allocations: 17 MB / 483.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00893/0.4257, allocations: 3.374 MB / 487.1 MB, free: 15.91 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.006095/0.4318, allocations: 2.428 MB / 489.6 MB, free: 13.37 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.007518/0.4393, allocations: 5.138 MB / 494.7 MB, free: 8.18 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001393/0.4407, allocations: 0.6264 MB / 495.3 MB, free: 7.555 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.02012/0.4608, allocations: 10.08 MB / 0.4936 GB, free: 13.41 MB / 414.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (100) protected flow Real[100] line2.C.n.i slice: {1, 3, 5, 8, 12, 24, 29, 36, 41, 43, ...} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3038315569865517] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.i', 'lightningImpulseCurrent.v'] 0.8746460580150597 0.883653201 0.600432295 Calling exit ...