Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001627/0.001627, allocations: 99.61 kB / 21.25 MB, free: 0.5547 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.001738/0.001738, allocations: 207 kB / 24.55 MB, free: 3.828 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2362/0.2362, allocations: 44.94 MB / 359.7 MB, free: 6.008 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.451e-05, allocations: 5.094 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4): time 0.01577/0.0158, allocations: 12.2 MB / 0.5062 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.02682, allocations: 4.233 MB / 0.5104 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.03011, allocations: 91.56 kB / 0.5105 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005346/0.03546, allocations: 2.309 MB / 0.5127 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.04172, allocations: 1.969 MB / 0.5146 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.04366, allocations: 0.5848 MB / 0.5152 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007213/0.05087, allocations: 4.293 MB / 0.5194 GB, free: 268 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.323/0.3738, allocations: 2.342 MB / 0.5217 GB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.3772, allocations: 1.503 MB / 0.5232 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004064/0.3813, allocations: 1.748 MB / 0.5249 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006592/0.382, allocations: 225.7 kB / 0.5251 GB, free: 15.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.3847, allocations: 0.8504 MB / 0.5259 GB, free: 15.44 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006436/0.3912, allocations: 5.463 MB / 0.5312 GB, free: 13.5 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004441/0.3956, allocations: 3.231 MB / 0.5344 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001471/0.3971, allocations: 146.9 kB / 0.5345 GB, free: 11.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006705/0.3977, allocations: 129.9 kB / 0.5347 GB, free: 11.89 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.02057/0.4183, allocations: 14.52 MB / 0.5488 GB, free: 4.742 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00348/0.4218, allocations: 1.869 MB / 0.5507 GB, free: 3.699 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.66/12.09, allocations: 3.85 GB / 4.4 GB, free: 12.11 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.75/20.84, allocations: 2.331 GB / 6.731 GB, free: 258.2 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.961/24.8, allocations: 0.8945 GB / 7.626 GB, free: 340.1 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.044/31.84, allocations: 2.331 GB / 9.957 GB, free: 30.05 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3447/32.19, allocations: 137.1 MB / 10.09 GB, free: 19.5 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.662/33.85, allocations: 395.8 MB / 10.48 GB, free: 260.5 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.368/36.21, allocations: 1.155 GB / 11.63 GB, free: 107 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1359/36.35, allocations: 70.36 MB / 11.7 GB, free: 79.95 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 623] [Calling sys.exit(0), Time elapsed: 39.74185829196358] 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'] 36.82712201803224 36.836872915 36.436631066 Calling exit ...