Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 107.3 kB / 18.46 MB, free: 4.613 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.00121/0.00121, allocations: 193.3 kB / 19.39 MB, free: 3.688 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.372/1.372, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.252e-05/3.253e-05, allocations: 5.375 kB / 471.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002119/0.002163, allocations: 493.3 kB / 471.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004092/0.00627, allocations: 1.977 MB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-06/0.006295, allocations: 3.938 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.697e-06/0.006306, allocations: 0 / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.684e-06/0.006337, allocations: 0 / 473.6 MB, free: 10.76 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.00885, allocations: 0.5139 MB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 2.77e-05/0.00889, allocations: 4 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.008935, allocations: 0 / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.008956, allocations: 0 / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.008984, allocations: 3.984 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-06/0.008998, allocations: 0 / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.01061, allocations: 0.7874 MB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.752e-05/0.01064, allocations: 3.984 kB / 474.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 2.314e-06/0.01065, allocations: 4 kB / 474.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.08e-05/0.01067, allocations: 4 kB / 474.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.472e-06/0.01069, allocations: 0 / 474.9 MB, free: 9.441 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.0003113/0.011, allocations: 153.4 kB / 475.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.819e-05/0.01103, allocations: 11.95 kB / 475.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Early Inline: time 8.112e-05/0.01112, allocations: 40.36 kB / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplify1: time 4.659e-06/0.01113, allocations: 0 / 475.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of Alias: time 6.358e-05/0.0112, allocations: 48.56 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of simplify2: time 8.41e-07/0.01121, allocations: 3.938 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of Events: time 1.582e-05/0.01124, allocations: 4 kB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of Detect States: time 7.692e-05/0.01132, allocations: 31.44 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Partitioning: time 2.093e-05/0.01135, allocations: 11.98 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Causalize: time 6.402e-06/0.01136, allocations: 0 / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 4.389e-05/0.01142, allocations: 32.38 kB / 475.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Inline: time 8.348e-05/0.01151, allocations: 52.5 kB / 475.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of Partitioning: time 1.814e-05/0.01154, allocations: 20.05 kB / 475.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of Cleanup: time 8.807e-06/0.01155, allocations: 3.938 kB / 475.3 MB, free: 8.789 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.Matrices.Examples.solveLinearEquations(); =================== Scalar Matching =================== variable to equation ********************** equation to variable ********************** Error: Internal error NBInitialization.main failed to apply modules!