Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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.0017/0.0017, 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.002145/0.002145, 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.503/1.503, allocations: 230.7 MB / 258.3 MB, free: 7.734 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.2162/0.2162, allocations: 44.94 MB / 359.7 MB, free: 6.004 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.533e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.0172/0.01723, allocations: 13.01 MB / 0.507 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.02877, allocations: 4.227 MB / 0.5112 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.03197, allocations: 91.62 kB / 0.5113 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004943/0.03692, allocations: 2.188 MB / 0.5134 GB, free: 6.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006066/0.04298, allocations: 2.043 MB / 0.5154 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.04485, allocations: 0.6239 MB / 0.516 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3028/0.3476, allocations: 4.46 MB / 0.5204 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004442/0.3521, allocations: 1.913 MB / 0.5222 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003514/0.3556, allocations: 1.509 MB / 0.5237 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004194/0.3598, allocations: 1.785 MB / 0.5254 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007816/0.3606, allocations: 190 kB / 0.5256 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.3637, allocations: 0.8103 MB / 0.5264 GB, free: 15.33 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.007664/0.3713, allocations: 5.529 MB / 0.5318 GB, free: 13.32 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.004889/0.3762, allocations: 3.377 MB / 0.5351 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.3775, allocations: 135.4 kB / 0.5352 GB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006229/0.3781, allocations: 120.7 kB / 0.5353 GB, free: 11.62 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: 1828 (583) * Number of variables: 1828 (537) Notification: Performance of [SIM] Bindings: time 0.02018/0.3983, allocations: 14.63 MB / 0.5496 GB, free: 4.316 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001899/0.4002, allocations: 1.611 MB / 0.5512 GB, free: 3.469 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 11.75/12.15, allocations: 3.848 GB / 4.4 GB, free: 11.56 MB / 0.92 GB Notification: Performance of [SIM] Simplify 1: time 8.907/21.06, allocations: 2.331 GB / 6.731 GB, free: 256.4 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 3.736/24.79, allocations: 0.8942 GB / 7.625 GB, free: 340.5 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 7.171/31.97, allocations: 2.331 GB / 9.956 GB, free: 37.51 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3477/32.31, allocations: 137 MB / 10.09 GB, free: 27.7 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.604/33.92, allocations: 395.5 MB / 10.48 GB, free: 296.8 MB / 1.217 GB Notification: Performance of [SIM] Events: time 2.575/36.49, allocations: 1.155 GB / 11.63 GB, free: 202.2 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1475/36.64, allocations: 70.13 MB / 11.7 GB, free: 175 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 623] [Calling sys.exit(0), Time elapsed: 39.52004793001106] Failed to read output from testmodel.py, exit status != 0: ['time', 'planar.phi', 'planar.s_x', 'planar.s_y', 'planar.v_x', 'planar.v_y', 'planar.w'] 36.799771548016 36.808471936 36.427882089 Calling exit ...