Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001816/0.001816, 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.001732/0.001732, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 44.94 MB / 359.7 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Sensors.Distance") translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.491e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.01255/0.01259, allocations: 7.915 MB / 0.502 GB, free: 2.094 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009849/0.02244, allocations: 3.368 MB / 0.5053 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.02462, allocations: 55.75 kB / 0.5054 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.02877, allocations: 1.623 MB / 0.507 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.03434, allocations: 1.599 MB / 0.5085 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.03659, allocations: 0.5614 MB / 0.5091 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008184/0.04478, allocations: 3.743 MB / 0.5127 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.04769, allocations: 1.207 MB / 0.5139 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.05008, allocations: 0.9921 MB / 0.5149 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.05344, allocations: 1.784 MB / 0.5166 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008143/0.05426, allocations: 120 kB / 0.5167 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002986/0.05724, allocations: 0.7408 MB / 0.5175 GB, free: 2.234 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.3272/0.3844, allocations: 3.758 MB / 0.5211 GB, free: 19.53 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.002833/0.3873, allocations: 2.314 MB / 0.5234 GB, free: 18.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006022/0.3879, allocations: 92.91 kB / 0.5235 GB, free: 18.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004176/0.3883, allocations: 82.55 kB / 0.5236 GB, free: 18.7 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.01142/0.3997, allocations: 9.561 MB / 0.5329 GB, free: 15.22 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001633/0.4013, allocations: 1.012 MB / 0.5339 GB, free: 15.06 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 5.399/5.801, allocations: 1.9 GB / 2.434 GB, free: 21.24 MB / 0.7169 GB Notification: Performance of [SIM] Simplify 1: time 3.9/9.701, allocations: 1.111 GB / 3.545 GB, free: 46.79 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 1.817/11.52, allocations: 459.9 MB / 3.994 GB, free: 189.9 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 3.14/14.66, allocations: 1.111 GB / 5.105 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.1968/14.85, allocations: 68.71 MB / 5.172 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 1.035/15.89, allocations: 198.2 MB / 5.366 GB, free: 254.2 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 1.198/17.09, allocations: 0.5527 GB / 5.918 GB, free: 77.73 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.4464/17.53, allocations: 36.63 MB / 5.954 GB, free: 0.5339 GB / 0.9512 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 642] [Calling sys.exit(0), Time elapsed: 20.491259931004606] Failed to read output from testmodel.py, exit status != 0: ['time', 'Distance1.distance'] 17.55429198598722 17.566498485 17.175195458 Calling exit ...