Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.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_4.0.0_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_4.0.0_ModelicaTest.Rotational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 108.9 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.1 kB / 19.39 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2289/0.2289, allocations: 44.2 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.614e-05, allocations: 5.234 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01108/0.01112, allocations: 9.606 MB / 480.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.01937, allocations: 3.073 MB / 483.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.02215, allocations: 39.88 kB / 483.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.02363, allocations: 364.3 kB / 484.3 MB, free: 84 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003853/0.0275, allocations: 0.7985 MB / 485.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.03028, allocations: 0.9661 MB / 486 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005511/0.0358, allocations: 3.715 MB / 489.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.03753, allocations: 0.868 MB / 490.6 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.04036, allocations: 1.363 MB / 492 MB, free: 8.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.04318, allocations: 1.502 MB / 493.5 MB, free: 6.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.04422, allocations: 280 kB / 493.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.04581, allocations: 395.8 kB / 494.1 MB, free: 6.137 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.004885/0.05071, allocations: 4.122 MB / 498.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.001562/0.05228, allocations: 2.325 MB / 0.4888 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.05307, allocations: 426.6 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0008221/0.0539, allocations: 103.7 kB / 0.4894 GB, free: 15.09 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: 547 (537) * Number of variables: 545 (535) Notification: Performance of Bindings: time 0.01079/0.06469, allocations: 11.22 MB / 0.5003 GB, free: 3.578 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.001518/0.06622, allocations: 1.625 MB / 0.5019 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Early Inline: time 0.2614/0.3277, allocations: 8.003 MB / 0.5097 GB, free: 28.75 MB / 382.1 MB Notification: Performance of simplify1: time 0.0007735/0.3285, allocations: 0.5161 MB / 0.5102 GB, free: 28.75 MB / 382.1 MB Notification: Performance of Alias: time 0.01561/0.3441, allocations: 11.35 MB / 0.5213 GB, free: 22.74 MB / 382.1 MB Notification: Performance of simplify2: time 0.0008638/0.345, allocations: 380.8 kB / 0.5217 GB, free: 22.61 MB / 382.1 MB Error: Internal error NBVariable.getDerCref failed for elastoBacklash2.w_rel because of wrong variable kind.