Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 46.95 MB / 361.7 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Torque2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.206e-05/3.206e-05, allocations: 4.25 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02913/0.02916, allocations: 22.36 MB / 0.5193 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.37/0.3992, allocations: 6.995 MB / 0.5261 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008121/0.4073, allocations: 227.7 kB / 0.5263 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0215/0.4288, allocations: 10.07 MB / 0.5362 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01605/0.4448, allocations: 4.088 MB / 0.5401 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008632/0.4535, allocations: 1.997 MB / 0.5421 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0268/0.4803, allocations: 14.27 MB / 0.556 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01494/0.4952, allocations: 6.453 MB / 0.5623 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.5066, allocations: 4.25 MB / 0.5665 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01365/0.5202, allocations: 6.58 MB / 0.5729 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003459/0.5237, allocations: 0.625 MB / 0.5735 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007451/0.5311, allocations: 1.284 MB / 0.5748 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.02349/0.5546, allocations: 13.75 MB / 0.5882 GB, free: 3.098 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01174/0.5664, allocations: 8.464 MB / 0.5965 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.5708, allocations: 420 kB / 0.5969 GB, free: 10.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.001834/0.5726, allocations: 226.2 kB / 0.5971 GB, free: 9.902 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3835 (1467) * Number of variables: 3835 (1198) Notification: Performance of [SIM] Bindings: time 0.06944/0.6421, allocations: 36.64 MB / 0.6329 GB, free: 4.602 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01082/0.6529, allocations: 4.082 MB / 0.6368 GB, free: 356 kB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 6.832/7.485, allocations: 1.92 GB / 2.557 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 3.686/11.17, allocations: 1.114 GB / 3.671 GB, free: 61.71 MB / 1.029 GB Notification: Performance of [SIM] Alias: time 1.888/13.06, allocations: 479.1 MB / 4.139 GB, free: 237.9 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 3.601/16.66, allocations: 1.113 GB / 5.252 GB, free: 186.6 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.1972/16.86, allocations: 70.08 MB / 5.32 GB, free: 183.8 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 0.4347/17.29, allocations: 201.4 MB / 5.517 GB, free: 84.99 MB / 1.029 GB Notification: Performance of [SIM] Events: time 1.79/19.08, allocations: 0.5533 GB / 6.07 GB, free: 351.2 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.09581/19.18, allocations: 43.77 MB / 6.113 GB, free: 333.9 MB / 1.029 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 641] [Calling sys.exit(0), Time elapsed: 22.053344290005043] 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'] 19.195821797999088 19.204845898 18.629332724 Calling exit ...