Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00157/0.00157, 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.001832/0.001832, allocations: 212.5 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.478/1.478, 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.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.2351/0.2351, allocations: 44.94 MB / 359.7 MB, free: 6.012 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.545e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01358/0.01361, allocations: 10.72 MB / 0.5048 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009567/0.02317, allocations: 3.754 MB / 0.5085 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002363/0.02554, allocations: 71.75 kB / 0.5085 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00289/0.02843, allocations: 1.292 MB / 0.5098 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.03317, allocations: 1.779 MB / 0.5115 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.03446, allocations: 491 kB / 0.512 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.03982, allocations: 3.583 MB / 0.5155 GB, free: 4.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.04181, allocations: 1.371 MB / 0.5168 GB, free: 2.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.04385, allocations: 1.125 MB / 0.5179 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.04575, allocations: 1.401 MB / 0.5193 GB, free: 340 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.04604, allocations: 132 kB / 0.5194 GB, free: 208 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3016/0.3476, allocations: 0.7529 MB / 0.5202 GB, free: 18.48 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004717/0.3523, allocations: 4.352 MB / 0.5244 GB, free: 17.17 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00294/0.3553, allocations: 2.62 MB / 0.527 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006902/0.3559, allocations: 100.4 kB / 0.5271 GB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004006/0.3563, allocations: 94.5 kB / 0.5272 GB, free: 15.88 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.01413/0.3705, allocations: 11.27 MB / 0.5382 GB, free: 11.64 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002099/0.3726, allocations: 1.276 MB / 0.5394 GB, free: 10.97 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.36/11.73, allocations: 3.847 GB / 4.386 GB, free: 3.934 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.576/20.31, allocations: 2.331 GB / 6.717 GB, free: 263.5 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 4.155/24.47, allocations: 0.8925 GB / 7.609 GB, free: 341.5 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.11/31.58, allocations: 2.331 GB / 9.94 GB, free: 42.95 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3528/31.93, allocations: 136.8 MB / 10.07 GB, free: 33.22 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.612/33.54, allocations: 395.1 MB / 10.46 GB, free: 297.9 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.607/36.15, allocations: 1.155 GB / 11.61 GB, free: 215.8 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1575/36.31, allocations: 69.18 MB / 11.68 GB, free: 189.3 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 624] [Calling sys.exit(0), Time elapsed: 39.278180711960886] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute.phi', 'revolute.w'] 36.468165847007185 36.476620065 36.117696868 Calling exit ...