Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.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.001581/0.001581, allocations: 103.6 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.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.001631/0.001631, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.592/1.592, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.i|lightningImpulseCurrent.v",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.115e-05, allocations: 2.281 kB / 379.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.2455/0.2456, allocations: 3.74 MB / 382.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.2481, allocations: 1.171 MB / 384 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.2484, allocations: 14.06 kB / 384 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004811/0.2489, allocations: 123.7 kB / 384.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007351/0.2496, allocations: 287.5 kB / 384.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.2502, allocations: 265.6 kB / 384.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008219/0.2584, allocations: 7.285 MB / 391.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01348/0.2719, allocations: 6.854 MB / 398.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/0.2769, allocations: 2.738 MB / 401.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005899/0.2828, allocations: 2.702 MB / 404.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003293/0.2861, allocations: 1.056 MB / 405.3 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.29, allocations: 1.064 MB / 406.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.01088/0.3009, allocations: 5.346 MB / 411.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001471/0.3024, allocations: 1.017 MB / 412.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.3042, allocations: 356 kB / 413.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001927/0.3044, allocations: 19.92 kB / 413.1 MB, free: 11.18 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.02483/0.3293, allocations: 18.51 MB / 431.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009286/0.3386, allocations: 4.323 MB / 435.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.03952/0.3781, allocations: 27.44 MB / 463.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.007768/0.3858, allocations: 3.433 MB / 466.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.03033/0.4162, allocations: 16.99 MB / 483.8 MB, free: 3.715 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.006928/0.4231, allocations: 3.361 MB / 487.1 MB, free: 212 kB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00455/0.4276, allocations: 2.432 MB / 489.6 MB, free: 13.66 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.006338/0.434, allocations: 5.13 MB / 494.7 MB, free: 8.477 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001198/0.4352, allocations: 0.6399 MB / 495.3 MB, free: 7.836 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.01947/0.4547, allocations: 10.07 MB / 0.4936 GB, free: 13.7 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.4227024039719254] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.i', 'lightningImpulseCurrent.v'] 0.9168865690007806 0.926542499 0.6196493700000001 Calling exit ...