Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.001661/0.001661, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.001764/0.001764, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2454/0.2454, allocations: 44.93 MB / 359.7 MB, free: 6.164 MB / 286.1 MB " [Timeout remaining time 180] 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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotionScalarInit1.r_rel_a_1|freeMotionScalarInit1.r_rel_a_2|freeMotionScalarInit1.r_rel_a_3|freeMotionScalarInit1.v_rel_a_1|freeMotionScalarInit1.v_rel_a_2|freeMotionScalarInit1.v_rel_a_3|freeMotionScalarInit2.angle_1|freeMotionScalarInit2.angle_2|freeMotionScalarInit2.angle_3|freeMotionScalarInit2.angle_d_1|freeMotionScalarInit2.angle_d_2|freeMotionScalarInit2.angle_d_3",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.79e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.01546/0.01549, allocations: 12.03 MB / 0.5061 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.0259, allocations: 4.201 MB / 0.5102 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002955/0.02886, allocations: 103.4 kB / 0.5103 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.03388, allocations: 2.32 MB / 0.5125 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005368/0.03925, allocations: 1.876 MB / 0.5144 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.0416, allocations: 0.8731 MB / 0.5152 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006295/0.04789, allocations: 4.024 MB / 0.5191 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2654/0.3133, allocations: 2.207 MB / 0.5213 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.3161, allocations: 1.398 MB / 0.5227 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003123/0.3192, allocations: 1.656 MB / 0.5243 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005766/0.3198, allocations: 210.6 kB / 0.5245 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.3221, allocations: 0.7958 MB / 0.5253 GB, free: 15.54 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005131/0.3273, allocations: 5.104 MB / 0.5302 GB, free: 13.75 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003339/0.3306, allocations: 2.99 MB / 0.5332 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009769/0.3316, allocations: 133.6 kB / 0.5333 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005564/0.3321, allocations: 134.3 kB / 0.5334 GB, free: 12.27 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: 1710 (595) * Number of variables: 1710 (455) Notification: Performance of [SIM] Bindings: time 0.01567/0.3478, allocations: 13.68 MB / 0.5468 GB, free: 5.918 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002033/0.3498, allocations: 1.782 MB / 0.5485 GB, free: 4.906 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.01/11.36, allocations: 3.849 GB / 4.398 GB, free: 10.1 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.279/19.64, allocations: 2.331 GB / 6.729 GB, free: 261.1 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.989/23.63, allocations: 0.8934 GB / 7.622 GB, free: 335.6 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.288/30.92, allocations: 2.331 GB / 9.953 GB, free: 176 kB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 1.21/32.13, allocations: 137.3 MB / 10.09 GB, free: 396.8 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.588/33.72, allocations: 395.5 MB / 10.47 GB, free: 429.7 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.459/36.17, allocations: 1.155 GB / 11.63 GB, free: 479.4 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1443/36.32, allocations: 70.15 MB / 11.7 GB, free: 454.5 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 624] [Calling sys.exit(0), Time elapsed: 39.27063874201849] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotionScalarInit1.r_rel_a_1', 'freeMotionScalarInit1.r_rel_a_2', 'freeMotionScalarInit1.r_rel_a_3', 'freeMotionScalarInit1.v_rel_a_1', 'freeMotionScalarInit1.v_rel_a_2', 'freeMotionScalarInit1.v_rel_a_3', 'freeMotionScalarInit2.angle_1', 'freeMotionScalarInit2.angle_2', 'freeMotionScalarInit2.angle_3', 'freeMotionScalarInit2.angle_d_1', 'freeMotionScalarInit2.angle_d_2', 'freeMotionScalarInit2.angle_d_3'] 36.48618097603321 36.495515369 36.160937314 Calling exit ...