Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 112.6 kB / 21.86 MB, free: 76 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 189.5 kB / 25.12 MB, free: 3.633 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.211/1.211, allocations: 225.6 MB / 253.8 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1813/0.1813, allocations: 44.9 MB / 353.9 MB, free: 11.85 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660]
"Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.337e-05, allocations: 6.219 kB / 498 MB, free: 1.172 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001134/0.001147, allocations: 0.5443 MB / 498.5 MB, free: 0.6328 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005716/0.001719, allocations: 374.7 kB / 498.9 MB, free: 272 kB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.001742, allocations: 0 / 498.9 MB, free: 272 kB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.001754, allocations: 3.938 kB / 498.9 MB, free: 268 kB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.001782, allocations: 3.938 kB / 498.9 MB, free: 264 kB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.002101, allocations: 107.7 kB / 499 MB, free: 156 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.002159, allocations: 31.89 kB / 499 MB, free: 124 kB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.002198, allocations: 7.938 kB / 499.1 MB, free: 116 kB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.002217, allocations: 11.94 kB / 499.1 MB, free: 104 kB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.002257, allocations: 15.92 kB / 499.1 MB, free: 88 kB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.002268, allocations: 4 kB / 499.1 MB, free: 84 kB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.002452, allocations: 119.9 kB / 499.2 MB, free: 15.96 MB / 366.1 MB
Notification: Performance of combineBinaries: time 6.522e-05/0.002517, allocations: 75.25 kB / 499.3 MB, free: 15.89 MB / 366.1 MB
Notification: Performance of replaceArrayConstructors: time 2.888e-05/0.002546, allocations: 47.25 kB / 499.3 MB, free: 15.84 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.967e-06/0.002555, allocations: 4 kB / 499.3 MB, free: 15.84 MB / 366.1 MB
Notification: Performance of FrontEnd: time 5.591e-06/0.002561, allocations: 0 / 499.3 MB, free: 15.84 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 9 (9)
 * Number of variables: 9 (9)
Notification: Performance of Bindings: time 0.0003777/0.002939, allocations: 332.2 kB / 499.7 MB, free: 15.39 MB / 366.1 MB
Notification: Performance of FunctionAlias: time 4.883e-05/0.002987, allocations: 40.02 kB / 499.7 MB, free: 15.34 MB / 366.1 MB
Notification: Performance of Early Inline: time 0.0002516/0.003239, allocations: 256.1 kB / 499.9 MB, free: 15.07 MB / 366.1 MB
Notification: Performance of Simplify 1: time 7.916e-05/0.003318, allocations: 84.66 kB / 0.4883 GB, free: 14.94 MB / 366.1 MB
Notification: Performance of Alias: time 0.0003031/0.003621, allocations: 192.6 kB / 0.4885 GB, free: 14.69 MB / 366.1 MB
Notification: Performance of Simplify 2: time 8.219e-05/0.003704, allocations: 96.84 kB / 0.4886 GB, free: 14.55 MB / 366.1 MB
Notification: Performance of Remove Stream: time 4.641e-05/0.00375, allocations: 56.39 kB / 0.4886 GB, free: 14.47 MB / 366.1 MB
Notification: Performance of Detect States: time 0.0001526/0.003903, allocations: 124.6 kB / 0.4888 GB, free: 14.29 MB / 366.1 MB
Notification: Performance of Events: time 0.0001162/0.004019, allocations: 63.88 kB / 0.4888 GB, free: 14.23 MB / 366.1 MB
Notification: Performance of Partitioning: time 9.633e-05/0.004115, allocations: 72.06 kB / 0.4889 GB, free: 14.15 MB / 366.1 MB
Error: Internal error NBDifferentiate.differentiateCall failed because the function is not a builtin function and could not be found in the function tree: $fDER0.Modelica.Fluid.Utilities.regSquare2.regSquare2_utility((-1.0) + time, x_small, k1, k2, true, 0.02, 1.0, 0.0, $DER.k1, $DER.k2, 0.0)
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.204012035392225]
Failed to read output from testmodel.py, exit status != 0:
['time', 'x', 'y', 'yd', 'ydd', 'k1', 'k2', 'y2', 'y2d', 'y2dd']
0.01125126238912344 0.023032932000000002 0.017962845
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6b7d021780>