Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.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.001386/0.001386, 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.001478/0.001478, allocations: 212.5 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.519/1.519, allocations: 230.7 MB / 258.3 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2475/0.2475, allocations: 46.97 MB / 361.7 MB, free: 3.984 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.596e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01365/0.01367, allocations: 10.72 MB / 0.5079 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.02401, allocations: 3.754 MB / 0.5115 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.02662, allocations: 71.75 kB / 0.5116 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.02988, allocations: 1.292 MB / 0.5129 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005174/0.03505, allocations: 1.782 MB / 0.5146 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.03657, allocations: 499 kB / 0.5151 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005745/0.04232, allocations: 3.578 MB / 0.5186 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002351/0.04467, allocations: 1.367 MB / 0.5199 GB, free: 40 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2933/0.3379, allocations: 1.117 MB / 0.521 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.3413, allocations: 1.403 MB / 0.5224 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.3419, allocations: 130.8 kB / 0.5225 GB, free: 16.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.3442, allocations: 0.7564 MB / 0.5232 GB, free: 16.29 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004496/0.3487, allocations: 4.349 MB / 0.5275 GB, free: 14.73 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003229/0.352, allocations: 2.624 MB / 0.5301 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008537/0.3528, allocations: 99.66 kB / 0.5301 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004404/0.3533, allocations: 98.72 kB / 0.5302 GB, free: 13.44 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: 1528 (458) * Number of variables: 1528 (419) Notification: Performance of [SIM] Bindings: time 0.01509/0.3683, allocations: 11.26 MB / 0.5412 GB, free: 8.762 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001979/0.3703, allocations: 1.286 MB / 0.5425 GB, free: 8.09 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.27/11.64, allocations: 3.847 GB / 4.389 GB, free: 8.078 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.83/20.47, allocations: 2.331 GB / 6.72 GB, free: 276.5 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 4.076/24.54, allocations: 0.8924 GB / 7.612 GB, free: 348.8 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.207/31.75, allocations: 2.331 GB / 9.943 GB, free: 47.85 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3552/32.11, allocations: 136.8 MB / 10.08 GB, free: 37.83 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.671/33.78, allocations: 395.1 MB / 10.46 GB, free: 302 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.615/36.39, allocations: 1.155 GB / 11.62 GB, free: 239.5 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1492/36.54, allocations: 69.19 MB / 11.68 GB, free: 213 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_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.5501005469705] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 36.69496297603473 36.703738686 36.347898742 Calling exit ...