Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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.001314/0.001314, 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.001442/0.001442, 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.472/1.472, allocations: 230.6 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.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.2474/0.2474, allocations: 46.97 MB / 361.7 MB, free: 3.992 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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.749e-05, allocations: 6.281 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02043/0.02046, allocations: 15.69 MB / 0.5127 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.0339, allocations: 5.105 MB / 0.5177 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.03797, allocations: 131.4 kB / 0.5179 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2709/0.3089, allocations: 2.974 MB / 0.5208 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008168/0.3171, allocations: 2.632 MB / 0.5233 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002722/0.3198, allocations: 1.02 MB / 0.5243 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01328/0.3331, allocations: 8.041 MB / 0.5322 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004682/0.3378, allocations: 2.784 MB / 0.5349 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004616/0.3424, allocations: 2.158 MB / 0.537 GB, free: 13.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.348, allocations: 2.967 MB / 0.5399 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.349, allocations: 279.9 kB / 0.5402 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.3521, allocations: 0.9181 MB / 0.5411 GB, free: 12.46 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.006187/0.3583, allocations: 7.39 MB / 0.5483 GB, free: 7.645 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.003686/0.362, allocations: 4.428 MB / 0.5526 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.363, allocations: 199.2 kB / 0.5528 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0005361/0.3636, allocations: 133.6 kB / 0.5529 GB, free: 4.629 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: 2169 (731) * Number of variables: 2169 (651) Notification: Performance of [SIM] Bindings: time 0.02067/0.3842, allocations: 19.1 MB / 0.5716 GB, free: 3.781 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003141/0.3874, allocations: 2.204 MB / 0.5737 GB, free: 1.609 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 11.6/11.99, allocations: 3.852 GB / 4.426 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of [SIM] Simplify 1: time 8.743/20.73, allocations: 2.332 GB / 6.757 GB, free: 252 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 4.066/24.8, allocations: 0.8976 GB / 7.655 GB, free: 337.3 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 8.137/32.94, allocations: 2.331 GB / 9.986 GB, free: 313.6 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3825/33.32, allocations: 137.2 MB / 10.12 GB, free: 305.3 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.59/34.91, allocations: 396 MB / 10.51 GB, free: 379.7 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.47/37.38, allocations: 1.155 GB / 11.66 GB, free: 414.5 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1695/37.55, allocations: 71.11 MB / 11.73 GB, free: 387 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_17 then ($DER.frame_a.z_label.n_y .* sqrt(frame_a.z_label.n_y * frame_a.z_label.n_y) .- (0.5 / (frame_a.z_label.n_y * frame_a.z_label.n_y) ^ 0.5) * (frame_a.z_label.n_y * $DER.frame_a.z_label.n_y + $DER.frame_a.z_label.n_y * frame_a.z_label.n_y) .* frame_a.z_label.n_y) / sqrt(frame_a.z_label.n_y * frame_a.z_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.frame_a.z_label.n_y) to apply subscripts [3] " [Timeout remaining time 622] [Calling sys.exit(0), Time elapsed: 40.44426333298907] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w', 'revolute1.phi', 'revolute2.phi', 'revolute2.w', 'revolute3.phi', 'revolute3.w'] 37.72365866799373 37.731144227 37.365132448 Calling exit ...