Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001577/0.001577, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001598/0.001598, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 7.75 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.257/0.257, allocations: 46.96 MB / 361.7 MB, free: 3.992 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.Torque2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/2.953e-05, allocations: 4.953 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02754/0.02757, allocations: 22.35 MB / 0.5193 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3506/0.3782, allocations: 6.989 MB / 0.5261 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009358/0.3875, allocations: 227.6 kB / 0.5263 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02424/0.4118, allocations: 10.08 MB / 0.5361 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01686/0.4286, allocations: 4.079 MB / 0.5401 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00669/0.4353, allocations: 2.003 MB / 0.5421 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03175/0.4671, allocations: 14.27 MB / 0.556 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.4827, allocations: 6.452 MB / 0.5623 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.4945, allocations: 4.251 MB / 0.5665 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01443/0.5089, allocations: 6.579 MB / 0.5729 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003641/0.5125, allocations: 0.625 MB / 0.5735 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/0.5202, allocations: 1.295 MB / 0.5748 GB, free: 1.133 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.02533/0.5455, allocations: 13.74 MB / 0.5882 GB, free: 3.273 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01302/0.5585, allocations: 8.463 MB / 0.5965 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005776/0.5643, allocations: 416 kB / 0.5968 GB, free: 10.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.002296/0.5666, allocations: 222.2 kB / 0.5971 GB, free: 10.09 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.07709/0.6437, allocations: 36.65 MB / 0.6328 GB, free: 4.777 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009246/0.6529, allocations: 4.086 MB / 0.6368 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 6.501/7.154, allocations: 1.92 GB / 2.557 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of [SIM] Simplify 1: time 3.58/10.73, allocations: 1.114 GB / 3.671 GB, free: 58.32 MB / 1.029 GB Notification: Performance of [SIM] Alias: time 1.826/12.56, allocations: 479.1 MB / 4.139 GB, free: 234.6 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 3.283/15.84, allocations: 1.113 GB / 5.252 GB, free: 174.7 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.1818/16.03, allocations: 70.07 MB / 5.32 GB, free: 171.8 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 0.4006/16.43, allocations: 201.4 MB / 5.517 GB, free: 75.71 MB / 1.029 GB Notification: Performance of [SIM] Events: time 1.525/17.95, allocations: 0.5533 GB / 6.07 GB, free: 351.1 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.08413/18.03, allocations: 43.76 MB / 6.113 GB, free: 334 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 642] [Calling sys.exit(0), Time elapsed: 20.992546581022907] 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'] 18.0501631530351 18.060005228 17.490263867 Calling exit ...