Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2.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.001399/0.001399, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.001709/0.001709, allocations: 210.1 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 207.7 MB / 234.7 MB, free: 9.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2572/0.2572, allocations: 44.27 MB / 331.2 MB, free: 9.277 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.035e-05, allocations: 5.656 kB / 468.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.03331/0.03333, allocations: 25.82 MB / 494.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02312/0.05645, allocations: 7.573 MB / 0.4905 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009997/0.06645, allocations: 242.9 kB / 0.4908 GB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0238/0.09025, allocations: 10.28 MB / 0.5008 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0185/0.1087, allocations: 4.695 MB / 0.5054 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007237/0.116, allocations: 2.02 MB / 0.5074 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02819/0.1442, allocations: 14.73 MB / 0.5217 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01826/0.1624, allocations: 6.855 MB / 0.5284 GB, free: 11.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.1753, allocations: 4.721 MB / 0.533 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01567/0.191, allocations: 6.392 MB / 0.5393 GB, free: 72 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3327/0.5237, allocations: 0.6726 MB / 0.5399 GB, free: 28.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007894/0.5316, allocations: 1.357 MB / 0.5413 GB, free: 28.77 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.03013/0.5618, allocations: 15.96 MB / 0.5568 GB, free: 23.6 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01441/0.5762, allocations: 9.862 MB / 0.5665 GB, free: 18.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006586/0.5828, allocations: 463.9 kB / 0.5669 GB, free: 18.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.002302/0.5851, allocations: 287.8 kB / 0.5672 GB, free: 18.67 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4457 (1693) * Number of variables: 4457 (1440) Notification: Performance of [SIM] Bindings: time 0.0623/0.6474, allocations: 42.04 MB / 0.6082 GB, free: 15.74 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009792/0.6571, allocations: 4.696 MB / 0.6128 GB, free: 13.13 MB / 430.1 MB Notification: Performance of [SIM] Early Inline: time 3.817/4.474, allocations: 1.093 GB / 1.705 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 1.946/6.42, allocations: 0.6151 GB / 2.321 GB, free: 70.58 MB / 0.795 GB Notification: Performance of [SIM] Alias: time 1.304/7.724, allocations: 285.3 MB / 2.599 GB, free: 205.6 MB / 0.795 GB Notification: Performance of [SIM] Simplify 2: time 1.901/9.626, allocations: 0.6143 GB / 3.213 GB, free: 178.6 MB / 0.795 GB Notification: Performance of [SIM] Remove Stream: time 0.1111/9.737, allocations: 40.28 MB / 3.253 GB, free: 178.2 MB / 0.795 GB Notification: Performance of [SIM] Detect States: time 0.2432/9.98, allocations: 115.5 MB / 3.365 GB, free: 97.78 MB / 0.795 GB Notification: Performance of [SIM] Events: time 0.8433/10.82, allocations: 319 MB / 3.677 GB, free: 108.6 MB / 0.795 GB Notification: Performance of [SIM] Partitioning: time 0.07976/10.9, allocations: 31.38 MB / 3.708 GB, free: 93.43 MB / 0.795 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFExpression.mo:1739:7-1740:100:writable] Error: Internal error NFExpression.makeSubscriptedExp: too few dimensions in -$DER.Constant1.y to apply subscripts [$i1] " [Timeout remaining time 649] [Calling sys.exit(0), Time elapsed: 14.14278114103945] Failed to read output from testmodel.py, exit status != 0: ['time', 'Revolute1.phi', 'Revolute1.w', 'Revolute2.phi', 'Revolute2.w', 'Revolute3.phi', 'Revolute3.w', 'Revolute4.phi', 'Revolute4.w', 'Revolute5.phi', 'Revolute5.w', 'Revolute6.phi', 'Revolute6.w', 'Revolute7.phi', 'Revolute7.w', 'Revolute8.phi', 'Revolute8.w'] 10.92051603103755 10.93079261 10.342812947 Calling exit ...