Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.001565/0.001565, 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.002106/0.002106, allocations: 212.7 kB / 24.55 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.484/1.484, allocations: 230.6 MB / 258.3 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.2476/0.2476, allocations: 44.93 MB / 359.7 MB, free: 6.047 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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.angle_d_1|freeMotionScalarInit.angle_d_2|freeMotionScalarInit.angle_d_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.766e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01415/0.01418, allocations: 11.05 MB / 0.5051 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009585/0.02376, allocations: 3.876 MB / 0.5089 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.02629, allocations: 83.62 kB / 0.509 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.03027, allocations: 1.802 MB / 0.5108 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.0355, allocations: 1.818 MB / 0.5125 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.03695, allocations: 499 kB / 0.513 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005831/0.04278, allocations: 3.776 MB / 0.5167 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002798/0.04558, allocations: 1.864 MB / 0.5185 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.29/0.3356, allocations: 1.271 MB / 0.5198 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003664/0.3392, allocations: 1.537 MB / 0.5213 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007895/0.34, allocations: 178.2 kB / 0.5214 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.3427, allocations: 0.7639 MB / 0.5222 GB, free: 16.84 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005837/0.3486, allocations: 4.72 MB / 0.5268 GB, free: 15.32 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004349/0.3529, allocations: 2.787 MB / 0.5295 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.3541, allocations: 117.8 kB / 0.5296 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005179/0.3546, allocations: 114 kB / 0.5297 GB, free: 13.95 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: 1622 (533) * Number of variables: 1622 (433) Notification: Performance of [SIM] Bindings: time 0.01724/0.3718, allocations: 12.54 MB / 0.542 GB, free: 8.676 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002857/0.3747, allocations: 1.585 MB / 0.5435 GB, free: 7.801 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.72/12.09, allocations: 3.848 GB / 4.392 GB, free: 8.234 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.829/20.92, allocations: 2.331 GB / 6.723 GB, free: 280.4 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.821/24.74, allocations: 0.8929 GB / 7.616 GB, free: 348.3 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.08/31.82, allocations: 2.331 GB / 9.946 GB, free: 46.88 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3653/32.19, allocations: 137 MB / 10.08 GB, free: 36.86 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.569/33.76, allocations: 395.3 MB / 10.47 GB, free: 303 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.611/36.37, allocations: 1.155 GB / 11.62 GB, free: 244.7 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1414/36.51, allocations: 69.79 MB / 11.69 GB, free: 217.9 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.48285081901122] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotionScalarInit.angle_1', 'freeMotionScalarInit.angle_2', 'freeMotionScalarInit.angle_3', 'freeMotionScalarInit.angle_d_1', 'freeMotionScalarInit.angle_d_2', 'freeMotionScalarInit.angle_d_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'] 36.66532443300821 36.674189374 36.317237234 Calling exit ...