Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.001574/0.001574, 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.00186/0.00186, allocations: 207.2 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.501/1.501, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2469/0.2469, allocations: 46.97 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.495e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01582/0.01584, allocations: 12.18 MB / 0.5093 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.02661, allocations: 4.233 MB / 0.5134 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.02967, allocations: 91.56 kB / 0.5135 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005155/0.03483, allocations: 2.309 MB / 0.5158 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006777/0.0416, allocations: 1.96 MB / 0.5177 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.04358, allocations: 0.5887 MB / 0.5183 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3178/0.3614, allocations: 4.274 MB / 0.5224 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.3658, allocations: 2.303 MB / 0.5247 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00508/0.3709, allocations: 1.496 MB / 0.5261 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005622/0.3765, allocations: 1.744 MB / 0.5279 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.3777, allocations: 220.2 kB / 0.5281 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.3822, allocations: 0.8497 MB / 0.5289 GB, free: 15.14 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.007457/0.3897, allocations: 5.428 MB / 0.5342 GB, free: 13.22 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004106/0.3938, allocations: 3.217 MB / 0.5373 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.3949, allocations: 145.2 kB / 0.5375 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006284/0.3955, allocations: 127.2 kB / 0.5376 GB, free: 11.42 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.01842/0.414, allocations: 14.43 MB / 0.5517 GB, free: 3.543 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002544/0.4165, allocations: 1.866 MB / 0.5535 GB, free: 2.5 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.68/12.09, allocations: 3.85 GB / 4.403 GB, free: 5.719 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.833/20.93, allocations: 2.331 GB / 6.734 GB, free: 229.6 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.913/24.84, allocations: 0.8944 GB / 7.629 GB, free: 349.1 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 6.957/31.8, allocations: 2.331 GB / 9.96 GB, free: 74.67 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.368/32.16, allocations: 137.1 MB / 10.09 GB, free: 64.84 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.592/33.76, allocations: 395.5 MB / 10.48 GB, free: 304.4 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.485/36.24, allocations: 1.155 GB / 11.63 GB, free: 232.2 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1305/36.37, allocations: 70.32 MB / 11.7 GB, free: 205.2 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.393539534008596] 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'] 36.53621500002919 36.543866538 36.145896098 Calling exit ...