Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController.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.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 110.3 kB / 17.14 MB, free: 5.934 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.001249/0.001249, allocations: 193.4 kB / 18.07 MB, free: 5.016 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.517/1.517, 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.06905/0.06905, allocations: 12.59 MB / 283.9 MB, free: 15.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.287e-05, allocations: 2.281 kB / 394.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.ExactlyClockedWithDiscreteController): time 0.002895/0.002926, allocations: 2.016 MB / 396.8 MB, free: 44.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003961, allocations: 0.6087 MB / 397.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004082, allocations: 4.75 kB / 397.4 MB, free: 43.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.004202, allocations: 19.22 kB / 397.4 MB, free: 43.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.00436, allocations: 41.05 kB / 397.4 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.004617, allocations: 66.23 kB / 397.5 MB, free: 43.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.004839, allocations: 151.5 kB / 397.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.004992, allocations: 64.59 kB / 397.7 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.891e-05/0.005067, allocations: 52.36 kB / 397.8 MB, free: 43.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.005145, allocations: 62.66 kB / 397.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.005177, allocations: 9 kB / 397.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.005205, allocations: 11.12 kB / 397.8 MB, free: 43.34 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001454/0.005355, allocations: 204 kB / 398 MB, free: 43.2 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.908e-05/0.00542, allocations: 140.8 kB / 398.2 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.005454, allocations: 21.94 kB / 398.2 MB, free: 43.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.438e-05/0.005485, allocations: 16.69 kB / 398.2 MB, free: 43.07 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of Bindings: time 0.0006087/0.006098, allocations: 0.6804 MB / 398.9 MB, free: 42.5 MB / 318.1 MB Notification: Performance of FunctionAlias: time 5.929e-05/0.006163, allocations: 35.09 kB / 398.9 MB, free: 42.47 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002863/0.006455, allocations: 322 kB / 399.2 MB, free: 42.25 MB / 318.1 MB Notification: Performance of simplify1: time 3.362e-05/0.006495, allocations: 27 kB / 399.3 MB, free: 42.23 MB / 318.1 MB Notification: Performance of Alias: time 0.000741/0.007243, allocations: 0.6352 MB / 399.9 MB, free: 41.75 MB / 318.1 MB Notification: Performance of simplify2: time 1.657e-05/0.00727, allocations: 11.2 kB / 399.9 MB, free: 41.74 MB / 318.1 MB Notification: Performance of Events: time 9.975e-05/0.007375, allocations: 59.34 kB / 400 MB, free: 41.71 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001736/0.007556, allocations: 115 kB / 400.1 MB, free: 41.62 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001147/0.007679, allocations: 111.1 kB / 400.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005137/0.008199, allocations: 467 kB / 400.7 MB, free: 41.31 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001794/0.008388, allocations: 223.8 kB / 400.9 MB, free: 41.15 MB / 318.1 MB Notification: Performance of Inline: time 0.0003171/0.008711, allocations: 331.5 kB / 401.2 MB, free: 40.93 MB / 318.1 MB Notification: Performance of Partitioning: time 2.434e-05/0.008743, allocations: 33.86 kB / 401.2 MB, free: 40.89 MB / 318.1 MB Notification: Performance of Cleanup: time 2.274e-05/0.008771, allocations: 16.19 kB / 401.2 MB, free: 40.89 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007566/0.009532, allocations: 0.7703 MB / 402 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Tearing: time 6.142e-06/0.009547, allocations: 0 / 402 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Initialization: time 2.91e-07/0.009553, allocations: 1.281 kB / 402 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Tearing: time 1.282e-06/0.009559, allocations: 288 / 402 MB, free: 40.52 MB / 318.1 MB Notification: Performance of Categorize: time 1.098e-05/0.009574, allocations: 1.875 kB / 402 MB, free: 40.52 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold