Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 113.1 kB / 21.86 MB, free: 80 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 215 kB / 25.14 MB, free: 3.598 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.273/1.273, allocations: 230.4 MB / 258.7 MB, free: 7.938 MB / 206.1 MB
"
[Timeout remaining time 179]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches")
translateModel(Modelica.Mechanics.Rotational.Examples.CoupledClutches,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|J1.phi|J1.w|clutch1.phi_rel|clutch1.w_rel|clutch2.phi_rel|clutch2.w_rel|clutch3.phi_rel|clutch3.w_rel|clutch1.mode|clutch1.startBackward|clutch1.startForward|clutch2.mode|clutch2.startBackward|clutch2.startForward|clutch3.mode|clutch3.startBackward|clutch3.startForward",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.CoupledClutches") [Timeout 660]
"Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.347e-05, allocations: 2.281 kB / 379.3 MB, free: 2.887 MB / 302.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.133/0.133, allocations: 3.255 MB / 382.6 MB, free: 13 MB / 302.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001694/0.1347, allocations: 1.269 MB / 383.8 MB, free: 12.91 MB / 302.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1348, allocations: 10.34 kB / 383.9 MB, free: 12.91 MB / 302.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1351, allocations: 98.91 kB / 384 MB, free: 12.86 MB / 302.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1354, allocations: 224.7 kB / 384.2 MB, free: 12.77 MB / 302.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1358, allocations: 271.8 kB / 384.4 MB, free: 12.76 MB / 302.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006922/0.1365, allocations: 0.9444 MB / 385.4 MB, free: 12.62 MB / 302.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1367, allocations: 101.7 kB / 385.5 MB, free: 12.59 MB / 302.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1371, allocations: 413.7 kB / 385.9 MB, free: 12.43 MB / 302.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.1375, allocations: 406.2 kB / 386.3 MB, free: 12.26 MB / 302.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.1376, allocations: 63 kB / 386.3 MB, free: 12.26 MB / 302.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.1378, allocations: 123.8 kB / 386.5 MB, free: 12.24 MB / 302.1 MB
Notification: Performance of combineBinaries: time 0.0006766/0.1384, allocations: 1.265 MB / 387.7 MB, free: 11.45 MB / 302.1 MB
Notification: Performance of replaceArrayConstructors: time 0.0002331/0.1387, allocations: 0.6947 MB / 388.4 MB, free: 10.99 MB / 302.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.1388, allocations: 94.91 kB / 388.5 MB, free: 10.94 MB / 302.1 MB
Notification: Performance of FrontEnd: time 5.259e-05/0.1388, allocations: 27.56 kB / 388.5 MB, free: 10.94 MB / 302.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 112 (109)
 * Number of variables: 112 (109)
Notification: Performance of Bindings: time 0.001682/0.1405, allocations: 2.688 MB / 391.2 MB, free: 9.18 MB / 302.1 MB
Notification: Performance of FunctionAlias: time 0.000347/0.1408, allocations: 429.6 kB / 391.7 MB, free: 8.922 MB / 302.1 MB
Notification: Performance of Early Inline: time 0.001492/0.1423, allocations: 2.063 MB / 393.7 MB, free: 7.777 MB / 302.1 MB
Notification: Performance of Simplify 1: time 0.0003205/0.1427, allocations: 309 kB / 394 MB, free: 7.582 MB / 302.1 MB
Notification: Performance of Alias: time 0.002168/0.1448, allocations: 2.237 MB / 396.3 MB, free: 6.23 MB / 302.1 MB
Notification: Performance of Simplify 2: time 0.0002398/0.1451, allocations: 260.8 kB / 396.5 MB, free: 6.047 MB / 302.1 MB
Notification: Performance of Remove Stream: time 0.0001341/0.1452, allocations: 184.4 kB / 396.7 MB, free: 5.906 MB / 302.1 MB
Notification: Performance of Detect States: time 0.0004865/0.1457, allocations: 0.5674 MB / 397.3 MB, free: 5.492 MB / 302.1 MB
Notification: Performance of Events: time 0.0005424/0.1462, allocations: 476.3 kB / 397.7 MB, free: 5.199 MB / 302.1 MB
Notification: Performance of Partitioning: time 0.0006348/0.1469, allocations: 0.6519 MB / 398.4 MB, free: 4.844 MB / 302.1 MB
Notification: Performance of Causalize: time 0.005335/0.1522, allocations: 5.071 MB / 403.4 MB, free: 2.961 MB / 302.1 MB
Notification: Performance of After Index Reduction Inline: time 0.001099/0.1533, allocations: 1.835 MB / 405.3 MB, free: 1.613 MB / 302.1 MB
Notification: Performance of Simplify: time 0.002238/0.1555, allocations: 0.939 MB / 406.2 MB, free: 0.8867 MB / 302.1 MB
Notification: Performance of Inline: time 0.00214/0.1577, allocations: 2.877 MB / 409.1 MB, free: 14.69 MB / 318.1 MB
Notification: Performance of Partitioning: time 8.844e-05/0.1578, allocations: 59.83 kB / 409.2 MB, free: 14.65 MB / 318.1 MB
Notification: Performance of Cleanup: time 0.0003526/0.1581, allocations: 427.7 kB / 409.6 MB, free: 14.28 MB / 318.1 MB
Notification: Performance of Causalize: time 0.004148/0.1623, allocations: 3.421 MB / 413 MB, free: 11.55 MB / 318.1 MB
Error: Internal error NBDifferentiate.differentiateFunction failed for class function 'Modelica.Blocks.Tables.Internal.getTable1DValueNoDer'
  input 'Modelica.Blocks.Types.ExternalCombiTable1D' 'tableID';
  input Integer 'icol';
  input Real 'u';
  output Real 'y';
end 'Modelica.Blocks.Tables.Internal.getTable1DValueNoDer'.
Error: Internal error NBInitialization.main failed to apply modules!
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.0571528831496835]
Failed to read output from testmodel.py, exit status != 0:
['time', 'J1.phi', 'J1.w', 'clutch1.phi_rel', 'clutch1.w_rel', 'clutch2.phi_rel', 'clutch2.w_rel', 'clutch3.phi_rel', 'clutch3.w_rel', 'clutch1.mode', 'clutch1.startBackward', 'clutch1.startForward', 'clutch2.mode', 'clutch2.startBackward', 'clutch2.startForward', 'clutch3.mode', 'clutch3.startBackward', 'clutch3.startForward']
0.16944915428757668 0.18185446099999994 0.040344565000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0711971780>