Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001655/0.001655, 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.001789/0.001789, allocations: 210.1 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.719/1.719, allocations: 207.7 MB / 234.7 MB, free: 9.758 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.2437/0.2437, allocations: 44.27 MB / 331.2 MB, free: 9.277 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.716e-05, allocations: 3.688 kB / 468.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01655/0.01658, allocations: 12.67 MB / 481.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.02806, allocations: 4.304 MB / 485.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003427/0.03148, allocations: 95.56 kB / 485.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005266/0.03675, allocations: 2.336 MB / 488.2 MB, free: 380 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00647/0.04322, allocations: 2.078 MB / 490.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.04502, allocations: 0.5809 MB / 490.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007489/0.05251, allocations: 4.474 MB / 495.4 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.05623, allocations: 2.412 MB / 497.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.05909, allocations: 1.576 MB / 499.3 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.06216, allocations: 1.833 MB / 0.4894 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005063/0.06267, allocations: 228 kB / 0.4897 GB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.06498, allocations: 0.8815 MB / 0.4905 GB, free: 2.23 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.006283/0.07127, allocations: 5.805 MB / 0.4962 GB, free: 12.38 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004346/0.07561, allocations: 3.443 MB / 0.4995 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008334/0.07645, allocations: 156 kB / 0.4997 GB, free: 8.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006221/0.07707, allocations: 138.7 kB / 0.4998 GB, free: 8.609 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: 1897 (667) * Number of variables: 1897 (542) Notification: Performance of [SIM] Bindings: time 0.02027/0.09734, allocations: 15.34 MB / 0.5148 GB, free: 8.867 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003234/0.1006, allocations: 1.956 MB / 0.5167 GB, free: 6.797 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 6.396/6.496, allocations: 2.163 GB / 2.679 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of [SIM] Simplify 1: time 4.763/11.26, allocations: 1.281 GB / 3.961 GB, free: 139.8 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 1.85/13.11, allocations: 0.5085 GB / 4.469 GB, free: 205.1 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 4.181/17.29, allocations: 1.281 GB / 5.75 GB, free: 196.5 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.2386/17.53, allocations: 77.13 MB / 5.825 GB, free: 193.9 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 1.059/18.59, allocations: 222.9 MB / 6.043 GB, free: 346.4 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 1.22/19.81, allocations: 0.645 GB / 6.688 GB, free: 145.8 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.09652/19.9, allocations: 43.16 MB / 6.73 GB, free: 128.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_13 then ($DER.frame_a.z_label.n_x .* sqrt(frame_a.z_label.n_x * frame_a.z_label.n_x) .- (0.5 / (frame_a.z_label.n_x * frame_a.z_label.n_x) ^ 0.5) * (frame_a.z_label.n_x * $DER.frame_a.z_label.n_x + $DER.frame_a.z_label.n_x * frame_a.z_label.n_x) .* frame_a.z_label.n_x) / sqrt(frame_a.z_label.n_x * frame_a.z_label.n_x) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.z_label.n_x) to apply subscripts [2] " [Timeout remaining time 640] [Calling sys.exit(0), Time elapsed: 23.112545593990944] 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'] 20.02275575598469 20.032411241 19.952870253 Calling exit ...