Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.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.001893/0.001893, allocations: 99.64 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.00259/0.00259, allocations: 208.7 kB / 24.55 MB, free: 3.75 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2473/0.2473, allocations: 44.94 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.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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|freeMotionScalarInit.w_rel_b_1|freeMotionScalarInit.w_rel_b_2|freeMotionScalarInit.w_rel_b_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.061e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01448/0.01451, allocations: 11.06 MB / 0.5051 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.02547, allocations: 3.88 MB / 0.5089 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.02852, allocations: 83.62 kB / 0.509 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004046/0.03256, allocations: 1.81 MB / 0.5108 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005499/0.03806, allocations: 1.814 MB / 0.5125 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.0397, allocations: 0.5106 MB / 0.513 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006311/0.04601, allocations: 3.802 MB / 0.5167 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/0.0496, allocations: 1.856 MB / 0.5186 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2935/0.3431, allocations: 1.282 MB / 0.5198 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.3468, allocations: 1.542 MB / 0.5213 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.3474, allocations: 177.4 kB / 0.5215 GB, free: 16.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.3498, allocations: 0.7837 MB / 0.5222 GB, free: 16.84 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005994/0.3558, allocations: 4.752 MB / 0.5269 GB, free: 15.3 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.005126/0.361, allocations: 2.804 MB / 0.5296 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.3622, allocations: 118.3 kB / 0.5297 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006834/0.3629, allocations: 115.7 kB / 0.5299 GB, free: 13.92 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: 1643 (532) * Number of variables: 1643 (436) Notification: Performance of [SIM] Bindings: time 0.01968/0.3826, allocations: 12.63 MB / 0.5422 GB, free: 8.555 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002218/0.3848, allocations: 1.589 MB / 0.5437 GB, free: 7.68 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.4/11.79, allocations: 3.848 GB / 4.392 GB, free: 7.914 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.718/20.5, allocations: 2.331 GB / 6.723 GB, free: 275.4 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.783/24.29, allocations: 0.8929 GB / 7.616 GB, free: 346 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 6.997/31.28, allocations: 2.331 GB / 9.947 GB, free: 41.06 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3571/31.64, allocations: 137 MB / 10.08 GB, free: 31.32 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.569/33.21, allocations: 395.3 MB / 10.47 GB, free: 303.2 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.543/35.75, allocations: 1.155 GB / 11.62 GB, free: 243.3 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1456/35.9, allocations: 69.79 MB / 11.69 GB, free: 216.5 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 624] [Calling sys.exit(0), Time elapsed: 38.90781242900994] Failed to read output from testmodel.py, exit status != 0: ['time', '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', 'freeMotionScalarInit.w_rel_b_1', 'freeMotionScalarInit.w_rel_b_2', 'freeMotionScalarInit.w_rel_b_3'] 36.057517323002685 36.065619852 35.700395458 Calling exit ...