Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.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.001437/0.001437, 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.001631/0.001631, 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2415/0.2415, allocations: 44.93 MB / 359.7 MB, free: 6.031 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.323e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01287/0.0129, allocations: 10.26 MB / 0.5043 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009459/0.02235, allocations: 3.859 MB / 0.5081 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.02441, allocations: 67.75 kB / 0.5082 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.02696, allocations: 1.175 MB / 0.5093 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.03154, allocations: 1.779 MB / 0.5111 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.03301, allocations: 0.5574 MB / 0.5116 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006089/0.0391, allocations: 4.073 MB / 0.5156 GB, free: 4.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.04095, allocations: 1.239 MB / 0.5168 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.04276, allocations: 1.101 MB / 0.5179 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/0.04464, allocations: 1.389 MB / 0.5192 GB, free: 448 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.04492, allocations: 116 kB / 0.5193 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2882/0.3331, allocations: 1.034 MB / 0.5203 GB, free: 18.86 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006133/0.3393, allocations: 4.187 MB / 0.5244 GB, free: 17.62 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003503/0.3428, allocations: 2.541 MB / 0.5269 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007906/0.3436, allocations: 91.53 kB / 0.527 GB, free: 16.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0003947/0.3439, allocations: 93.95 kB / 0.5271 GB, free: 16.38 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: 1482 (418) * Number of variables: 1482 (390) Notification: Performance of [SIM] Bindings: time 0.01422/0.3582, allocations: 10.87 MB / 0.5377 GB, free: 12.35 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002029/0.3602, allocations: 1.264 MB / 0.5389 GB, free: 11.68 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.7/12.06, allocations: 3.847 GB / 4.386 GB, free: 5.695 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.803/20.86, allocations: 2.331 GB / 6.717 GB, free: 268.1 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.788/24.65, allocations: 0.892 GB / 7.609 GB, free: 346.8 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.078/31.73, allocations: 2.331 GB / 9.94 GB, free: 47.52 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.362/32.09, allocations: 136.8 MB / 10.07 GB, free: 37.91 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.593/33.69, allocations: 395.1 MB / 10.46 GB, free: 303.3 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.576/36.26, allocations: 1.155 GB / 11.61 GB, free: 245.4 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1383/36.4, allocations: 69.3 MB / 11.68 GB, free: 218.8 MB / 1.217 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_10 then ($DER.frame_a.y_label.n_y .* sqrt(frame_a.y_label.n_y * frame_a.y_label.n_y) .- (0.5 / (frame_a.y_label.n_y * frame_a.y_label.n_y) ^ 0.5) * (frame_a.y_label.n_y * $DER.frame_a.y_label.n_y + $DER.frame_a.y_label.n_y * frame_a.y_label.n_y) .* frame_a.y_label.n_y) / sqrt(frame_a.y_label.n_y * frame_a.y_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.y_label.n_y) to apply subscripts [3] " [Timeout remaining time 623] [Calling sys.exit(0), Time elapsed: 39.33293244696688] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.Q[1]', 'body.Q[2]', 'body.Q[3]', 'body.Q[4]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 36.55155124596786 36.55950848 36.21320058 Calling exit ...