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.001441/0.001441, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001472/0.001472, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.557/1.557, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.236e-05/2.236e-05, allocations: 6.219 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.1658/0.1659, allocations: 3.748 MB / 382.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1679, allocations: 1.163 MB / 383.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.1681, allocations: 14.78 kB / 383.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1686, allocations: 130.7 kB / 384 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.1692, allocations: 285.3 kB / 384.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.1697, allocations: 266 kB / 384.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.1752, allocations: 7.284 MB / 391.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01131/0.1865, allocations: 6.89 MB / 398.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004881/0.1914, allocations: 2.741 MB / 401.5 MB, free: 3.457 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/0.1956, allocations: 2.795 MB / 404.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.1971, allocations: 1.056 MB / 405.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.1988, allocations: 1.063 MB / 406.4 MB, free: 1.387 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005698/0.2045, allocations: 5.343 MB / 411.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001105/0.2056, allocations: 1.017 MB / 412.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.2067, allocations: 356 kB / 413.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001602/0.2068, allocations: 15.94 kB / 413.1 MB, free: 11.08 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.01904/0.2259, allocations: 18.42 MB / 431.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.006506/0.2324, allocations: 4.329 MB / 435.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.03054/0.2629, allocations: 27.44 MB / 463.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01036/0.2733, allocations: 3.513 MB / 466.8 MB, free: 4.832 MB / 366.1 MB Notification: Performance of [SIM] Alias: time 0.04562/0.3189, allocations: 16.59 MB / 483.4 MB, free: 4.016 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.007697/0.3266, allocations: 3.442 MB / 486.8 MB, free: 444 kB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.004899/0.3315, allocations: 2.432 MB / 489.3 MB, free: 13.88 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.00865/0.3401, allocations: 5.131 MB / 494.4 MB, free: 8.703 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001408/0.3415, allocations: 0.6346 MB / 495 MB, free: 8.07 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.01861/0.3601, allocations: 10.07 MB / 0.4933 GB, free: 13.93 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.1176664968952537] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.i', 'lightningImpulseCurrent.v'] 0.744242446962744 0.753686347 0.544574518 Calling exit ...