Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001649/0.001649, 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.001757/0.001757, allocations: 217.7 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.655/1.655, allocations: 207.7 MB / 234.7 MB, free: 9.773 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.2495/0.2495, 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.184e-05, allocations: 3.688 kB / 468.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2): time 0.01484/0.01486, allocations: 11.51 MB / 480.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009865/0.02473, allocations: 3.982 MB / 484.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.02715, allocations: 83.62 kB / 484.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.03093, allocations: 1.829 MB / 486.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00548/0.03641, allocations: 1.934 MB / 488.2 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.038, allocations: 0.5106 MB / 488.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006583/0.04458, allocations: 3.97 MB / 492.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004085/0.04867, allocations: 1.922 MB / 494.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.05108, allocations: 1.362 MB / 495.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.05324, allocations: 1.619 MB / 497.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.0536, allocations: 184 kB / 497.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.05555, allocations: 0.8111 MB / 498.5 MB, free: 5.988 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.005424/0.06098, allocations: 5.089 MB / 0.4918 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.003646/0.06462, allocations: 3.019 MB / 0.4948 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000623/0.06525, allocations: 124 kB / 0.4949 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005035/0.06575, allocations: 122.8 kB / 0.495 GB, free: 13.56 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: 1720 (559) * Number of variables: 1720 (465) Notification: Performance of [SIM] Bindings: time 0.01688/0.08263, allocations: 13.46 MB / 0.5081 GB, free: 15.73 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002304/0.08493, allocations: 1.663 MB / 0.5098 GB, free: 13.98 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 6.391/6.475, allocations: 2.161 GB / 2.671 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of [SIM] Simplify 1: time 4.736/11.21, allocations: 1.281 GB / 3.952 GB, free: 167.4 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 1.823/13.03, allocations: 0.5069 GB / 4.459 GB, free: 225.2 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 4.087/17.12, allocations: 1.281 GB / 5.74 GB, free: 294.7 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.2236/17.35, allocations: 77.02 MB / 5.815 GB, free: 292.1 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.5441/17.89, allocations: 222.6 MB / 6.032 GB, free: 140.1 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 1.827/19.72, allocations: 0.6449 GB / 6.677 GB, free: 220.4 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.101/19.82, allocations: 42.61 MB / 6.719 GB, free: 203.5 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: 22.995066979026888] 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'] 19.938501968979836 19.948097302 19.879882132 Calling exit ...