Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00159/0.00159, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 230.5 MB / 258.2 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2398/0.2398, allocations: 46.95 MB / 361.6 MB, free: 3.879 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.28e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.0163/0.01633, allocations: 12.19 MB / 0.5093 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.02787, allocations: 4.225 MB / 0.5135 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004399/0.03227, allocations: 87.62 kB / 0.5135 GB, free: 6.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005775/0.03805, allocations: 2.32 MB / 0.5158 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.0443, allocations: 1.954 MB / 0.5177 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.04642, allocations: 0.5926 MB / 0.5183 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3569/0.4033, allocations: 4.271 MB / 0.5225 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.4085, allocations: 2.308 MB / 0.5247 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.4127, allocations: 1.497 MB / 0.5262 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.4176, allocations: 1.743 MB / 0.5279 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.4187, allocations: 225.1 kB / 0.5281 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/0.4221, allocations: 0.8393 MB / 0.5289 GB, free: 15.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.007998/0.4301, allocations: 5.429 MB / 0.5342 GB, free: 13.19 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004685/0.4348, allocations: 3.22 MB / 0.5374 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.4366, allocations: 144.7 kB / 0.5375 GB, free: 11.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007063/0.4373, allocations: 127.5 kB / 0.5376 GB, free: 11.34 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: 1811 (633) * Number of variables: 1811 (508) Notification: Performance of [SIM] Bindings: time 0.02127/0.4585, allocations: 14.43 MB / 0.5517 GB, free: 3.465 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002954/0.4615, allocations: 1.859 MB / 0.5535 GB, free: 2.43 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 12.14/12.61, allocations: 3.85 GB / 4.403 GB, free: 6.215 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 9.272/21.88, allocations: 2.331 GB / 6.734 GB, free: 234.4 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.828/25.71, allocations: 0.8944 GB / 7.629 GB, free: 348.9 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.131/32.84, allocations: 2.331 GB / 9.96 GB, free: 79.93 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.4053/33.24, allocations: 137.1 MB / 10.09 GB, free: 70.17 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.661/34.9, allocations: 395.5 MB / 10.48 GB, free: 303.7 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.762/37.66, allocations: 1.155 GB / 11.63 GB, free: 233.5 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1544/37.82, allocations: 70.32 MB / 11.7 GB, free: 206.4 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 622] [Calling sys.exit(0), Time elapsed: 40.981260730011854] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', 'freeMotionScalarInit.angle_1', 'freeMotionScalarInit.angle_2', 'freeMotionScalarInit.angle_3', 'freeMotionScalarInit.r_rel_a_1', 'freeMotionScalarInit.r_rel_a_2', 'freeMotionScalarInit.r_rel_a_3', 'freeMotionScalarInit.v_rel_a_1', 'freeMotionScalarInit.v_rel_a_2', 'freeMotionScalarInit.v_rel_a_3'] 37.987957525998354 37.996049489 37.556274595 Calling exit ...