Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.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.001557/0.001557, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001817/0.001817, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2364/0.2364, allocations: 46.97 MB / 361.7 MB, free: 4.004 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.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="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.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="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.03e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4174/0.4174, allocations: 131.6 MB / 0.6259 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.4202, allocations: 1.962 MB / 0.6278 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.4202, allocations: 7.938 kB / 0.6279 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.4206, allocations: 47.73 kB / 0.6279 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4222, allocations: 0.6531 MB / 0.6285 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4225, allocations: 101.3 kB / 0.6286 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.4228, allocations: 251 kB / 0.6289 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.581e-05/0.4229, allocations: 8.75 kB / 0.6289 GB, free: 10.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.4232, allocations: 151.3 kB / 0.629 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.4233, allocations: 71.73 kB / 0.6291 GB, free: 10 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.4233, allocations: 8 kB / 0.6291 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.4246, allocations: 0.6583 MB / 0.6297 GB, free: 9.332 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.0002853/0.4249, allocations: 257.9 kB / 0.63 GB, free: 9.078 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001281/0.425, allocations: 154.3 kB / 0.6301 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.4251, allocations: 12 kB / 0.6301 GB, free: 8.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.397e-05/0.4251, allocations: 11.69 kB / 0.6302 GB, free: 8.906 MB / 462.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.001193/0.4263, allocations: 0.8999 MB / 0.631 GB, free: 7.883 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001803/0.4265, allocations: 102.4 kB / 0.6311 GB, free: 7.773 MB / 462.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.004505/0.431, allocations: 3.788 MB / 0.6348 GB, free: 4.074 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 0.006157/0.4371, allocations: 5.515 MB / 0.6402 GB, free: 14.05 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.001725/0.4388, allocations: 1.135 MB / 0.6413 GB, free: 12.84 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.006182/0.445, allocations: 5.523 MB / 0.6467 GB, free: 6.707 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003141/0.4453, allocations: 193.5 kB / 0.6469 GB, free: 6.488 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.0006875/0.446, allocations: 0.5225 MB / 0.6474 GB, free: 5.914 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.0003555/0.4464, allocations: 231.5 kB / 0.6476 GB, free: 5.688 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.0009752/0.4474, allocations: 0.8663 MB / 0.6485 GB, free: 4.805 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 0.001803/0.4492, allocations: 1.201 MB / 0.6497 GB, free: 3.59 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001815/0.451, allocations: 1.779 MB / 0.6514 GB, free: 1.809 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.00615/0.4571, allocations: 5.762 MB / 0.657 GB, free: 11.4 MB / 494.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.003338/0.4605, allocations: 3.037 MB / 0.66 GB, free: 8.355 MB / 494.1 MB Notification: Performance of [INI] Partitioning: time 4.658e-05/0.4605, allocations: 26.73 kB / 0.66 GB, free: 8.32 MB / 494.1 MB Notification: Performance of [INI] Cleanup: time 0.0005443/0.4611, allocations: 423.5 kB / 0.6604 GB, free: 7.906 MB / 494.1 MB Notification: Performance of [INI] Causalize: time 0.002104/0.4632, allocations: 1.509 MB / 0.6619 GB, free: 6.391 MB / 494.1 MB Notification: Performance of [INI] Tearing: time 2.714e-05/0.4632, allocations: 24 kB / 0.6619 GB, free: 6.367 MB / 494.1 MB Notification: Performance of [SIM] Initialization: time 6.91e-07/0.4632, allocations: 0 / 0.6619 GB, free: 6.367 MB / 494.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.01088/0.4741, allocations: 10.5 MB / 0.6722 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of [SIM] Remove Dummies: time 1.474e-05/0.4741, allocations: 192 / 0.6722 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of [SIM] Tearing: time 3.048e-05/0.4741, allocations: 44 kB / 0.6722 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of [SIM] Categorize: time 1.822e-05/0.4741, allocations: 0 / 0.6722 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of [SIM] Solve: time 0.02316/0.4973, allocations: 20.35 MB / 0.6921 GB, free: 4 MB / 0.5137 GB 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.2069130560266785] 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.5062789429794066 0.5206178730000001 0.09246780900000001 Calling exit ...