Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance.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.00164/0.00164, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001823/0.001823, allocations: 207.2 kB / 24.55 MB, free: 3.727 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.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2642/0.2642, allocations: 46.96 MB / 361.7 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.276e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01146/0.01149, allocations: 7.909 MB / 0.5051 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008853/0.02034, allocations: 3.372 MB / 0.5084 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.02232, allocations: 55.75 kB / 0.5085 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004142/0.02646, allocations: 1.643 MB / 0.5101 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.0315, allocations: 1.579 MB / 0.5116 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.033, allocations: 0.5653 MB / 0.5122 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.03946, allocations: 3.74 MB / 0.5158 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.04222, allocations: 1.203 MB / 0.517 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/0.04447, allocations: 0.9882 MB / 0.518 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.04744, allocations: 1.784 MB / 0.5197 GB, free: 292 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.04777, allocations: 116 kB / 0.5198 GB, free: 176 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2701/0.3179, allocations: 0.7348 MB / 0.5205 GB, free: 18.97 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00444/0.3223, allocations: 3.766 MB / 0.5242 GB, free: 17.77 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002396/0.3247, allocations: 2.322 MB / 0.5265 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006125/0.3253, allocations: 92.03 kB / 0.5266 GB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000394/0.3257, allocations: 74.25 kB / 0.5266 GB, free: 16.6 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 (342) * Number of variables: 1141 (337) Notification: Performance of [SIM] Bindings: time 0.01134/0.3371, allocations: 9.556 MB / 0.536 GB, free: 13.13 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001575/0.3386, allocations: 1.023 MB / 0.537 GB, free: 12.61 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 5.101/5.439, allocations: 1.9 GB / 2.437 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of [SIM] Simplify 1: time 3.75/9.189, allocations: 1.111 GB / 3.548 GB, free: 51.73 MB / 0.9669 GB Notification: Performance of [SIM] Alias: time 1.703/10.89, allocations: 459.9 MB / 3.997 GB, free: 207.4 MB / 0.9669 GB Notification: Performance of [SIM] Simplify 2: time 3.051/13.94, allocations: 1.111 GB / 5.108 GB, free: 108.1 MB / 0.9669 GB Notification: Performance of [SIM] Remove Stream: time 0.1781/14.12, allocations: 68.7 MB / 5.175 GB, free: 102.6 MB / 0.9669 GB Notification: Performance of [SIM] Detect States: time 0.9013/15.02, allocations: 198.1 MB / 5.368 GB, free: 333.7 MB / 0.9669 GB Notification: Performance of [SIM] Events: time 1.126/16.15, allocations: 0.5527 GB / 5.921 GB, free: 203.1 MB / 0.9669 GB Notification: Performance of [SIM] Partitioning: time 0.07648/16.23, allocations: 36.37 MB / 5.957 GB, free: 188.4 MB / 0.9669 GB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (3) flow Real[3] BodyBox1.frame_a.f slice: {2} " [Timeout remaining time 644] [Calling sys.exit(0), Time elapsed: 19.113624486955814] Failed to read output from testmodel.py, exit status != 0: ['time', 'Distance1.distance'] 16.24330208200263 16.252654303 15.924478395 Calling exit ...