Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.001912/0.001912, 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.002117/0.002117, 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.525/1.525, allocations: 230.7 MB / 258.3 MB, free: 7.766 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.2491/0.2491, allocations: 46.96 MB / 361.7 MB, free: 3.988 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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|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.FreeMotionScalarInit4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.608e-05, allocations: 4.812 kB / 0.4974 GB, free: 7.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.0156/0.01562, allocations: 12.19 MB / 0.5093 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.02636, allocations: 4.229 MB / 0.5134 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.02942, allocations: 91.56 kB / 0.5135 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.03461, allocations: 2.316 MB / 0.5158 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005896/0.0405, allocations: 1.957 MB / 0.5177 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.04237, allocations: 0.5965 MB / 0.5183 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3063/0.3487, allocations: 4.298 MB / 0.5225 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004335/0.353, allocations: 2.341 MB / 0.5248 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.3565, allocations: 1.507 MB / 0.5262 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003935/0.3604, allocations: 1.753 MB / 0.528 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006369/0.3611, allocations: 226.6 kB / 0.5282 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.3638, allocations: 0.8475 MB / 0.529 GB, free: 15.13 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006204/0.37, allocations: 5.464 MB / 0.5343 GB, free: 13.2 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004018/0.374, allocations: 3.23 MB / 0.5375 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3752, allocations: 147 kB / 0.5376 GB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006264/0.3758, allocations: 128.3 kB / 0.5377 GB, free: 11.35 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: 1820 (640) * Number of variables: 1820 (513) Notification: Performance of [SIM] Bindings: time 0.01784/0.3937, allocations: 14.51 MB / 0.5519 GB, free: 3.406 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00236/0.396, allocations: 1.881 MB / 0.5538 GB, free: 2.359 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.41/11.81, allocations: 3.85 GB / 4.403 GB, free: 6.277 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.712/20.52, allocations: 2.331 GB / 6.735 GB, free: 235.1 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 4.007/24.53, allocations: 0.8945 GB / 7.629 GB, free: 350.7 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 6.872/31.4, allocations: 2.331 GB / 9.96 GB, free: 89.16 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3289/31.73, allocations: 137.1 MB / 10.09 GB, free: 79.35 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.457/33.18, allocations: 395.6 MB / 10.48 GB, free: 306.5 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.3/35.48, allocations: 1.155 GB / 11.64 GB, free: 240.3 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1439/35.63, allocations: 70.35 MB / 11.7 GB, free: 213.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_3 then ($DER.frame_a.x_label.n_y .* sqrt(frame_a.x_label.n_y * frame_a.x_label.n_y) .- (0.5 / (frame_a.x_label.n_y * frame_a.x_label.n_y) ^ 0.5) * (frame_a.x_label.n_y * $DER.frame_a.x_label.n_y + $DER.frame_a.x_label.n_y * frame_a.x_label.n_y) .* frame_a.x_label.n_y) / sqrt(frame_a.x_label.n_y * frame_a.x_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.x_label.n_y) to apply subscripts [3] " [Timeout remaining time 624] [Calling sys.exit(0), Time elapsed: 38.68372059497051] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotionScalarInit.angle_1', 'freeMotionScalarInit.angle_2', 'freeMotionScalarInit.angle_3', 'freeMotionScalarInit.derdd[1].u', 'freeMotionScalarInit.derdd[2].u', 'freeMotionScalarInit.derdd[3].u', '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'] 35.78770830400754 35.796385171 35.418133409 Calling exit ...