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.001189/0.001189, allocations: 113.1 kB / 21.86 MB, free: 68 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.001317/0.001317, allocations: 220.9 kB / 25.15 MB, free: 3.582 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.288/1.288, allocations: 230.4 MB / 258.7 MB, free: 7.914 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.257e-05/1.257e-05, allocations: 2.281 kB / 379.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.1307/0.1307, allocations: 3.262 MB / 382.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1325, allocations: 1.269 MB / 383.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.1326, allocations: 9.375 kB / 383.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.1329, allocations: 95.34 kB / 384 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.1332, allocations: 227.6 kB / 384.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1336, allocations: 273 kB / 384.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007007/0.1343, allocations: 0.9466 MB / 385.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1345, allocations: 96.78 kB / 385.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004413/0.1349, allocations: 412.2 kB / 385.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.1353, allocations: 412.4 kB / 386.3 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.1354, allocations: 63.75 kB / 386.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.1356, allocations: 119.6 kB / 386.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007705/0.1364, allocations: 1.267 MB / 387.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002469/0.1367, allocations: 0.6967 MB / 388.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.1367, allocations: 94.38 kB / 388.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.425e-05/0.1368, allocations: 29.8 kB / 388.6 MB, free: 10.92 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.001864/0.1387, allocations: 2.683 MB / 391.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003695/0.139, allocations: 426.4 kB / 391.7 MB, free: 8.871 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001545/0.1406, allocations: 2.059 MB / 393.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0003343/0.1409, allocations: 320.5 kB / 394 MB, free: 7.523 MB / 302.1 MB Notification: Performance of Alias: time 0.002245/0.1432, allocations: 2.221 MB / 396.2 MB, free: 6.191 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0002517/0.1434, allocations: 261.7 kB / 396.5 MB, free: 6.008 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001426/0.1435, allocations: 188.2 kB / 396.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005002/0.144, allocations: 0.566 MB / 397.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of Events: time 0.0005632/0.1446, allocations: 479.3 kB / 397.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006284/0.1452, allocations: 0.6468 MB / 398.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of Causalize: time 0.005709/0.1509, allocations: 5.086 MB / 403.5 MB, free: 2.891 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001187/0.1521, allocations: 1.824 MB / 405.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of Simplify: time 0.00236/0.1545, allocations: 0.9475 MB / 406.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of Inline: time 0.002266/0.1568, allocations: 2.869 MB / 409.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Partitioning: time 9.595e-05/0.1569, allocations: 57.09 kB / 409.1 MB, free: 14.6 MB / 318.1 MB Notification: Performance of Cleanup: time 0.000388/0.1572, allocations: 431 kB / 409.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of Causalize: time 0.004512/0.1618, allocations: 3.429 MB / 413 MB, free: 11.49 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.0873740054666996] 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.16929719969630241 0.182531991 0.042920897 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f982e10d780>