Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MoistAir.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.001279/0.001279, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001407/0.001407, allocations: 222.7 kB / 24.5 MB, free: 3.922 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/2.866e-05, allocations: 6.219 kB / 378.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3634/0.3634, allocations: 133.3 MB / 0.5002 GB, free: 7.727 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3653, allocations: 1.441 MB / 0.5016 GB, free: 6.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.3654, allocations: 4 kB / 0.5016 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.3658, allocations: 55.67 kB / 0.5016 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3662, allocations: 169.9 kB / 0.5018 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.3694, allocations: 1.048 MB / 0.5028 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000467/0.3698, allocations: 374.4 kB / 0.5032 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3699, allocations: 5.641 kB / 0.5032 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.3702, allocations: 175.4 kB / 0.5034 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3704, allocations: 131.6 kB / 0.5035 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3704, allocations: 15.94 kB / 0.5035 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.3727, allocations: 1.383 MB / 0.5049 GB, free: 2.941 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.0004062/0.3731, allocations: 389.4 kB / 0.5052 GB, free: 2.559 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001761/0.3733, allocations: 221.5 kB / 0.5054 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.3733, allocations: 20 kB / 0.5055 GB, free: 2.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.672e-05/0.3733, allocations: 4 kB / 0.5055 GB, free: 2.316 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.001458/0.3748, allocations: 1.242 MB / 0.5067 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001724/0.3749, allocations: 139.8 kB / 0.5068 GB, free: 0.8047 MB / 414.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.001199/0.3761, allocations: 0.977 MB / 0.5078 GB, free: 15.8 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002821/0.3764, allocations: 201.8 kB / 0.508 GB, free: 15.56 MB / 430.1 MB Notification: Performance of [SIM] Alias: time 0.0009459/0.3774, allocations: 0.5695 MB / 0.5085 GB, free: 14.92 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002952/0.3777, allocations: 216.3 kB / 0.5087 GB, free: 14.66 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001393/0.3778, allocations: 105.7 kB / 0.5088 GB, free: 14.53 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.0003886/0.3782, allocations: 264.2 kB / 0.5091 GB, free: 14.22 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.0002273/0.3784, allocations: 126.3 kB / 0.5092 GB, free: 14.1 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004382/0.3789, allocations: 353.9 kB / 0.5095 GB, free: 13.74 MB / 430.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: 2.5316412490792572] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 0.3887299308553338 0.402765705 0.026435293000000002 Calling exit ...