Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint.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.001535/0.001535, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001712/0.001712, allocations: 207.2 kB / 24.55 MB, free: 3.75 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.483/1.483, allocations: 230.7 MB / 258.3 MB, free: 7.723 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.2308/0.2308, allocations: 44.94 MB / 359.7 MB, free: 6.016 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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.716e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01972/0.01975, allocations: 16.11 MB / 0.5101 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.03383, allocations: 5.116 MB / 0.515 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004454/0.03828, allocations: 139.4 kB / 0.5152 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.309/0.3473, allocations: 4.652 MB / 0.5197 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.3611, allocations: 3.154 MB / 0.5228 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.365, allocations: 0.9121 MB / 0.5237 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0163/0.3813, allocations: 8.836 MB / 0.5323 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/0.388, allocations: 3.525 MB / 0.5358 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006624/0.3947, allocations: 2.642 MB / 0.5383 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008616/0.4033, allocations: 4.076 MB / 0.5423 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.405, allocations: 340.9 kB / 0.5427 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/0.4099, allocations: 0.9903 MB / 0.5436 GB, free: 11.67 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0103/0.4202, allocations: 9.29 MB / 0.5527 GB, free: 5.617 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.005963/0.4262, allocations: 5.624 MB / 0.5582 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.4286, allocations: 235.3 kB / 0.5584 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0009265/0.4295, allocations: 184.8 kB / 0.5586 GB, free: 1.77 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: 2997 (940) * Number of variables: 2997 (852) Notification: Performance of [SIM] Bindings: time 0.03682/0.4663, allocations: 24.41 MB / 0.5824 GB, free: 10.39 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004963/0.4713, allocations: 2.6 MB / 0.585 GB, free: 7.863 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 18.23/18.7, allocations: 5.825 GB / 6.41 GB, free: 10.27 MB / 1.123 GB Notification: Performance of [SIM] Simplify 1: time 14.12/32.82, allocations: 3.592 GB / 10 GB, free: 160.7 MB / 1.498 GB Notification: Performance of [SIM] Alias: time 6.015/38.84, allocations: 1.344 GB / 11.35 GB, free: 313.7 MB / 1.498 GB Notification: Performance of [SIM] Simplify 2: time 12.75/51.59, allocations: 3.592 GB / 14.94 GB, free: 243.9 MB / 1.498 GB Notification: Performance of [SIM] Remove Stream: time 0.5513/52.14, allocations: 205.7 MB / 15.14 GB, free: 212.9 MB / 1.498 GB Notification: Performance of [SIM] Detect States: time 2.395/54.53, allocations: 0.5796 GB / 15.72 GB, free: 299.3 MB / 1.498 GB Notification: Performance of [SIM] Events: time 4.724/59.26, allocations: 1.791 GB / 17.51 GB, free: 186.4 MB / 1.498 GB Notification: Performance of [SIM] Partitioning: time 0.2338/59.49, allocations: 106.4 MB / 17.61 GB, free: 144.7 MB / 1.498 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_53 then ($DER.fixedFrame1.y_label.n_y .* sqrt(fixedFrame1.y_label.n_y * fixedFrame1.y_label.n_y) .- (0.5 / (fixedFrame1.y_label.n_y * fixedFrame1.y_label.n_y) ^ 0.5) * (fixedFrame1.y_label.n_y * $DER.fixedFrame1.y_label.n_y + $DER.fixedFrame1.y_label.n_y * fixedFrame1.y_label.n_y) .* fixedFrame1.y_label.n_y) / sqrt(fixedFrame1.y_label.n_y * fixedFrame1.y_label.n_y) ^ 2.0 else 4.503599627370496e13 .* $DER.fixedFrame1.y_label.n_y) to apply subscripts [3] " [Timeout remaining time 600] [Calling sys.exit(0), Time elapsed: 62.97831361700082] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 60.182246647018474 60.195245509 59.762486362 Calling exit ...