Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 100 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 225.7 MB / 253.4 MB, free: 12.77 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/1.982e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3861/0.3861, allocations: 131.3 MB / 0.4912 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004844/0.3909, allocations: 3.603 MB / 0.4947 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.3911, allocations: 0 / 0.4947 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.3916, allocations: 87.5 kB / 0.4948 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.3953, allocations: 1.221 MB / 0.496 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.3966, allocations: 394.9 kB / 0.4964 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007206/0.3973, allocations: 434.9 kB / 0.4968 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.583e-05/0.3974, allocations: 13.67 kB / 0.4968 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.3979, allocations: 226.1 kB / 0.497 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.3982, allocations: 143.4 kB / 0.4972 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.3982, allocations: 15.98 kB / 0.4972 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.4022, allocations: 1.737 MB / 0.4989 GB, free: 11.47 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004897/0.4026, allocations: 417 kB / 0.4993 GB, free: 11.06 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002073/0.4029, allocations: 249.1 kB / 0.4995 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.4029, allocations: 28 kB / 0.4995 GB, free: 10.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.749e-05/0.4029, allocations: 4 kB / 0.4995 GB, free: 10.78 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 (43) * Number of variables: 75 (47) Notification: Performance of [SIM] Bindings: time 0.001809/0.4047, allocations: 1.378 MB / 0.5009 GB, free: 9.273 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002062/0.4049, allocations: 140.9 kB / 0.501 GB, free: 9.129 MB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 [/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 $i0 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1423:9-1423:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 [/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 $i0 Notification: Performance of [SIM] Early Inline: time 0.002157/0.4071, allocations: 1.71 MB / 0.5027 GB, free: 7.395 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003576/0.4075, allocations: 216.4 kB / 0.5029 GB, free: 7.137 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.001791/0.4093, allocations: 1.039 MB / 0.5039 GB, free: 5.98 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003673/0.4096, allocations: 230.2 kB / 0.5041 GB, free: 5.711 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002021/0.4098, allocations: 152.2 kB / 0.5043 GB, free: 5.535 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0005086/0.4103, allocations: 364.5 kB / 0.5046 GB, free: 5.125 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0003584/0.4107, allocations: 205.6 kB / 0.5048 GB, free: 4.926 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007213/0.4114, allocations: 0.543 MB / 0.5053 GB, free: 4.371 MB / 414.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because dynamic index reduction is not yet supported. " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.404101025022101] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 3.0145687219919637 3.031073527 2.62480703 Calling exit ...