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.001062/0.001062, allocations: 111.3 kB / 18.46 MB, free: 4.594 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.0009894/0.0009896, allocations: 189.3 kB / 19.39 MB, free: 3.672 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.395/1.395, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2292/0.2292, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.7e-05, allocations: 8.531 kB / 471.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.001289/0.001325, allocations: 0.4895 MB / 471.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.004696, allocations: 2.179 MB / 473.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.688e-06/0.004724, allocations: 4 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.088e-06/0.004733, allocations: 0 / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.503e-06/0.004741, allocations: 0 / 473.8 MB, free: 10.57 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.002204/0.006964, allocations: 0.6107 MB / 474.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.412e-05/0.007017, allocations: 4 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.007063, allocations: 4 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.179e-05/0.007151, allocations: 19.92 kB / 474.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.007193, allocations: 7.984 kB / 474.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-06/0.007205, allocations: 4 kB / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009832/0.008193, allocations: 0.6203 MB / 475.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.689e-05/0.008219, allocations: 4 kB / 475.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.352e-06/0.008225, allocations: 7.922 kB / 475.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.008243, allocations: 0 / 475.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.6e-06/0.008253, allocations: 0 / 475.1 MB, free: 9.293 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.0002539/0.008512, allocations: 161.3 kB / 475.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.888e-06/0.008527, allocations: 4 kB / 475.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of Early Inline: time 6.817e-05/0.008599, allocations: 40.33 kB / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simplify1: time 1.904e-06/0.008607, allocations: 0 / 475.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Alias: time 5.132e-05/0.008664, allocations: 56.61 kB / 475.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simplify2: time 5.21e-07/0.008669, allocations: 0 / 475.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Events: time 1.586e-05/0.00869, allocations: 3.984 kB / 475.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of Detect States: time 5.708e-05/0.008751, allocations: 32.12 kB / 475.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Partitioning: time 1.26e-05/0.008771, allocations: 3.984 kB / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of Causalize: time 7.524e-06/0.008783, allocations: 7.875 kB / 475.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 2.771e-05/0.008819, allocations: 36.44 kB / 475.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of Inline: time 9.556e-05/0.00892, allocations: 60.48 kB / 475.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of Partitioning: time 1.309e-05/0.008939, allocations: 8.125 kB / 475.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of Cleanup: time 3.587e-06/0.008947, allocations: 0 / 475.5 MB, free: 8.637 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!