Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear.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.001425/0.001425, allocations: 109 kB / 20.54 MB, free: 1.91 MB / 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.001517/0.001517, allocations: 189.2 kB / 23.72 MB, free: 5.266 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.294/1.294, allocations: 225.6 MB / 252.3 MB, free: 13.31 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.1945/0.1945, allocations: 44.91 MB / 352.4 MB, free: 12.23 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.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.76e-05/1.76e-05, allocations: 2.281 kB / 495.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001189/0.001207, allocations: 493.1 kB / 496.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002953/0.00416, allocations: 2.228 MB / 498.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-06/0.004168, allocations: 4 kB / 498.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-06/0.004171, allocations: 0 / 498.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-07/0.004172, allocations: 0 / 498.6 MB, free: 15.22 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:8:5-85:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:87:5-157:27:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.quadratureLobatto2' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:159:5-233:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Nonlinear.mo:235:5-313:33:writable] Warning: Pure function 'Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.005975, allocations: 0.6063 MB / 499.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.507e-05/0.00601, allocations: 15.97 kB / 499.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.006037, allocations: 4 kB / 499.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.006101, allocations: 7.938 kB / 499.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.761e-05/0.006129, allocations: 4 kB / 499.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.048e-06/0.006133, allocations: 0 / 499.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008021/0.006935, allocations: 0.6398 MB / 499.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.422e-05/0.006949, allocations: 0 / 499.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.41e-07/0.00695, allocations: 7.938 kB / 499.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.006963, allocations: 0 / 499.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.006967, allocations: 4 kB / 499.9 MB, free: 13.93 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of Bindings: time 0.0002724/0.007239, allocations: 176.4 kB / 0.4884 GB, free: 13.65 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.552e-05/0.007255, allocations: 10.31 kB / 0.4884 GB, free: 13.64 MB / 366.1 MB Notification: Performance of Early Inline: time 5.768e-05/0.007312, allocations: 40.42 kB / 0.4884 GB, free: 13.57 MB / 366.1 MB Notification: Performance of Simplify 1: time 4.144e-05/0.007354, allocations: 44.38 kB / 0.4884 GB, free: 13.5 MB / 366.1 MB Notification: Performance of Alias: time 6.053e-05/0.007414, allocations: 60.8 kB / 0.4885 GB, free: 13.39 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.898e-05/0.007453, allocations: 48.41 kB / 0.4886 GB, free: 13.32 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.95e-05/0.007493, allocations: 44.38 kB / 0.4886 GB, free: 13.25 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001209/0.007614, allocations: 69.44 kB / 0.4887 GB, free: 13.14 MB / 366.1 MB Notification: Performance of Events: time 1.756e-05/0.007631, allocations: 8 kB / 0.4887 GB, free: 13.14 MB / 366.1 MB Notification: Performance of Partitioning: time 1.029e-05/0.007642, allocations: 11.94 kB / 0.4887 GB, free: 13.12 MB / 366.1 MB Notification: Performance of Causalize: time 4.047e-06/0.007646, allocations: 3.938 kB / 0.4887 GB, free: 13.12 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 2.375e-06/0.007648, allocations: 0 / 0.4887 GB, free: 13.12 MB / 366.1 MB Notification: Performance of Simplify: time 8.087e-05/0.007729, allocations: 72.78 kB / 0.4888 GB, free: 13 MB / 366.1 MB Notification: Performance of Inline: time 2.338e-05/0.007752, allocations: 16 kB / 0.4888 GB, free: 12.98 MB / 366.1 MB Notification: Performance of Partitioning: time 1.413e-05/0.007766, allocations: 12.12 kB / 0.4888 GB, free: 12.96 MB / 366.1 MB Notification: Performance of Cleanup: time 8.025e-06/0.007774, allocations: 4 kB / 0.4888 GB, free: 12.96 MB / 366.1 MB Error: Internal error NBSorting.tarjan failed because adjacency matrix has unknown type. Error: Internal error NBSorting.tarjan failed to sort system: System Variables (0/0) ************************ System Equations (1/0) ************************ (1) [ALGO] (0) ($RES_SIM_0) (1) [----] Modelica.Math.Nonlinear.Examples.quadratureLobatto1(1e-5); (1) [----] Modelica.Math.Nonlinear.Examples.quadratureLobatto2(1e-5, 0.0, 1.0, 0.0, 13.0, 5.0, 0.0, 1.5707963267948966, 0.7071067811865475); (1) [----] Modelica.Math.Nonlinear.Examples.solveNonlinearEquations1(1e-13); (1) [----] Modelica.Math.Nonlinear.Examples.solveNonlinearEquations2(1e-13, -0.5, 10.0, 0.0, 5.0, 3.0, 1.0, 8.0, {5.0, 1.0}, 1.0); =================== Scalar Matching =================== variable to equation ********************** equation to variable ********************** Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.361567061394453]