Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001374/0.001374, 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.001632/0.001632, allocations: 211 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 7.746 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.2371/0.2371, allocations: 44.94 MB / 359.7 MB, free: 6.02 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.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.0.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.0.0_ModelicaTest.MultiBody.Forces.Torque2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/2.923e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02722/0.02725, allocations: 22.37 MB / 0.5162 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3084/0.3356, allocations: 6.98 MB / 0.523 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007926/0.3436, allocations: 226.5 kB / 0.5232 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02188/0.3654, allocations: 10.08 MB / 0.5331 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01693/0.3824, allocations: 4.078 MB / 0.5371 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.3891, allocations: 1.995 MB / 0.539 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02465/0.4137, allocations: 14.27 MB / 0.5529 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.4248, allocations: 6.446 MB / 0.5592 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01129/0.4361, allocations: 4.251 MB / 0.5634 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01496/0.451, allocations: 6.583 MB / 0.5698 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00517/0.4562, allocations: 0.625 MB / 0.5704 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008191/0.4644, allocations: 1.281 MB / 0.5717 GB, free: 4.551 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.02311/0.4875, allocations: 13.75 MB / 0.5851 GB, free: 7.414 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01225/0.4997, allocations: 8.466 MB / 0.5934 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006121/0.5059, allocations: 420 kB / 0.5938 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.002629/0.5085, allocations: 226.2 kB / 0.594 GB, free: 14.27 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.0704/0.5789, allocations: 36.64 MB / 0.6298 GB, free: 8.957 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.01029/0.5892, allocations: 4.086 MB / 0.6338 GB, free: 4.695 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 6.228/6.817, allocations: 1.92 GB / 2.554 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of [SIM] Simplify 1: time 3.347/10.16, allocations: 1.114 GB / 3.668 GB, free: 27.46 MB / 1.014 GB Notification: Performance of [SIM] Alias: time 1.795/11.96, allocations: 479.5 MB / 4.136 GB, free: 207.6 MB / 1.014 GB Notification: Performance of [SIM] Simplify 2: time 3.241/15.2, allocations: 1.113 GB / 5.249 GB, free: 107.3 MB / 1.014 GB Notification: Performance of [SIM] Remove Stream: time 0.1664/15.37, allocations: 70.08 MB / 5.318 GB, free: 104.1 MB / 1.014 GB Notification: Performance of [SIM] Detect States: time 0.9339/16.3, allocations: 201.4 MB / 5.514 GB, free: 348.2 MB / 1.014 GB Notification: Performance of [SIM] Events: time 0.9984/17.3, allocations: 0.5533 GB / 6.068 GB, free: 267.7 MB / 1.014 GB Notification: Performance of [SIM] Partitioning: time 0.0758/17.37, allocations: 43.76 MB / 6.11 GB, free: 248.5 MB / 1.014 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 643] [Calling sys.exit(0), Time elapsed: 20.21307917003287] 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'] 17.3899560609716 17.397559745 16.88611877 Calling exit ...