Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 114.5 kB / 17.14 MB, free: 5.781 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.0009532/0.0009533, allocations: 198.9 kB / 18.08 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08909/0.08909, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.07e-05, allocations: 2.281 kB / 394.7 MB, free: 45.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteTextbookController): time 0.003055/0.003084, allocations: 1.995 MB / 396.7 MB, free: 44.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.003937, allocations: 0.5415 MB / 397.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.004054, allocations: 1.875 kB / 397.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004177, allocations: 17.95 kB / 397.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.00424, allocations: 23.88 kB / 397.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.004549, allocations: 57.36 kB / 397.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.004754, allocations: 146 kB / 397.5 MB, free: 43.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.004915, allocations: 62.84 kB / 397.6 MB, free: 43.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.004995, allocations: 48.09 kB / 397.6 MB, free: 43.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.005084, allocations: 61 kB / 397.7 MB, free: 43.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.005114, allocations: 9.031 kB / 397.7 MB, free: 43.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.00514, allocations: 10.5 kB / 397.7 MB, free: 43.42 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001348/0.005279, allocations: 186.8 kB / 397.9 MB, free: 43.29 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.993e-05/0.005335, allocations: 125.3 kB / 398 MB, free: 43.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.005377, allocations: 22.78 kB / 398 MB, free: 43.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.738e-05/0.005409, allocations: 7.125 kB / 398 MB, free: 43.19 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: 29 (29) * Number of variables: 29 (29) Notification: Performance of Bindings: time 0.000569/0.005983, allocations: 0.6439 MB / 398.7 MB, free: 42.63 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.657e-05/0.006055, allocations: 29.09 kB / 398.7 MB, free: 42.61 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002672/0.006328, allocations: 302.4 kB / 399 MB, free: 42.4 MB / 318.1 MB Notification: Performance of simplify1: time 3.319e-05/0.006368, allocations: 22.8 kB / 399 MB, free: 42.39 MB / 318.1 MB Notification: Performance of Alias: time 0.0007325/0.007105, allocations: 0.6097 MB / 399.6 MB, free: 41.91 MB / 318.1 MB Notification: Performance of simplify2: time 1.69e-05/0.007133, allocations: 11.53 kB / 399.7 MB, free: 41.91 MB / 318.1 MB Notification: Performance of Events: time 9.854e-05/0.007236, allocations: 56.7 kB / 399.7 MB, free: 41.88 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001699/0.007413, allocations: 127.4 kB / 399.8 MB, free: 41.78 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001064/0.007527, allocations: 96.5 kB / 399.9 MB, free: 41.7 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004349/0.007968, allocations: 434.1 kB / 400.4 MB, free: 41.49 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001657/0.008141, allocations: 210.6 kB / 400.6 MB, free: 41.34 MB / 318.1 MB Notification: Performance of Inline: time 0.0002914/0.008439, allocations: 322 kB / 400.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of Partitioning: time 2.566e-05/0.008473, allocations: 33.7 kB / 400.9 MB, free: 41.09 MB / 318.1 MB Notification: Performance of Cleanup: time 2.609e-05/0.008504, allocations: 15.67 kB / 400.9 MB, free: 41.08 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007784/0.009287, allocations: 0.7258 MB / 401.6 MB, free: 40.74 MB / 318.1 MB Notification: Performance of Tearing: time 6.392e-06/0.009302, allocations: 1.188 kB / 401.6 MB, free: 40.74 MB / 318.1 MB Notification: Performance of Initialization: time 9.72e-07/0.009308, allocations: 0.9688 kB / 401.6 MB, free: 40.74 MB / 318.1 MB Notification: Performance of Tearing: time 2.093e-06/0.009315, allocations: 3.938 kB / 401.7 MB, free: 40.73 MB / 318.1 MB Notification: Performance of Categorize: time 1.049e-05/0.009332, allocations: 5.062 kB / 401.7 MB, free: 40.73 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold