Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001334, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 230.5 MB / 258.2 MB, free: 7.695 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2594/0.2594, allocations: 46.94 MB / 361.6 MB, free: 3.844 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.51e-05, allocations: 4.531 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01957/0.0196, allocations: 16.09 MB / 0.5131 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01312/0.03272, allocations: 5.124 MB / 0.5182 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.03714, allocations: 139.3 kB / 0.5183 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3046/0.3417, allocations: 4.641 MB / 0.5228 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.3519, allocations: 3.165 MB / 0.5259 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.3549, allocations: 0.9051 MB / 0.5268 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01641/0.3713, allocations: 8.837 MB / 0.5354 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009033/0.3803, allocations: 3.521 MB / 0.5389 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007234/0.3876, allocations: 2.642 MB / 0.5414 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008166/0.3957, allocations: 4.083 MB / 0.5454 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002053/0.3978, allocations: 340.3 kB / 0.5457 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004923/0.4027, allocations: 0.9869 MB / 0.5467 GB, free: 8.805 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.01212/0.4148, allocations: 9.288 MB / 0.5558 GB, free: 2.754 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.006326/0.4211, allocations: 5.633 MB / 0.5613 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002691/0.4238, allocations: 232 kB / 0.5615 GB, free: 13.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.001209/0.425, allocations: 175.9 kB / 0.5617 GB, free: 13.71 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.04291/0.468, allocations: 24.41 MB / 0.5855 GB, free: 5.867 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.005915/0.4739, allocations: 2.604 MB / 0.5881 GB, free: 3.332 MB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 19.53/20, allocations: 5.825 GB / 6.413 GB, free: 13.86 MB / 1.123 GB Notification: Performance of [SIM] Simplify 1: time 14.38/34.38, allocations: 3.592 GB / 10.01 GB, free: 210 MB / 1.498 GB Notification: Performance of [SIM] Alias: time 6.153/40.54, allocations: 1.344 GB / 11.35 GB, free: 334 MB / 1.498 GB Notification: Performance of [SIM] Simplify 2: time 12.54/53.08, allocations: 3.592 GB / 14.94 GB, free: 149 MB / 1.498 GB Notification: Performance of [SIM] Remove Stream: time 0.5205/53.6, allocations: 205.7 MB / 15.14 GB, free: 129.9 MB / 1.498 GB Notification: Performance of [SIM] Detect States: time 2.387/55.99, allocations: 0.5796 GB / 15.72 GB, free: 259.8 MB / 1.498 GB Notification: Performance of [SIM] Events: time 4.707/60.7, allocations: 1.791 GB / 17.51 GB, free: 302.3 MB / 1.498 GB Notification: Performance of [SIM] Partitioning: time 0.2351/60.93, allocations: 106.4 MB / 17.62 GB, free: 260.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 599] [Calling sys.exit(0), Time elapsed: 63.93721198703861] Failed to read output from testmodel.py, exit status != 0: ['time', 'gearConstraint.actuatedRevolute_b.phi', 'gearConstraint.actuatedRevolute_b.w', 'inertia2.phi', 'inertia2.w'] 61.10188092198223 61.110050166 60.682462388 Calling exit ...