Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 112.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 192.5 kB / 23.72 MB, free: 5.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 225.6 MB / 252.3 MB, free: 13.36 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.1999/0.1999, allocations: 44.93 MB / 352.4 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 180] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/1.942e-05, allocations: 2.281 kB / 495.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01535/0.01537, allocations: 13.71 MB / 0.4977 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.02537, allocations: 4.59 MB / 0.5022 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.02841, allocations: 91.75 kB / 0.5023 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007487/0.0359, allocations: 4.26 MB / 0.5064 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.04147, allocations: 2.238 MB / 0.5086 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.04343, allocations: 0.9398 MB / 0.5095 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008464/0.0519, allocations: 6.605 MB / 0.516 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2155/0.2674, allocations: 2.396 MB / 0.5183 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.2707, allocations: 1.907 MB / 0.5202 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.275, allocations: 3.256 MB / 0.5234 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006456/0.2757, allocations: 272.1 kB / 0.5236 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.2781, allocations: 1.07 MB / 0.5247 GB, free: 16.58 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.004822/0.2829, allocations: 5.777 MB / 0.5303 GB, free: 14.43 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.00273/0.2857, allocations: 3.295 MB / 0.5335 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.2868, allocations: 403.3 kB / 0.5339 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0006558/0.2875, allocations: 104.2 kB / 0.534 GB, free: 12.61 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: 1760 (616) * Number of variables: 1760 (533) Notification: Performance of Bindings: time 0.01133/0.2988, allocations: 12.12 MB / 0.5458 GB, free: 6.527 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0009831/0.2998, allocations: 1.332 MB / 0.5471 GB, free: 5.73 MB / 382.1 MB Notification: Performance of Early Inline: time 0.7985/1.098, allocations: 391.7 MB / 0.9297 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of Simplify 1: time 0.3702/1.469, allocations: 54.69 MB / 0.9831 GB, free: 138.8 MB / 0.6231 GB Notification: Performance of Alias: time 0.1679/1.636, allocations: 110.6 MB / 1.091 GB, free: 97.2 MB / 0.6231 GB Notification: Performance of Simplify 2: time 0.09251/1.729, allocations: 54.51 MB / 1.144 GB, free: 61.62 MB / 0.6231 GB Notification: Performance of Remove Stream: time 0.06667/1.796, allocations: 37.89 MB / 1.181 GB, free: 23.59 MB / 0.6231 GB Notification: Performance of Detect States: time 0.4044/2.2, allocations: 73.45 MB / 1.253 GB, free: 131.8 MB / 0.6231 GB Notification: Performance of Events: time 0.5351/2.735, allocations: 279.5 MB / 1.526 GB, free: 167.2 MB / 0.6387 GB Notification: Performance of Partitioning: time 0.01328/2.748, allocations: 10.44 MB / 1.536 GB, free: 160.8 MB / 0.6387 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (16|27) Unmatched Variables ***************************** [ALGB] (3) flow Real[3] world.frame_b.t slice: {0} [ALGB] (1) Real gearConstraint.actuatedRevolute_b.a (start = 0.0) [ALGB] (3) Real[3] cyl2.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] cyl1.a_0 (start = {0.0, 0.0, 0.0}) [ALGB] (3) Real[3] cyl2.body.a_0 (start = {0.0, 0.0, 0.0}) slice: {0} [ALGB] (3) flow Real[3] gearConstraint.fixedTranslation1.frame_a.t slice: {1} [DER-] (3) Real[3] $DER.gearConstraint.bearing.r_0 slice: {0, 1} [DER-] (1) Real $DER.gearConstraint.actuatedRevolute_a.w [ALGB] (3) flow Real[3] gearConstraint.fixedTranslation2.frame_b.t slice: {0, 1} [ALGB] (3) flow Real[3] gearConstraint.fixedTranslation1.frame_a.f slice: {1} [ALGB] (3) flow Real[3] world.frame_b.f slice: {0, 2} [DER-] (3) Real[3] $DER.gearConstraint.frame_a.r_0 [DER-] (1) Real $DER.inertia1.w [DER-] (1) Real $DER.gearConstraint.w_b [ALGB] (1) Real gearConstraint.totalPower [ALGB] (3) flow Real[3] gearConstraint.fixedTranslation2.frame_b.f (18|27) Unmatched Equations ***************************** [SCAL] (1) cyl2.r_0[1] = cyl2.body.r_0[1] ($RES_SIM_255) [SCAL] (1) cyl1.r_0[3] = cyl1.body.r_0[3] ($RES_SIM_294) [SCAL] (1) cyl1.r_0[2] = cyl1.body.r_0[2] ($RES_SIM_296) [SCAL] (1) cyl1.r_0[1] = cyl1.body.r_0[1] ($RES_SIM_298) [SCAL] (1) idealGear.phi_b = inertia2.phi - mounting1D.phi0 ($RES_SIM_12) [SCAL] (1) world.frame_b.R.w[1] = 0.0 ($RES_SIM_735) [ARRY] (3) cyl2.body.w_a = cyl2.body.frame_a.R.w ($RES_SIM_44) [FOR-] (3) ($RES_SIM_685) [----] for $f5 in 1:3 loop [----] [SCAL] (1) world.frame_b.r_0[$f5] = 0.0 ($RES_SIM_686) [----] end for; [SCAL] (1) gearConstraint.w_b = $DER.gearConstraint.phi_b ($RES_SIM_77) [SCAL] (1) torque1.frame_a.R.T[1, 1] = world.frame_b.R.T[1, 1] ($RES_SIM_207) [RECD] (12) gearConstraint.fixedTranslation2.frame_b.R = gearConstraint.fixedTranslation2.frame_a.R ($RES_SIM_81) slice: {4, 6, 9, 11} [ARRY] (3) gearConstraint.frame_a.r_0 = gearConstraint.fixedTranslation2.frame_a.r_0 + Modelica.Mechanics.MultiBody.Frames.resolve1(gearConstraint.fixedTranslation2.frame_a.R, {0.0, 0.0, 0.0}) ($RES_SIM_82) slice: {0, 2} [ARRY] (3) cyl2.r_0 = gearConstraint.fixedTranslation1.frame_a.r_0 + Modelica.Mechanics.MultiBody.Frames.resolve1(gearConstraint.fixedTranslation1.frame_a.R, {0.0, 0.0, 0.0}) ($RES_SIM_86) slice: {1, 2} [SCAL] (1) cyl1.frame_a.R.w[2] = cyl1.body.frame_a.R.w[2] ($RES_SIM_302) [SCAL] (1) cyl1.frame_a.R.w[1] = cyl1.body.frame_a.R.w[1] ($RES_SIM_304) [SCAL] (1) gearConstraint.idealGear.phi_b = gearConstraint.phi_b ($RES_SIM_90) [SCAL] (1) cyl2.r_0[3] = cyl2.body.r_0[3] ($RES_SIM_251) [SCAL] (1) cyl2.r_0[2] = cyl2.body.r_0[2] ($RES_SIM_253) " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.207945859991014]