Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001644/0.001644, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001826/0.001826, allocations: 211 kB / 24.55 MB, free: 3.824 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.473/1.473, allocations: 230.7 MB / 258.3 MB, free: 7.738 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.2405/0.2405, allocations: 44.95 MB / 359.7 MB, free: 5.984 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.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.292e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.01554/0.01556, allocations: 12.19 MB / 0.5062 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.02603, allocations: 4.234 MB / 0.5104 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.02936, allocations: 91.56 kB / 0.5105 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005293/0.03465, allocations: 2.309 MB / 0.5127 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006196/0.04084, allocations: 1.958 MB / 0.5146 GB, free: 5.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.04267, allocations: 0.5887 MB / 0.5152 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007066/0.04974, allocations: 4.281 MB / 0.5194 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3005/0.3503, allocations: 2.3 MB / 0.5216 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.3535, allocations: 1.492 MB / 0.5231 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.3564, allocations: 1.746 MB / 0.5248 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004929/0.3569, allocations: 220.2 kB / 0.525 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3592, allocations: 0.8432 MB / 0.5258 GB, free: 15.46 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.005642/0.3649, allocations: 5.43 MB / 0.5311 GB, free: 13.54 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004107/0.369, allocations: 3.211 MB / 0.5343 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.37, allocations: 145.8 kB / 0.5344 GB, free: 11.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006192/0.3706, allocations: 124.2 kB / 0.5345 GB, free: 11.93 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: 1811 (633) * Number of variables: 1811 (508) Notification: Performance of [SIM] Bindings: time 0.01857/0.3892, allocations: 14.44 MB / 0.5486 GB, free: 4.887 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003387/0.3926, allocations: 1.861 MB / 0.5504 GB, free: 3.848 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.47/11.87, allocations: 3.85 GB / 4.4 GB, free: 10.96 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.8/20.66, allocations: 2.331 GB / 6.731 GB, free: 260.1 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.809/24.47, allocations: 0.8945 GB / 7.626 GB, free: 337.8 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 6.961/31.44, allocations: 2.331 GB / 9.957 GB, free: 18.56 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 1.121/32.56, allocations: 137.3 MB / 10.09 GB, free: 425.1 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 0.8408/33.4, allocations: 395.5 MB / 10.48 GB, free: 211.7 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.964/36.36, allocations: 1.155 GB / 11.63 GB, free: 0.6542 GB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1298/36.49, allocations: 70.33 MB / 11.7 GB, free: 0.6395 GB / 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_10 then ($DER.frame_a.y_label.n_y .* sqrt(frame_a.y_label.n_y * frame_a.y_label.n_y) .- (0.5 / (frame_a.y_label.n_y * frame_a.y_label.n_y) ^ 0.5) * (frame_a.y_label.n_y * $DER.frame_a.y_label.n_y + $DER.frame_a.y_label.n_y * frame_a.y_label.n_y) .* frame_a.y_label.n_y) / sqrt(frame_a.y_label.n_y * frame_a.y_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.y_label.n_y) to apply subscripts [3] " [Timeout remaining time 623] [Calling sys.exit(0), Time elapsed: 39.43736859498313] 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'] 36.64564080198761 36.653202078 36.280310036 Calling exit ...