Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold.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.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToSquareWave.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|clockToSquareWave.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 113.5 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.0009741/0.0009743, allocations: 197.3 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.494/1.494, 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.0728/0.0728, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/1.938e-05, allocations: 5.562 kB / 394.8 MB, free: 45.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold): time 0.002367/0.002395, allocations: 1.582 MB / 396.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008605/0.003268, allocations: 0.5293 MB / 396.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.003365, allocations: 0 / 396.9 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.003418, allocations: 11.38 kB / 396.9 MB, free: 43.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.00356, allocations: 7.109 kB / 396.9 MB, free: 43.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.003862, allocations: 53.3 kB / 397 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.004007, allocations: 60.58 kB / 397 MB, free: 43.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004125, allocations: 23.45 kB / 397 MB, free: 43.86 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.146e-05/0.004212, allocations: 23.19 kB / 397.1 MB, free: 43.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.004277, allocations: 22.2 kB / 397.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.004304, allocations: 3.281 kB / 397.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.004324, allocations: 3.656 kB / 397.1 MB, free: 43.84 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.32e-05/0.004424, allocations: 98.19 kB / 397.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.969e-05/0.004459, allocations: 68 kB / 397.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.004493, allocations: 11.25 kB / 397.3 MB, free: 43.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.11e-05/0.004521, allocations: 6.156 kB / 397.3 MB, free: 43.71 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0004012/0.004926, allocations: 356.1 kB / 397.6 MB, free: 43.35 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.328e-05/0.005006, allocations: 26.38 kB / 397.6 MB, free: 43.34 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0001345/0.005147, allocations: 144.2 kB / 397.8 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simplify1: time 2.478e-05/0.005177, allocations: 10.41 kB / 397.8 MB, free: 43.21 MB / 318.1 MB Notification: Performance of Alias: time 0.0003121/0.005495, allocations: 239.1 kB / 398 MB, free: 43 MB / 318.1 MB Notification: Performance of simplify2: time 9.878e-06/0.005514, allocations: 4.625 kB / 398 MB, free: 43 MB / 318.1 MB Notification: Performance of Events: time 6.47e-05/0.005584, allocations: 32.03 kB / 398.1 MB, free: 42.98 MB / 318.1 MB Notification: Performance of Detect States: time 0.000112/0.005702, allocations: 71.7 kB / 398.1 MB, free: 42.91 MB / 318.1 MB Notification: Performance of Partitioning: time 9.531e-05/0.005805, allocations: 78.95 kB / 398.2 MB, free: 42.83 MB / 318.1 MB Notification: Performance of Causalize: time 0.000287/0.006099, allocations: 268.7 kB / 398.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 9.436e-05/0.006202, allocations: 132.6 kB / 398.6 MB, free: 42.57 MB / 318.1 MB Notification: Performance of Inline: time 0.0001851/0.006394, allocations: 188.6 kB / 398.8 MB, free: 42.42 MB / 318.1 MB Notification: Performance of Partitioning: time 1.57e-05/0.006416, allocations: 17.03 kB / 398.8 MB, free: 42.4 MB / 318.1 MB Notification: Performance of Cleanup: time 1.959e-05/0.006441, allocations: 21.45 kB / 398.8 MB, free: 42.38 MB / 318.1 MB Notification: Performance of Causalize: time 0.0004139/0.00686, allocations: 407 kB / 399.2 MB, free: 42.19 MB / 318.1 MB Notification: Performance of Tearing: time 5.821e-06/0.006875, allocations: 0 / 399.2 MB, free: 42.19 MB / 318.1 MB Notification: Performance of Initialization: time 9.12e-07/0.006881, allocations: 0.9062 kB / 399.2 MB, free: 42.19 MB / 318.1 MB Notification: Performance of Tearing: time 2.575e-06/0.006889, allocations: 8.938 kB / 399.2 MB, free: 42.18 MB / 318.1 MB Notification: Performance of Categorize: time 9.328e-06/0.006903, allocations: 0.9062 kB / 399.2 MB, free: 42.18 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold