Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PistonEngine_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.001676/0.001676, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001869/0.001869, allocations: 215.5 kB / 23.07 MB, free: 4.844 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.741/1.741, allocations: 230.7 MB / 256.9 MB, free: 7.75 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.04913/0.04913, allocations: 9.242 MB / 322.5 MB, free: 9.793 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.PistonEngine_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine_DynamicStateSelection") translateModel(PlanarMechanics.Examples.PistonEngine_DynamicStateSelection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PistonEngine_DynamicStateSelection") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.335e-05, allocations: 4.391 kB / 449 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PistonEngine_DynamicStateSelection): time 0.0126/0.01263, allocations: 8.501 MB / 457.5 MB, free: 5.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008428/0.02106, allocations: 2.756 MB / 460.2 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.02303, allocations: 47.81 kB / 460.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.02444, allocations: 445 kB / 460.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.02998, allocations: 1.572 MB / 462.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.03088, allocations: 183.7 kB / 462.5 MB, free: 452 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.03669, allocations: 3.022 MB / 465.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.03841, allocations: 0.7001 MB / 466.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.04044, allocations: 1.007 MB / 467.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.04274, allocations: 1.159 MB / 468.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.04313, allocations: 136 kB / 468.5 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.04488, allocations: 0.5694 MB / 469.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00543/0.05031, allocations: 4.492 MB / 473.6 MB, free: 5.273 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.00404/0.05435, allocations: 2.831 MB / 476.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007932/0.05514, allocations: 116 kB / 476.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0006499/0.05579, allocations: 158.8 kB / 476.7 MB, free: 2.141 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 (463) * Number of variables: 1302 (495) Notification: Performance of [SIM] Bindings: time 0.01712/0.07291, allocations: 11.11 MB / 487.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002401/0.07531, allocations: 1.266 MB / 489 MB, free: 5.434 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 8.099/8.175, allocations: 2.321 GB / 2.799 GB, free: 8.992 MB / 0.67 GB Notification: Performance of [SIM] Simplify 1: time 6.619/14.79, allocations: 1.662 GB / 4.461 GB, free: 245.9 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 2.042/16.84, allocations: 0.5289 GB / 4.99 GB, free: 204.5 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.056/21.89, allocations: 1.662 GB / 6.651 GB, free: 93.83 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.2113/22.1, allocations: 78.49 MB / 6.728 GB, free: 89.63 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 1.132/23.24, allocations: 227.7 MB / 6.95 GB, free: 280.5 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 2.033/25.27, allocations: 0.803 GB / 7.753 GB, free: 267.2 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.09519/25.36, allocations: 38.96 MB / 7.791 GB, free: 250 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_18 then ($DER.planarWorld.coordinateSystem.z_label.n_y .* sqrt(planarWorld.coordinateSystem.z_label.n_y * planarWorld.coordinateSystem.z_label.n_y) .- (0.5 / (planarWorld.coordinateSystem.z_label.n_y * planarWorld.coordinateSystem.z_label.n_y) ^ 0.5) * (planarWorld.coordinateSystem.z_label.n_y * $DER.planarWorld.coordinateSystem.z_label.n_y + $DER.planarWorld.coordinateSystem.z_label.n_y * planarWorld.coordinateSystem.z_label.n_y) .* planarWorld.coordinateSystem.z_label.n_y) / sqrt(planarWorld.coordinateSystem.z_label.n_y * planarWorld.coordinateSystem.z_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.planarWorld.coordinateSystem.z_label.n_y) to apply subscripts [3] " [Timeout remaining time 635] [Calling sys.exit(0), Time elapsed: 28.565975429024547] Failed to read output from testmodel.py, exit status != 0: 25.469870062021073 25.478837232 25.420425526 Calling exit ...