Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.001787/0.001787, 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.002099/0.002099, allocations: 213.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.754/1.754, allocations: 207.7 MB / 234.7 MB, free: 9.777 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.239/0.239, allocations: 44.27 MB / 331.2 MB, free: 9.281 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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.375e-05, allocations: 2.281 kB / 468.8 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01674/0.01676, allocations: 12.66 MB / 481.5 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.02898, allocations: 4.308 MB / 485.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.03236, allocations: 91.56 kB / 485.9 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005215/0.03758, allocations: 2.336 MB / 488.2 MB, free: 392 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007108/0.04469, allocations: 2.074 MB / 490.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.04681, allocations: 0.5926 MB / 490.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007529/0.05434, allocations: 4.449 MB / 495.3 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004759/0.0591, allocations: 2.361 MB / 497.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.06264, allocations: 1.569 MB / 499.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.06664, allocations: 1.829 MB / 0.4893 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.0678, allocations: 228 kB / 0.4896 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.07172, allocations: 0.8737 MB / 0.4904 GB, free: 2.328 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.009424/0.08114, allocations: 5.774 MB / 0.4961 GB, free: 12.5 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004733/0.08587, allocations: 3.42 MB / 0.4994 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.08743, allocations: 156 kB / 0.4995 GB, free: 8.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000838/0.08827, allocations: 130.8 kB / 0.4997 GB, free: 8.766 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: 1888 (660) * Number of variables: 1888 (537) Notification: Performance of [SIM] Bindings: time 0.02604/0.1143, allocations: 15.26 MB / 0.5146 GB, free: 9.105 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004102/0.1184, allocations: 1.94 MB / 0.5165 GB, free: 7.051 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 6.433/6.551, allocations: 2.163 GB / 2.679 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of [SIM] Simplify 1: time 4.786/11.34, allocations: 1.281 GB / 3.96 GB, free: 145.9 MB / 0.9512 GB Notification: Performance of [SIM] Alias: time 1.852/13.19, allocations: 0.5084 GB / 4.469 GB, free: 210.3 MB / 0.9512 GB Notification: Performance of [SIM] Simplify 2: time 4.076/17.26, allocations: 1.281 GB / 5.75 GB, free: 218.3 MB / 0.9512 GB Notification: Performance of [SIM] Remove Stream: time 0.2242/17.49, allocations: 77.12 MB / 5.825 GB, free: 215.7 MB / 0.9512 GB Notification: Performance of [SIM] Detect States: time 0.5124/18, allocations: 222.9 MB / 6.043 GB, free: 76.29 MB / 0.9512 GB Notification: Performance of [SIM] Events: time 1.79/19.79, allocations: 0.6449 GB / 6.688 GB, free: 152.4 MB / 0.9512 GB Notification: Performance of [SIM] Partitioning: time 0.09276/19.88, allocations: 43.13 MB / 6.73 GB, free: 135.1 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.146829712030012] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]', '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'] 19.99262032203842 20.000924046 19.910135626 Calling exit ...