Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 108.5 kB / 21.99 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 218 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 207.7 MB / 236.2 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/2.822e-05, allocations: 2.281 kB / 348.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.4302/0.4302, allocations: 129.8 MB / 478.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.4329, allocations: 1.883 MB / 480.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.4329, allocations: 0 / 480.2 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.4333, allocations: 55.67 kB / 480.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.4347, allocations: 0.6219 MB / 480.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.435, allocations: 103.8 kB / 481 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.4353, allocations: 262.9 kB / 481.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.4354, allocations: 7.797 kB / 481.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.4356, allocations: 139.4 kB / 481.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.4358, allocations: 71.73 kB / 481.5 MB, free: 2.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4358, allocations: 4 kB / 481.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.4369, allocations: 0.6427 MB / 482.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0002791/0.4371, allocations: 258.5 kB / 482.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001316/0.4373, allocations: 154.3 kB / 482.5 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.4373, allocations: 20 kB / 482.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.286e-05/0.4373, allocations: 0 / 482.6 MB, free: 1.371 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: 43 (28) * Number of variables: 43 (28) Notification: Performance of [SIM] Bindings: time 0.001156/0.4385, allocations: 0.8887 MB / 483.5 MB, free: 372 kB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001792/0.4387, allocations: 101.1 kB / 483.6 MB, free: 260 kB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [SIM] Early Inline: time 0.004267/0.4429, allocations: 3.748 MB / 487.3 MB, free: 12.48 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.005695/0.4486, allocations: 5.532 MB / 492.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001685/0.4503, allocations: 1.135 MB / 494 MB, free: 5 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.005689/0.456, allocations: 5.511 MB / 499.5 MB, free: 14.73 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002246/0.4562, allocations: 189.5 kB / 499.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0006556/0.4569, allocations: 0.5341 MB / 0.4885 GB, free: 13.93 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.0003285/0.4572, allocations: 227.6 kB / 0.4887 GB, free: 13.7 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009642/0.4582, allocations: 0.8704 MB / 0.4895 GB, free: 12.82 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.001679/0.4598, allocations: 1.182 MB / 0.4907 GB, free: 11.62 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001711/0.4616, allocations: 1.787 MB / 0.4924 GB, free: 9.832 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.00647/0.468, allocations: 5.76 MB / 0.4981 GB, free: 3.289 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [INI] Inline: time 0.003228/0.4712, allocations: 3.029 MB / 0.501 GB, free: 256 kB / 398.1 MB Notification: Performance of [INI] Partitioning: time 4.385e-05/0.4713, allocations: 26.75 kB / 0.501 GB, free: 220 kB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0004924/0.4718, allocations: 435.4 kB / 0.5015 GB, free: 15.79 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.002128/0.4739, allocations: 1.505 MB / 0.5029 GB, free: 14.27 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 2.692e-05/0.4739, allocations: 20 kB / 0.503 GB, free: 14.25 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 1.002e-06/0.4739, allocations: 0 / 0.503 GB, free: 14.25 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1505:5-1505:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for j Notification: Performance of [SIM] DAE-Mode: time 0.0108/0.4847, allocations: 10.5 MB / 0.5132 GB, free: 2.266 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.065e-05/0.4848, allocations: 4.125 kB / 0.5132 GB, free: 2.262 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 3.034e-05/0.4848, allocations: 36 kB / 0.5132 GB, free: 2.227 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 1.653e-05/0.4848, allocations: 4 kB / 0.5133 GB, free: 2.223 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.02272/0.5075, allocations: 20.32 MB / 0.5331 GB, free: 11.7 MB / 446.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref $SEV_2[4] is neither a seed nor a partial candidate! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1198040620074607] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium2.T', 'medium2.X[1]', 'medium2.X[2]', 'medium2.X[3]', 'medium2.X[4]', 'medium2.p', 'state.T', 'state.p'] 0.5170197020052001 0.721618537 0.28055418600000004 Calling exit ...