Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear.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.001541/0.001541, allocations: 104.3 kB / 19.76 MB, free: 1.898 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.001833/0.001833, allocations: 217.3 kB / 23.07 MB, free: 4.988 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.613/1.613, allocations: 230.7 MB / 256.9 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04799/0.04799, allocations: 9.24 MB / 322.5 MB, free: 9.922 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.8e-05, allocations: 2.281 kB / 449 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.GearComponents.Examples.PlanetaryGear): time 0.02444/0.02447, allocations: 15.97 MB / 465 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.04095, allocations: 5.397 MB / 470.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004983/0.04593, allocations: 103.6 kB / 470.5 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005824/0.05175, allocations: 1.75 MB / 472.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01118/0.06293, allocations: 3.065 MB / 475.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.06583, allocations: 0.7177 MB / 476 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01338/0.0792, allocations: 7.251 MB / 483.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005493/0.0847, allocations: 2.783 MB / 486 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.08925, allocations: 2.078 MB / 488.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005291/0.09454, allocations: 2.482 MB / 490.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.09579, allocations: 324 kB / 490.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.09947, allocations: 1.073 MB / 492 MB, free: 2.965 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01095/0.1104, allocations: 8.714 MB / 0.489 GB, free: 10.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.007466/0.1179, allocations: 5.408 MB / 0.4942 GB, free: 4.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.1201, allocations: 228 kB / 0.4945 GB, free: 4.484 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.001206/0.1213, allocations: 242.1 kB / 0.4947 GB, free: 4.246 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2454 (865) * Number of variables: 2454 (890) Notification: Performance of [SIM] Bindings: time 0.3577/0.479, allocations: 21.73 MB / 0.5159 GB, free: 33.07 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005458/0.4844, allocations: 2.527 MB / 0.5184 GB, free: 32.88 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 14.68/15.16, allocations: 4.531 GB / 5.049 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of [SIM] Simplify 1: time 12.86/28.02, allocations: 3.089 GB / 8.138 GB, free: 27.86 MB / 1.217 GB Notification: Performance of [SIM] Alias: time 4.624/32.65, allocations: 1.057 GB / 9.195 GB, free: 199.1 MB / 1.217 GB Notification: Performance of [SIM] Simplify 2: time 10.77/43.42, allocations: 3.089 GB / 12.28 GB, free: 374.6 MB / 1.217 GB Notification: Performance of [SIM] Remove Stream: time 0.3911/43.81, allocations: 157.1 MB / 12.44 GB, free: 362.4 MB / 1.217 GB Notification: Performance of [SIM] Detect States: time 1.618/45.43, allocations: 455.7 MB / 12.88 GB, free: 353.8 MB / 1.217 GB Notification: Performance of [SIM] Events: time 3.276/48.7, allocations: 1.536 GB / 14.42 GB, free: 392.4 MB / 1.217 GB Notification: Performance of [SIM] Partitioning: time 0.1404/48.84, allocations: 79.14 MB / 14.5 GB, free: 356.9 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.planetary.planarWorld.coordinateSystem.x_label.n_y .* sqrt(planetary.planarWorld.coordinateSystem.x_label.n_y * planetary.planarWorld.coordinateSystem.x_label.n_y) .- (0.5 / (planetary.planarWorld.coordinateSystem.x_label.n_y * planetary.planarWorld.coordinateSystem.x_label.n_y) ^ 0.5) * (planetary.planarWorld.coordinateSystem.x_label.n_y * $DER.planetary.planarWorld.coordinateSystem.x_label.n_y + $DER.planetary.planarWorld.coordinateSystem.x_label.n_y * planetary.planarWorld.coordinateSystem.x_label.n_y) .* planetary.planarWorld.coordinateSystem.x_label.n_y) / sqrt(planetary.planarWorld.coordinateSystem.x_label.n_y * planetary.planarWorld.coordinateSystem.x_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.planetary.planarWorld.coordinateSystem.x_label.n_y) to apply subscripts [3] " [Timeout remaining time 611] [Calling sys.exit(0), Time elapsed: 51.783669296011794] Failed to read output from testmodel.py, exit status != 0: 48.95303027704358 48.961614906 48.837401586 Calling exit ...