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.00164/0.00164, allocations: 109.1 kB / 21.86 MB, free: 76 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.001843/0.001843, allocations: 216.8 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.484/1.484, allocations: 230.5 MB / 258.8 MB, free: 8.086 MB / 206.1 MB " [Timeout remaining time 178] 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 2.623e-05/2.623e-05, allocations: 2.281 kB / 379.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.CoupledClutches): time 0.2048/0.2049, allocations: 3.251 MB / 382.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2071, allocations: 1.266 MB / 383.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.2073, allocations: 10.59 kB / 383.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.2077, allocations: 99.91 kB / 384 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004405/0.2081, allocations: 222.9 kB / 384.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.2087, allocations: 283.9 kB / 384.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.2097, allocations: 0.9523 MB / 385.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.2099, allocations: 100.3 kB / 385.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.2105, allocations: 406.7 kB / 385.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005076/0.211, allocations: 406.3 kB / 386.3 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.2111, allocations: 62.88 kB / 386.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.2114, allocations: 121.9 kB / 386.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0008971/0.2123, allocations: 1.267 MB / 387.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003054/0.2126, allocations: 0.6957 MB / 388.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.2127, allocations: 94.44 kB / 388.6 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.297e-05/0.2128, allocations: 28.25 kB / 388.6 MB, free: 10.89 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.002245/0.215, allocations: 2.692 MB / 391.3 MB, free: 9.082 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004971/0.2155, allocations: 424.8 kB / 391.7 MB, free: 8.828 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001911/0.2174, allocations: 2.058 MB / 393.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.000373/0.2178, allocations: 313.1 kB / 394.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of Alias: time 0.002744/0.2206, allocations: 2.235 MB / 396.3 MB, free: 6.141 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0003002/0.2209, allocations: 269.8 kB / 396.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001734/0.221, allocations: 178 kB / 396.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006382/0.2217, allocations: 0.5654 MB / 397.3 MB, free: 5.41 MB / 302.1 MB Notification: Performance of Events: time 0.0006148/0.2223, allocations: 482.1 kB / 397.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007643/0.2231, allocations: 0.6435 MB / 398.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of Causalize: time 0.006398/0.2295, allocations: 5.083 MB / 403.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.00137/0.2308, allocations: 1.828 MB / 405.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of Simplify: time 0.002667/0.2335, allocations: 0.935 MB / 406.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of Inline: time 0.002499/0.236, allocations: 2.872 MB / 409.1 MB, free: 14.58 MB / 318.1 MB Notification: Performance of Partitioning: time 9.824e-05/0.2361, allocations: 51.59 kB / 409.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0004053/0.2365, allocations: 432.6 kB / 409.6 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Causalize: time 0.00502/0.2415, allocations: 3.424 MB / 413 MB, free: 11.4 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.5252439379692078] 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.2499771285802126 0.26356290400000004 0.047730096 Calling exit ...