Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController.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.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.8 kB / 17.14 MB, free: 5.914 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.001221/0.001221, allocations: 198.9 kB / 18.08 MB, free: 4.992 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.503/1.503, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.07171/0.07171, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.286e-05, allocations: 2.281 kB / 394.7 MB, free: 45.44 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWithDiscreteController): time 0.002633/0.002665, allocations: 1.999 MB / 396.7 MB, free: 44.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.003503, allocations: 0.5774 MB / 397.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.109e-05/0.003605, allocations: 2.531 kB / 397.3 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.003717, allocations: 17.81 kB / 397.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.00385, allocations: 25.73 kB / 397.4 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.00408, allocations: 57.8 kB / 397.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.004279, allocations: 148.9 kB / 397.6 MB, free: 43.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.004429, allocations: 60.55 kB / 397.6 MB, free: 43.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.628e-05/0.004501, allocations: 49.8 kB / 397.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.22e-05/0.004589, allocations: 60.5 kB / 397.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.00462, allocations: 9.531 kB / 397.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.203e-05/0.004647, allocations: 10.97 kB / 397.8 MB, free: 43.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001505/0.004803, allocations: 197.4 kB / 397.9 MB, free: 43.29 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.883e-05/0.004878, allocations: 130.2 kB / 398.1 MB, free: 43.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.004913, allocations: 21.5 kB / 398.1 MB, free: 43.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.518e-05/0.004943, allocations: 7.312 kB / 398.1 MB, free: 43.18 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0006431/0.005592, allocations: 0.6631 MB / 398.8 MB, free: 42.61 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.627e-05/0.005666, allocations: 31.02 kB / 398.8 MB, free: 42.59 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003001/0.005972, allocations: 315.9 kB / 399.1 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simplify1: time 3.403e-05/0.006011, allocations: 18.98 kB / 399.1 MB, free: 42.37 MB / 318.1 MB Notification: Performance of Alias: time 0.0007476/0.006764, allocations: 0.6122 MB / 399.7 MB, free: 41.89 MB / 318.1 MB Notification: Performance of simplify2: time 1.946e-05/0.006793, allocations: 11.62 kB / 399.7 MB, free: 41.89 MB / 318.1 MB Notification: Performance of Events: time 0.0001057/0.006905, allocations: 69.94 kB / 399.8 MB, free: 41.84 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001937/0.007106, allocations: 101.6 kB / 399.9 MB, free: 41.77 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001161/0.007231, allocations: 107 kB / 400 MB, free: 41.68 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005412/0.007779, allocations: 476.6 kB / 400.5 MB, free: 41.45 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002187/0.008008, allocations: 223.3 kB / 400.7 MB, free: 41.29 MB / 318.1 MB Notification: Performance of Inline: time 0.0003296/0.008343, allocations: 327.5 kB / 401 MB, free: 41.07 MB / 318.1 MB Notification: Performance of Partitioning: time 2.927e-05/0.008382, allocations: 33.69 kB / 401.1 MB, free: 41.04 MB / 318.1 MB Notification: Performance of Cleanup: time 2.467e-05/0.008413, allocations: 22.94 kB / 401.1 MB, free: 41.02 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008144/0.009233, allocations: 0.7618 MB / 401.8 MB, free: 40.67 MB / 318.1 MB Notification: Performance of Tearing: time 6.572e-06/0.009249, allocations: 2.156 kB / 401.8 MB, free: 40.67 MB / 318.1 MB Notification: Performance of Initialization: time 3.4e-07/0.009254, allocations: 0 / 401.8 MB, free: 40.67 MB / 318.1 MB Notification: Performance of Tearing: time 3.586e-06/0.009264, allocations: 9.359 kB / 401.8 MB, free: 40.66 MB / 318.1 MB Notification: Performance of Categorize: time 1.121e-05/0.009281, allocations: 0.7969 kB / 401.8 MB, free: 40.66 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold