Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.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.001473/0.001473, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 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.001484/0.001484, allocations: 192.2 kB / 24.53 MB, free: 3.852 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.702/1.702, allocations: 225.7 MB / 253.4 MB, free: 12.8 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.798e-05, allocations: 5.516 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4187/0.4187, allocations: 130.3 MB / 0.4902 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.4212, allocations: 1.425 MB / 0.4916 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.4213, allocations: 0 / 0.4916 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.4218, allocations: 55.69 kB / 0.4917 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.4223, allocations: 156 kB / 0.4918 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003767/0.4261, allocations: 1.045 MB / 0.4928 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.4267, allocations: 342.8 kB / 0.4932 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.4268, allocations: 8 kB / 0.4932 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.4272, allocations: 167.4 kB / 0.4933 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.4275, allocations: 107.6 kB / 0.4934 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.4276, allocations: 15.94 kB / 0.4934 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.4302, allocations: 1.302 MB / 0.4947 GB, free: 15.67 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004539/0.4307, allocations: 345.9 kB / 0.495 GB, free: 15.33 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.000201/0.4309, allocations: 193.8 kB / 0.4952 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.431, allocations: 24 kB / 0.4952 GB, free: 15.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.99e-05/0.431, allocations: 0 / 0.4952 GB, free: 15.11 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: 40 (34) * Number of variables: 40 (35) Notification: Performance of [SIM] Bindings: time 0.001632/0.4326, allocations: 1.178 MB / 0.4964 GB, free: 13.81 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002349/0.4329, allocations: 127.9 kB / 0.4965 GB, free: 13.68 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.001396/0.4343, allocations: 0.9872 MB / 0.4975 GB, free: 12.66 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003304/0.4346, allocations: 188.7 kB / 0.4977 GB, free: 12.43 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.001113/0.4357, allocations: 0.5617 MB / 0.4982 GB, free: 11.8 MB / 414.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003205/0.436, allocations: 203.1 kB / 0.4984 GB, free: 11.56 MB / 414.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001671/0.4362, allocations: 101.7 kB / 0.4985 GB, free: 11.43 MB / 414.1 MB Notification: Performance of [SIM] Detect States: time 0.0004591/0.4367, allocations: 273.2 kB / 0.4988 GB, free: 11.12 MB / 414.1 MB Notification: Performance of [SIM] Events: time 0.0002613/0.4369, allocations: 127.9 kB / 0.4989 GB, free: 11 MB / 414.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004902/0.4374, allocations: 352.4 kB / 0.4992 GB, free: 10.64 MB / 414.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because dynamic index reduction is not yet supported. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0320631510112435] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 0.44938932900549844 0.46420114799999995 0.029971805 Calling exit ...