Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.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.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 112.4 kB / 17.14 MB, free: 5.918 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.001578/0.001578, allocations: 194.5 kB / 18.08 MB, free: 4.996 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.513/1.513, 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.07014/0.07014, allocations: 12.59 MB / 283.9 MB, free: 15.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.477e-05, allocations: 2.281 kB / 394.7 MB, free: 45.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.003161/0.0032, allocations: 1.887 MB / 396.6 MB, free: 44.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.004917, allocations: 1.048 MB / 397.7 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.005049, allocations: 1.562 kB / 397.7 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.005445, allocations: 71.03 kB / 397.8 MB, free: 43.37 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.005795, allocations: 92.28 kB / 397.8 MB, free: 43.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007285/0.006533, allocations: 227.8 kB / 398.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.006853, allocations: 195.8 kB / 398.3 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.007036, allocations: 51.3 kB / 398.3 MB, free: 43.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.00719, allocations: 76.98 kB / 398.4 MB, free: 43.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.007367, allocations: 80.55 kB / 398.5 MB, free: 43.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.007405, allocations: 9.406 kB / 398.5 MB, free: 43.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.007604, allocations: 71.41 kB / 398.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002802/0.007893, allocations: 230.2 kB / 398.8 MB, free: 42.85 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001619/0.008066, allocations: 148.1 kB / 398.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.008148, allocations: 24.44 kB / 398.9 MB, free: 42.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.766e-05/0.008225, allocations: 7.219 kB / 398.9 MB, free: 42.73 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of Bindings: time 0.0009492/0.009183, allocations: 0.6925 MB / 399.6 MB, free: 42.14 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.477e-05/0.009284, allocations: 30.83 kB / 399.7 MB, free: 42.12 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003229/0.009614, allocations: 266.9 kB / 399.9 MB, free: 41.93 MB / 318.1 MB Notification: Performance of simplify1: time 5.519e-05/0.00968, allocations: 18.84 kB / 399.9 MB, free: 41.93 MB / 318.1 MB Notification: Performance of Alias: time 0.0005736/0.01026, allocations: 415.4 kB / 400.3 MB, free: 41.59 MB / 318.1 MB Notification: Performance of simplify2: time 2.521e-05/0.0103, allocations: 11.94 kB / 400.4 MB, free: 41.59 MB / 318.1 MB Notification: Performance of Events: time 0.0001267/0.01043, allocations: 69.34 kB / 400.4 MB, free: 41.55 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002331/0.01067, allocations: 141.6 kB / 400.6 MB, free: 41.45 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001756/0.01086, allocations: 142.6 kB / 400.7 MB, free: 41.32 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007588/0.01162, allocations: 0.5926 MB / 401.3 MB, free: 41.02 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.00029/0.01192, allocations: 260.3 kB / 401.5 MB, free: 40.84 MB / 318.1 MB Notification: Performance of Inline: time 0.0005954/0.01253, allocations: 0.5069 MB / 402.1 MB, free: 40.46 MB / 318.1 MB Notification: Performance of Partitioning: time 4.567e-05/0.01259, allocations: 44.45 kB / 402.1 MB, free: 40.42 MB / 318.1 MB Notification: Performance of Cleanup: time 3.318e-05/0.01263, allocations: 29.78 kB / 402.1 MB, free: 40.39 MB / 318.1 MB Notification: Performance of Causalize: time 0.001737/0.01437, allocations: 1.631 MB / 403.8 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Tearing: time 8.296e-06/0.01439, allocations: 0 / 403.8 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Initialization: time 3.51e-07/0.0144, allocations: 4.031 kB / 403.8 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Tearing: time 4.799e-06/0.01441, allocations: 1.312 kB / 403.8 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Categorize: time 1.423e-05/0.01443, allocations: 1.406 kB / 403.8 MB, free: 39.58 MB / 318.1 MB Error: Internal error NBDifferentiate.differentiateBuiltinCall1Arg failed for: hold