Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001688/0.001688, 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.001942/0.001942, allocations: 211.2 kB / 24.55 MB, free: 3.746 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2406/0.2406, allocations: 46.97 MB / 361.7 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.561e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02021/0.02023, allocations: 16.1 MB / 0.5131 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.03468, allocations: 5.124 MB / 0.5181 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004754/0.03943, allocations: 135.4 kB / 0.5183 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3176/0.357, allocations: 4.64 MB / 0.5228 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.3674, allocations: 3.162 MB / 0.5259 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.3703, allocations: 0.9117 MB / 0.5268 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01552/0.3858, allocations: 8.841 MB / 0.5354 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007385/0.3932, allocations: 3.525 MB / 0.5389 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006198/0.3994, allocations: 2.635 MB / 0.5414 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00796/0.4073, allocations: 4.076 MB / 0.5454 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.4091, allocations: 346.3 kB / 0.5457 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004574/0.4137, allocations: 0.9865 MB / 0.5467 GB, free: 8.977 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.01043/0.4241, allocations: 9.289 MB / 0.5558 GB, free: 2.926 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006658/0.4307, allocations: 5.632 MB / 0.5613 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.4329, allocations: 240 kB / 0.5615 GB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.001114/0.434, allocations: 170.9 kB / 0.5617 GB, free: 13.98 MB / 398.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.03465/0.4687, allocations: 24.41 MB / 0.5855 GB, free: 6.152 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005601/0.4743, allocations: 2.606 MB / 0.588 GB, free: 3.617 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 18.32/18.8, allocations: 5.825 GB / 6.413 GB, free: 9.785 MB / 1.123 GB Notification: Performance of [SIM] Simplify 1: time 13.92/32.72, allocations: 3.592 GB / 10.01 GB, free: 177.4 MB / 1.498 GB Notification: Performance of [SIM] Alias: time 5.702/38.42, allocations: 1.344 GB / 11.35 GB, free: 316.4 MB / 1.498 GB Notification: Performance of [SIM] Simplify 2: time 11.91/50.33, allocations: 3.592 GB / 14.94 GB, free: 203 MB / 1.498 GB Notification: Performance of [SIM] Remove Stream: time 0.528/50.86, allocations: 205.7 MB / 15.14 GB, free: 176.8 MB / 1.498 GB Notification: Performance of [SIM] Detect States: time 2.257/53.11, allocations: 0.5796 GB / 15.72 GB, free: 281.7 MB / 1.498 GB Notification: Performance of [SIM] Events: time 4.412/57.53, allocations: 1.791 GB / 17.51 GB, free: 182.7 MB / 1.498 GB Notification: Performance of [SIM] Partitioning: time 0.2414/57.77, allocations: 106.4 MB / 17.62 GB, free: 141.1 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 602] [Calling sys.exit(0), Time elapsed: 61.212716727051884] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 58.38339494599495 58.39493157 57.958205815 Calling exit ...