Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBearingConversion.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.001694/0.001694, allocations: 112.6 kB / 21.86 MB, free: 76 kB / 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.00167/0.00167, allocations: 191.5 kB / 25.12 MB, free: 3.613 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.194/1.194, allocations: 225.6 MB / 253.8 MB, free: 13.11 MB / 206.1 MB
"
[Timeout remaining time 179]
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.1756/0.1756, allocations: 44.91 MB / 353.9 MB, free: 11.88 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.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|bearingFriction.phi|bearingFriction.w|gear2_1.phi_rel|gear2_1.w_rel|gear2_2.phi_rel|gear2_2.w_rel|inertia1.phi|inertia1.w|inertia11.phi|inertia11.w|inertia2.phi|inertia2.w|inertia20.phi|inertia20.w|inertia21.phi|inertia21.w|inertia3.phi|inertia3.w|inertia5.phi|inertia5.w|inertia7.phi|inertia7.w|inertia9.phi|inertia9.w|position.phi|position.w|position1.phi|position1.w|position2.phi|position2.w|position3.phi|position3.w|position4.phi|position4.w|position5.phi|position5.w|slidingMass.s|slidingMass.v|slidingMass1.s|slidingMass1.v|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward|gear2_1.lossyGear.mode|gear2_2.lossyGear.mode|lossyGear.mode|lossyGear1.mode",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBearingConversion")
translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|bearingFriction.phi|bearingFriction.w|gear2_1.phi_rel|gear2_1.w_rel|gear2_2.phi_rel|gear2_2.w_rel|inertia1.phi|inertia1.w|inertia11.phi|inertia11.w|inertia2.phi|inertia2.w|inertia20.phi|inertia20.w|inertia21.phi|inertia21.w|inertia3.phi|inertia3.w|inertia5.phi|inertia5.w|inertia7.phi|inertia7.w|inertia9.phi|inertia9.w|position.phi|position.w|position1.phi|position1.w|position2.phi|position2.w|position3.phi|position3.w|position4.phi|position4.w|position5.phi|position5.w|slidingMass.s|slidingMass.v|slidingMass1.s|slidingMass1.v|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward|gear2_1.lossyGear.mode|gear2_2.lossyGear.mode|lossyGear.mode|lossyGear1.mode",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestBearingConversion") [Timeout 660]
"Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.351e-05, allocations: 2.281 kB / 498 MB, free: 1.168 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBearingConversion): time 0.01207/0.01208, allocations: 11.91 MB / 0.498 GB, free: 5.211 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00677/0.01885, allocations: 3.972 MB / 0.5019 GB, free: 1.227 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.02031, allocations: 71.56 kB / 0.5019 GB, free: 1.156 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001051/0.02136, allocations: 495.1 kB / 0.5024 GB, free: 0.668 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002237/0.0236, allocations: 1.03 MB / 0.5034 GB, free: 15.63 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.02584, allocations: 1.353 MB / 0.5047 GB, free: 14.28 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004377/0.03021, allocations: 4.949 MB / 0.5096 GB, free: 9.316 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008641/0.03108, allocations: 0.6007 MB / 0.5102 GB, free: 8.664 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.03293, allocations: 1.881 MB / 0.512 GB, free: 6.777 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.03489, allocations: 2.036 MB / 0.514 GB, free: 4.734 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.03534, allocations: 368 kB / 0.5143 GB, free: 4.375 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.03604, allocations: 0.5076 MB / 0.5148 GB, free: 3.867 MB / 382.1 MB
Notification: Performance of combineBinaries: time 0.1496/0.1856, allocations: 6.631 MB / 0.5213 GB, free: 23.34 MB / 382.1 MB
Notification: Performance of replaceArrayConstructors: time 0.001821/0.1875, allocations: 3.697 MB / 0.5249 GB, free: 21.72 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0007858/0.1882, allocations: 0.5404 MB / 0.5254 GB, free: 21.61 MB / 382.1 MB
Notification: Performance of FrontEnd: time 0.0005996/0.1888, allocations: 135 kB / 0.5256 GB, free: 21.6 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: 719 (705)
 * Number of variables: 719 (701)
Notification: Performance of Bindings: time 0.009699/0.1985, allocations: 14.4 MB / 0.5396 GB, free: 15.02 MB / 382.1 MB
Notification: Performance of FunctionAlias: time 0.001616/0.2002, allocations: 1.973 MB / 0.5416 GB, free: 13.9 MB / 382.1 MB
Notification: Performance of Early Inline: time 0.007229/0.2074, allocations: 11.33 MB / 0.5526 GB, free: 7.691 MB / 382.1 MB
Notification: Performance of Simplify 1: time 0.001769/0.2092, allocations: 1.641 MB / 0.5542 GB, free: 6.68 MB / 382.1 MB
Notification: Performance of Alias: time 0.01328/0.2224, allocations: 14.31 MB / 0.5682 GB, free: 9.973 MB / 398.1 MB
Notification: Performance of Simplify 2: time 0.001422/0.2239, allocations: 1.027 MB / 0.5692 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of Remove Stream: time 0.0008543/0.2247, allocations: 0.7703 MB / 0.57 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of Detect States: time 0.002691/0.2274, allocations: 2.575 MB / 0.5725 GB, free: 5.512 MB / 398.1 MB
Notification: Performance of Events: time 0.002116/0.2295, allocations: 1.552 MB / 0.574 GB, free: 4.09 MB / 398.1 MB
Notification: Performance of Partitioning: time 0.003468/0.233, allocations: 3.155 MB / 0.5771 GB, free: 0.8398 MB / 398.1 MB
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.4851440750062466]
Failed to read output from testmodel.py, exit status != 0:
['time', 'bearingFriction.phi', 'bearingFriction.w', 'gear2_1.phi_rel', 'gear2_1.w_rel', 'gear2_2.phi_rel', 'gear2_2.w_rel', 'inertia1.phi', 'inertia1.w', 'inertia11.phi', 'inertia11.w', 'inertia2.phi', 'inertia2.w', 'inertia20.phi', 'inertia20.w', 'inertia21.phi', 'inertia21.w', 'inertia3.phi', 'inertia3.w', 'inertia5.phi', 'inertia5.w', 'inertia7.phi', 'inertia7.w', 'inertia9.phi', 'inertia9.w', 'position.phi', 'position.w', 'position1.phi', 'position1.w', 'position2.phi', 'position2.w', 'position3.phi', 'position3.w', 'position4.phi', 'position4.w', 'position5.phi', 'position5.w', 'slidingMass.s', 'slidingMass.v', 'slidingMass1.s', 'slidingMass1.v', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'bearingFriction1.mode', 'bearingFriction1.startBackward', 'bearingFriction1.startForward', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'brake1.mode', 'brake1.startBackward', 'brake1.startForward', 'gear2_1.lossyGear.mode', 'gear2_2.lossyGear.mode', 'lossyGear.mode', 'lossyGear1.mode']
0.2456629816442728 0.25851632999999996 0.06691411999999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff187075780>