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.0012/0.0012, allocations: 109.1 kB / 18.41 MB, free: 4.68 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.001149/0.001149, allocations: 192.6 kB / 19.35 MB, free: 3.75 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.244/1.244, allocations: 222.9 MB / 243 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.1927/0.1927, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.225e-05, allocations: 2.281 kB / 409.8 MB, free: 26.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.007135/0.007172, allocations: 9.595 MB / 419.4 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004813/0.01201, allocations: 3.069 MB / 422.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008626/0.01289, allocations: 47.75 kB / 422.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006024/0.0135, allocations: 360.4 kB / 422.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.01502, allocations: 0.7878 MB / 423.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.01684, allocations: 0.9555 MB / 424.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002692/0.01954, allocations: 3.708 MB / 428.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/0.0204, allocations: 0.8719 MB / 429.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.02178, allocations: 1.336 MB / 430.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.02281, allocations: 1.502 MB / 432 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.02313, allocations: 280 kB / 432.3 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.02363, allocations: 399.8 kB / 432.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001989/0.02563, allocations: 4.125 MB / 436.8 MB, free: 15.41 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001549/0.02719, allocations: 2.321 MB / 439.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006003/0.02779, allocations: 426.6 kB / 439.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003346/0.02814, allocations: 99.8 kB / 439.7 MB, free: 12.54 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 (520) * Number of variables: 545 (535) Notification: Performance of Bindings: time 0.008546/0.03669, allocations: 11.13 MB / 450.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001338/0.03804, allocations: 1.605 MB / 452.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Early Inline: time 0.006788/0.04484, allocations: 7.913 MB / 460.3 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simplify1: time 0.0004732/0.04532, allocations: 0.5149 MB / 460.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of Alias: time 0.0107/0.05604, allocations: 10.14 MB / 471 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simplify2: time 0.0004954/0.05656, allocations: 371.4 kB / 471.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Events: time 0.001995/0.05856, allocations: 1.763 MB / 473.1 MB, free: 9.789 MB / 350.1 MB Error: Internal error NBVariable.getDerCref failed for elastoBacklash2.w_rel because of wrong variable kind.