Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.001267/0.001267, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001477/0.001477, allocations: 206.2 kB / 24.49 MB, free: 3.961 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.589e-05, allocations: 2.281 kB / 378.9 MB, free: 2.621 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3612/0.3612, allocations: 134.2 MB / 0.5011 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.3664, allocations: 3.611 MB / 0.5046 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.3665, allocations: 3.938 kB / 0.5046 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.3671, allocations: 103.5 kB / 0.5047 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.3705, allocations: 1.216 MB / 0.5059 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3718, allocations: 390.8 kB / 0.5062 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006962/0.3725, allocations: 442.2 kB / 0.5067 GB, free: 1.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.3725, allocations: 9.688 kB / 0.5067 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.3731, allocations: 254.6 kB / 0.5069 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.3733, allocations: 139.5 kB / 0.5071 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.3734, allocations: 16 kB / 0.5071 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.3771, allocations: 1.764 MB / 0.5088 GB, free: 14.94 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.0004669/0.3776, allocations: 417.1 kB / 0.5092 GB, free: 14.53 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002244/0.3778, allocations: 253 kB / 0.5094 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.3779, allocations: 24 kB / 0.5095 GB, free: 14.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.511e-05/0.3779, allocations: 7.938 kB / 0.5095 GB, free: 14.25 MB / 430.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.001745/0.3796, allocations: 1.366 MB / 0.5108 GB, free: 12.76 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001948/0.3798, allocations: 130.2 kB / 0.5109 GB, free: 12.62 MB / 430.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1411:9-1411:143:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBackendDAE.mo:1493:5-1493:109:writable] Error: Internal error NBVariable.VariablePointers.getVarSafe failed for $i0 Notification: Performance of [SIM] Early Inline: time 0.00209/0.3819, allocations: 1.622 MB / 0.5125 GB, free: 10.97 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003366/0.3823, allocations: 237.7 kB / 0.5127 GB, free: 10.7 MB / 430.1 MB Notification: Performance of [SIM] Alias: time 0.001553/0.3838, allocations: 1.034 MB / 0.5137 GB, free: 9.539 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003977/0.3842, allocations: 249.7 kB / 0.514 GB, free: 9.254 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001777/0.3844, allocations: 152.2 kB / 0.5141 GB, free: 9.078 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.0004871/0.3849, allocations: 354.5 kB / 0.5145 GB, free: 8.68 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.0003339/0.3852, allocations: 191.4 kB / 0.5146 GB, free: 8.496 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006364/0.3859, allocations: 0.5218 MB / 0.5152 GB, free: 7.961 MB / 430.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: 4.999699388165027] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 2.832743125036359 2.846883878 2.46593861 Calling exit ...