Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001835/0.001835, allocations: 100.4 kB / 20.52 MB, free: 1.148 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.003343/0.003343, allocations: 213.8 kB / 23.82 MB, free: 4.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 207.7 MB / 234.7 MB, free: 9.77 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2463/0.2463, allocations: 44.27 MB / 331.2 MB, free: 9.27 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.745e-05, allocations: 3.688 kB / 468.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.01498/0.015, allocations: 11.51 MB / 480.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02513, allocations: 3.986 MB / 484.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.02752, allocations: 79.62 kB / 484.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.03126, allocations: 1.826 MB / 486.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.03648, allocations: 1.93 MB / 488.1 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.03786, allocations: 0.4951 MB / 488.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005669/0.04353, allocations: 3.947 MB / 492.6 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.04616, allocations: 1.93 MB / 494.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.04814, allocations: 1.351 MB / 495.9 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.05022, allocations: 1.619 MB / 497.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003451/0.05057, allocations: 184 kB / 497.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.05237, allocations: 0.7955 MB / 498.5 MB, free: 6.055 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.00494/0.05731, allocations: 5.062 MB / 0.4917 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.003227/0.06054, allocations: 2.995 MB / 0.4947 GB, free: 13.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.06099, allocations: 128 kB / 0.4948 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004907/0.06148, allocations: 118.9 kB / 0.4949 GB, free: 13.68 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: 1699 (560) * Number of variables: 1699 (462) Notification: Performance of [SIM] Bindings: time 0.01643/0.07791, allocations: 13.34 MB / 0.5079 GB, free: 15.96 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002136/0.08004, allocations: 1.674 MB / 0.5096 GB, free: 14.21 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 6.436/6.516, allocations: 2.161 GB / 2.671 GB, free: 28.55 MB / 0.7169 GB Notification: Performance of [SIM] Simplify 1: time 4.723/11.24, allocations: 1.281 GB / 3.952 GB, free: 169.7 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 1.887/13.13, allocations: 0.5069 GB / 4.459 GB, free: 225.7 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 4.106/17.23, allocations: 1.281 GB / 5.739 GB, free: 298.7 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.215/17.45, allocations: 77.03 MB / 5.815 GB, free: 296.1 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.5308/17.98, allocations: 222.7 MB / 6.032 GB, free: 143 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 1.824/19.8, allocations: 0.6449 GB / 6.677 GB, free: 223.1 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.09047/19.89, allocations: 42.6 MB / 6.719 GB, free: 206.2 MB / 0.9512 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_x .* sqrt(frame_a.x_label.n_x * frame_a.x_label.n_x) .- (0.5 / (frame_a.x_label.n_x * frame_a.x_label.n_x) ^ 0.5) * (frame_a.x_label.n_x * $DER.frame_a.x_label.n_x + $DER.frame_a.x_label.n_x * frame_a.x_label.n_x) .* frame_a.x_label.n_x) / sqrt(frame_a.x_label.n_x * frame_a.x_label.n_x) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.x_label.n_x) to apply subscripts [2] " [Timeout remaining time 640] [Calling sys.exit(0), Time elapsed: 23.10970707394881] 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'] 20.008251624007244 20.017322125 19.953497258 Calling exit ...