Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Annex60.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 105.7 kB / 16.42 MB, free: 6.465 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.001148/0.001148, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.274/1.274, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2477/0.2477, allocations: 54.96 MB / 325.6 MB, free: 4.84 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/2.984e-05, allocations: 2.281 kB / 456.8 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.CubicHermite): time 0.001482/0.00152, allocations: 0.5795 MB / 457.4 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.003438, allocations: 1.412 MB / 458.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.003482, allocations: 0 / 458.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.003539, allocations: 3.938 kB / 458.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.122e-05/0.003587, allocations: 11.98 kB / 458.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.004289, allocations: 179.2 kB / 459 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.004428, allocations: 59.88 kB / 459.1 MB, free: 432 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.004478, allocations: 7.984 kB / 459.1 MB, free: 424 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.004522, allocations: 19.92 kB / 459.1 MB, free: 404 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.004587, allocations: 27.92 kB / 459.1 MB, free: 376 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.004607, allocations: 4 kB / 459.1 MB, free: 372 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.004937, allocations: 207.7 kB / 459.3 MB, free: 164 kB / 334.1 MB Notification: Performance of combineBinaries: time 6.477e-05/0.005011, allocations: 47.56 kB / 459.4 MB, free: 116 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 1.686e-05/0.005033, allocations: 27.56 kB / 459.4 MB, free: 88 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.005058, allocations: 4 kB / 459.4 MB, free: 84 kB / 334.1 MB Notification: Performance of FrontEnd: time 9.338e-06/0.005071, allocations: 0 / 459.4 MB, free: 84 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 (1) * Number of variables: 4 (4) Notification: Performance of Bindings: time 0.0004026/0.005478, allocations: 305.8 kB / 459.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001314/0.005616, allocations: 55.89 kB / 459.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001852/0.005808, allocations: 196.2 kB / 460 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplify1: time 2.738e-05/0.005843, allocations: 7.984 kB / 460 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Alias: time 6.942e-05/0.005917, allocations: 68.55 kB / 460 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplify2: time 8.626e-06/0.005931, allocations: 7.984 kB / 460 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Events: time 4.876e-05/0.005985, allocations: 31.95 kB / 460.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Detect States: time 8.458e-05/0.006074, allocations: 59.03 kB / 460.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Partitioning: time 7.183e-05/0.006153, allocations: 40.11 kB / 460.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002262/0.006385, allocations: 140.9 kB / 460.3 MB, free: 15 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000161/0.006555, allocations: 188.2 kB / 460.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Inline: time 0.0002609/0.006822, allocations: 272.8 kB / 460.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of Partitioning: time 1.9e-05/0.006849, allocations: 16.12 kB / 460.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of Cleanup: time 1.883e-05/0.006872, allocations: 11.98 kB / 460.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004815/0.00736, allocations: 399.1 kB / 461.2 MB, free: 14.06 MB / 350.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (4) ($RES_SIM_1) [----] x := (1.2 * time * (xd[4] - xd[1]) + xd[1]) - 0.5; [----] i := 1; [----] for j in 1:3 loop [----] if x > xd[j] then [----] i := j; [----] end if; [----] end for; [----] y := $FUN_1; [----] yMonotone := $FUN_2; Error: Internal error NBInitialization.main failed to apply modules!