Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001257/0.001257, 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.001347/0.001347, allocations: 219.4 kB / 24.5 MB, free: 3.926 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.328e-05, allocations: 2.281 kB / 378.9 MB, free: 2.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1951/0.1951, allocations: 24.03 MB / 403 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1978, allocations: 2.002 MB / 405 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.1978, allocations: 3.938 kB / 405 MB, free: 15.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1982, allocations: 64.44 kB / 405 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1987, allocations: 169 kB / 405.2 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01936/0.218, allocations: 6.499 MB / 411.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.2186, allocations: 357 kB / 412 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.921e-05/0.2186, allocations: 18.45 kB / 412.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.2189, allocations: 148.7 kB / 412.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2191, allocations: 122.4 kB / 412.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.2191, allocations: 11.81 kB / 412.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.2345, allocations: 9.112 MB / 421.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005463/0.2351, allocations: 380.7 kB / 421.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001858/0.2353, allocations: 233.3 kB / 422 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.2353, allocations: 20 kB / 422.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.868e-05/0.2353, allocations: 4 kB / 422.1 MB, free: 2.211 MB / 318.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.001791/0.2371, allocations: 1.324 MB / 423.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002274/0.2374, allocations: 163.3 kB / 423.5 MB, free: 0.5781 MB / 318.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.001334/0.2387, allocations: 0.9776 MB / 424.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000252/0.2389, allocations: 177.8 kB / 424.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.00113/0.2401, allocations: 0.7194 MB / 425.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002454/0.2403, allocations: 180.5 kB / 425.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001275/0.2404, allocations: 105.6 kB / 425.7 MB, free: 14.17 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0003577/0.2408, allocations: 265.6 kB / 426 MB, free: 13.86 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002087/0.241, allocations: 132.6 kB / 426.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004205/0.2414, allocations: 333.2 kB / 426.4 MB, free: 13.39 MB / 334.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.2898598141036928] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium.T', 'medium.p'] 0.25084818806499243 0.2653761 0.026923529 Calling exit ...