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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 110.7 kB / 18.46 MB, free: 4.605 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.001518/0.001518, allocations: 185.4 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2236/0.2236, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.067e-05, allocations: 2.281 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001453/0.001482, allocations: 493.3 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003555/0.00505, allocations: 2.195 MB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-06/0.005069, allocations: 0 / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-06/0.005082, allocations: 0 / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.373e-06/0.005088, allocations: 0 / 473.8 MB, free: 10.56 MB / 350.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.002412/0.007521, allocations: 0.6037 MB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.471e-05/0.007574, allocations: 15.98 kB / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.007615, allocations: 0 / 474.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.01e-05/0.00771, allocations: 11.92 kB / 474.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.00776, allocations: 4 kB / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.007772, allocations: 0 / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.00883, allocations: 0.6281 MB / 475.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.978e-05/0.008864, allocations: 15.97 kB / 475.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.41e-07/0.008869, allocations: 0 / 475.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.00889, allocations: 4 kB / 475.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.062e-06/0.008901, allocations: 0 / 475.1 MB, free: 9.277 MB / 350.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.0002738/0.009179, allocations: 161.3 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.207e-06/0.009194, allocations: 3.938 kB / 475.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Early Inline: time 6.425e-05/0.009263, allocations: 44.33 kB / 475.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplify1: time 3.426e-06/0.009272, allocations: 3.984 kB / 475.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of Alias: time 5.456e-05/0.009331, allocations: 48.61 kB / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplify2: time 7.52e-07/0.009337, allocations: 0 / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Detect States: time 6.366e-05/0.009407, allocations: 28.23 kB / 475.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of Events: time 2.204e-05/0.009437, allocations: 11.89 kB / 475.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of Partitioning: time 1.02e-05/0.009452, allocations: 0 / 475.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of Causalize: time 7.724e-06/0.009465, allocations: 3.938 kB / 475.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.266e-05/0.009501, allocations: 44.36 kB / 475.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of Inline: time 7.881e-05/0.009585, allocations: 52.5 kB / 475.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Partitioning: time 1.455e-05/0.009605, allocations: 12.12 kB / 475.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of Cleanup: time 4.158e-06/0.009614, allocations: 0 / 475.5 MB, free: 8.621 MB / 350.1 MB Error: Internal error NBSorting.tarjan failed because adjacency matrix has unknown type. Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (0/0) ***************************** system eqns 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!