Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 111.2 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 210.8 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.134/1.134, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1724/0.1724, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.544e-05, allocations: 2.281 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.009423/0.009446, allocations: 10.33 MB / 492.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.01538, allocations: 3.487 MB / 495.8 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.01671, allocations: 47.81 kB / 495.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01773, allocations: 396 kB / 496.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.0201, allocations: 0.9211 MB / 497.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.02207, allocations: 1.033 MB / 498.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.02567, allocations: 3.965 MB / 0.4904 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.0267, allocations: 0.9198 MB / 0.4913 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.02833, allocations: 1.46 MB / 0.4927 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.02975, allocations: 1.599 MB / 0.4942 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003702/0.03013, allocations: 303.9 kB / 0.4945 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.03077, allocations: 427.9 kB / 0.4949 GB, free: 11.1 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00262/0.0334, allocations: 4.516 MB / 0.4993 GB, free: 6.539 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001309/0.03472, allocations: 2.552 MB / 0.5018 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.0352, allocations: 462.5 kB / 0.5023 GB, free: 3.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0004191/0.03563, allocations: 103.8 kB / 0.5024 GB, free: 3.395 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: 586 (556) * Number of variables: 584 (571) Notification: Performance of Bindings: time 0.1625/0.1981, allocations: 12.32 MB / 0.5144 GB, free: 22.27 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.0008931/0.199, allocations: 1.29 MB / 0.5157 GB, free: 22.05 MB / 382.1 MB Notification: Performance of Early Inline: time 0.006115/0.2051, allocations: 8.335 MB / 0.5238 GB, free: 17.37 MB / 382.1 MB Notification: Performance of simplify1: time 0.0005512/0.2057, allocations: 0.5504 MB / 0.5243 GB, free: 17.13 MB / 382.1 MB Notification: Performance of Alias: time 0.01019/0.2159, allocations: 12.03 MB / 0.5361 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002901/0.2162, allocations: 404.9 kB / 0.5365 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Events: time 0.001527/0.2177, allocations: 1.921 MB / 0.5384 GB, free: 8.969 MB / 382.1 MB Error: Internal error NBVariable.getDerCref failed for elastoBacklash2.w_rel because of wrong variable kind.