Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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.001631/0.001631, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002719/0.002719, allocations: 207.2 kB / 24.54 MB, free: 3.727 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.495/1.495, allocations: 230.7 MB / 258.4 MB, free: 7.773 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.2234/0.2234, allocations: 44.94 MB / 359.7 MB, free: 6.023 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.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.001e-05, allocations: 4.812 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02077/0.0208, allocations: 15.7 MB / 0.5097 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01392/0.03472, allocations: 5.101 MB / 0.5146 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.03917, allocations: 131.4 kB / 0.5148 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007086/0.04625, allocations: 2.99 MB / 0.5177 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2769/0.3231, allocations: 2.629 MB / 0.5203 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.3263, allocations: 1.022 MB / 0.5213 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01338/0.3396, allocations: 8.039 MB / 0.5291 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006782/0.3464, allocations: 2.781 MB / 0.5318 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005333/0.3517, allocations: 2.156 MB / 0.5339 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005784/0.3575, allocations: 2.972 MB / 0.5368 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.3591, allocations: 279 kB / 0.5371 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.3633, allocations: 0.9196 MB / 0.538 GB, free: 13.82 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.01042/0.3737, allocations: 7.384 MB / 0.5452 GB, free: 9.863 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004983/0.3787, allocations: 4.42 MB / 0.5495 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.3808, allocations: 197.6 kB / 0.5497 GB, free: 7.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0008258/0.3817, allocations: 144.7 kB / 0.5498 GB, free: 7.195 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 (731) * Number of variables: 2169 (651) Notification: Performance of [SIM] Bindings: time 0.02917/0.4108, allocations: 19.1 MB / 0.5685 GB, free: 8.047 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004218/0.4151, allocations: 2.194 MB / 0.5706 GB, free: 5.887 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 11.36/11.77, allocations: 3.852 GB / 4.422 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 8.681/20.45, allocations: 2.332 GB / 6.754 GB, free: 267.8 MB / 1.232 GB Notification: Performance of [SIM] Alias: time 4.005/24.46, allocations: 0.8976 GB / 7.652 GB, free: 346.6 MB / 1.232 GB Notification: Performance of [SIM] Simplify 2: time 7.196/31.65, allocations: 2.332 GB / 9.983 GB, free: 51.02 MB / 1.232 GB Notification: Performance of [SIM] Remove Stream: time 0.3909/32.04, allocations: 137.2 MB / 10.12 GB, free: 39.36 MB / 1.232 GB Notification: Performance of [SIM] Detect States: time 1.639/33.68, allocations: 396 MB / 10.5 GB, free: 315.8 MB / 1.232 GB Notification: Performance of [SIM] Events: time 2.65/36.33, allocations: 1.155 GB / 11.66 GB, free: 272.6 MB / 1.232 GB Notification: Performance of [SIM] Partitioning: time 0.1481/36.48, allocations: 71.1 MB / 11.73 GB, free: 245.1 MB / 1.232 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 noEvent(if $SEV_17 then ($DER.frame_a.z_label.n_y .* sqrt(frame_a.z_label.n_y * frame_a.z_label.n_y) .- (0.5 / (frame_a.z_label.n_y * frame_a.z_label.n_y) ^ 0.5) * (frame_a.z_label.n_y * $DER.frame_a.z_label.n_y + $DER.frame_a.z_label.n_y * frame_a.z_label.n_y) .* frame_a.z_label.n_y) / sqrt(frame_a.z_label.n_y * frame_a.z_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.z_label.n_y) to apply subscripts [3] " [Timeout remaining time 623] [Calling sys.exit(0), Time elapsed: 39.407520063978154] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'revolute1.phi', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 36.646287534967996 36.654453525 36.270196722 Calling exit ...