Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.001669/0.001669, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.001838/0.001838, allocations: 215.3 kB / 24.55 MB, free: 3.719 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.657/1.657, allocations: 230.5 MB / 258.2 MB, free: 7.754 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.2359/0.2359, allocations: 46.94 MB / 361.6 MB, free: 3.914 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.342e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01633/0.01636, allocations: 12.19 MB / 0.5093 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.02829, allocations: 4.24 MB / 0.5135 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.03168, allocations: 87.62 kB / 0.5136 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005612/0.03729, allocations: 2.316 MB / 0.5158 GB, free: 4.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006505/0.0438, allocations: 1.954 MB / 0.5177 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.04579, allocations: 0.5965 MB / 0.5183 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3501/0.3959, allocations: 4.291 MB / 0.5225 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004781/0.4006, allocations: 2.35 MB / 0.5248 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.4045, allocations: 1.502 MB / 0.5263 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/0.4094, allocations: 1.759 MB / 0.528 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.4105, allocations: 223.5 kB / 0.5282 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.4139, allocations: 0.8432 MB / 0.529 GB, free: 15.15 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.007771/0.4217, allocations: 5.466 MB / 0.5343 GB, free: 13.21 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004582/0.4263, allocations: 3.232 MB / 0.5375 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.4282, allocations: 147.2 kB / 0.5376 GB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0007092/0.4289, allocations: 126.5 kB / 0.5378 GB, free: 11.32 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.02349/0.4524, allocations: 14.51 MB / 0.5519 GB, free: 3.383 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003851/0.4562, allocations: 1.877 MB / 0.5538 GB, free: 2.336 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 12.07/12.53, allocations: 3.85 GB / 4.403 GB, free: 6.355 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 9.281/21.81, allocations: 2.331 GB / 6.735 GB, free: 233.5 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.781/25.59, allocations: 0.8945 GB / 7.629 GB, free: 350.9 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.292/32.89, allocations: 2.331 GB / 9.96 GB, free: 86.17 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.4137/33.3, allocations: 137.1 MB / 10.09 GB, free: 76.08 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.673/34.97, allocations: 395.6 MB / 10.48 GB, free: 306.6 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.83/37.8, allocations: 1.155 GB / 11.64 GB, free: 240 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1576/37.96, allocations: 70.35 MB / 11.7 GB, free: 212.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_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 622] [Calling sys.exit(0), Time elapsed: 41.18449265201343] 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'] 38.12913369300077 38.137657037 37.706231019 Calling exit ...