Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection.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.002048/0.002048, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.005257/0.005257, allocations: 216.5 kB / 23.06 MB, free: 4.984 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.984/1.984, allocations: 230.6 MB / 256.9 MB, free: 7.781 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.05256/0.05256, allocations: 9.245 MB / 322.5 MB, free: 9.832 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.Examples.KinematicLoop_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") translateModel(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.595e-05/4.595e-05, allocations: 6 kB / 449 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop_DynamicStateSelection): time 0.01436/0.0144, allocations: 9.149 MB / 458.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009253/0.02366, allocations: 2.877 MB / 461 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.02606, allocations: 51.81 kB / 461.1 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.02763, allocations: 468.8 kB / 461.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.03357, allocations: 1.63 MB / 463.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.03445, allocations: 215.6 kB / 463.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006206/0.04065, allocations: 3.235 MB / 466.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.04261, allocations: 0.7802 MB / 467.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.0451, allocations: 1.07 MB / 468.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.04788, allocations: 1.232 MB / 469.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.04836, allocations: 152 kB / 469.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002181/0.05054, allocations: 0.5889 MB / 470.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00611/0.05665, allocations: 4.817 MB / 475.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.004796/0.06145, allocations: 3.024 MB / 478.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.06246, allocations: 132 kB / 478.4 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0009184/0.06338, allocations: 170.7 kB / 478.6 MB, free: 348 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1368 (508) * Number of variables: 1368 (539) Notification: Performance of [SIM] Bindings: time 0.01995/0.08333, allocations: 11.91 MB / 490.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002913/0.08624, allocations: 1.451 MB / 491.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 9.155/9.241, allocations: 2.322 GB / 2.802 GB, free: 4.418 MB / 0.67 GB Notification: Performance of [SIM] Simplify 1: time 6.177/15.42, allocations: 1.662 GB / 4.464 GB, free: 54.13 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 2.687/18.1, allocations: 0.5299 GB / 4.994 GB, free: 283.9 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.016/23.12, allocations: 1.662 GB / 6.656 GB, free: 186.5 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.2054/23.33, allocations: 78.51 MB / 6.733 GB, free: 181.8 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 1.047/24.37, allocations: 227.8 MB / 6.955 GB, free: 329 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.868/26.24, allocations: 0.803 GB / 7.758 GB, free: 428.9 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.08614/26.33, allocations: 39.15 MB / 7.796 GB, free: 416.8 MB / 0.9044 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_11 then ($DER.planarWorld.coordinateSystem.y_label.n_y .* sqrt(planarWorld.coordinateSystem.y_label.n_y * planarWorld.coordinateSystem.y_label.n_y) .- (0.5 / (planarWorld.coordinateSystem.y_label.n_y * planarWorld.coordinateSystem.y_label.n_y) ^ 0.5) * (planarWorld.coordinateSystem.y_label.n_y * $DER.planarWorld.coordinateSystem.y_label.n_y + $DER.planarWorld.coordinateSystem.y_label.n_y * planarWorld.coordinateSystem.y_label.n_y) .* planarWorld.coordinateSystem.y_label.n_y) / sqrt(planarWorld.coordinateSystem.y_label.n_y * planarWorld.coordinateSystem.y_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.planarWorld.coordinateSystem.y_label.n_y) to apply subscripts [3] " [Timeout remaining time 634] [Calling sys.exit(0), Time elapsed: 29.893396284023765] Failed to read output from testmodel.py, exit status != 0: 26.438510372012388 26.447414476 26.381341423 Calling exit ...