Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2.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.001448/0.001448, 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.001589/0.001589, allocations: 210.3 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.58/1.58, allocations: 230.7 MB / 258.3 MB, free: 7.742 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.2541/0.2541, allocations: 44.93 MB / 359.7 MB, free: 6 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.Force2,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.Force2") translateModel(ModelicaTest.MultiBody.Forces.Force2,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.Force2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 2.281 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.02732/0.02734, allocations: 22.36 MB / 0.5162 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2711/0.2984, allocations: 6.997 MB / 0.523 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007099/0.3055, allocations: 227.9 kB / 0.5232 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02051/0.326, allocations: 10.07 MB / 0.5331 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.3385, allocations: 4.084 MB / 0.5371 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.3443, allocations: 2.029 MB / 0.539 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02416/0.3685, allocations: 14.31 MB / 0.553 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01258/0.3811, allocations: 6.48 MB / 0.5593 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01048/0.3916, allocations: 4.263 MB / 0.5635 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01189/0.4034, allocations: 6.599 MB / 0.5699 GB, free: 6.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002599/0.406, allocations: 0.6289 MB / 0.5706 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.4117, allocations: 1.294 MB / 0.5718 GB, free: 4.375 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.02175/0.4335, allocations: 13.78 MB / 0.5853 GB, free: 7.211 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.01226/0.4457, allocations: 8.468 MB / 0.5935 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004337/0.4501, allocations: 416 kB / 0.5939 GB, free: 14.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.001812/0.4519, allocations: 222.2 kB / 0.5942 GB, free: 14.06 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.06674/0.5186, allocations: 36.71 MB / 0.63 GB, free: 8.684 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.009721/0.5284, allocations: 4.101 MB / 0.634 GB, free: 4.418 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 6.182/6.711, allocations: 1.92 GB / 2.554 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of [SIM] Simplify 1: time 3.556/10.27, allocations: 1.114 GB / 3.668 GB, free: 29.05 MB / 1.014 GB Notification: Performance of [SIM] Alias: time 1.94/12.21, allocations: 479.5 MB / 4.136 GB, free: 213.5 MB / 1.014 GB Notification: Performance of [SIM] Simplify 2: time 3.369/15.58, allocations: 1.113 GB / 5.25 GB, free: 116.9 MB / 1.014 GB Notification: Performance of [SIM] Remove Stream: time 0.2149/15.79, allocations: 70.09 MB / 5.318 GB, free: 114.1 MB / 1.014 GB Notification: Performance of [SIM] Detect States: time 1.027/16.82, allocations: 201.4 MB / 5.515 GB, free: 352.4 MB / 1.014 GB Notification: Performance of [SIM] Events: time 1.247/18.06, allocations: 0.5533 GB / 6.068 GB, free: 281.1 MB / 1.014 GB Notification: Performance of [SIM] Partitioning: time 0.0967/18.16, allocations: 43.8 MB / 6.111 GB, free: 261.9 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 642] [Calling sys.exit(0), Time elapsed: 21.113493116979953] 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.178958764998242 18.18850712 17.733986224 Calling exit ...