Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 110.6 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 187.2 kB / 17.36 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06828/0.06828, allocations: 10.97 MB / 281.6 MB, free: 1.004 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01945/0.01945, allocations: 4.24 MB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.533e-05, allocations: 2.281 kB / 448.2 MB, free: 32.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002425/0.002466, allocations: 1.455 MB / 449.6 MB, free: 31.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.003478, allocations: 0.5542 MB / 450.2 MB, free: 30.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.003574, allocations: 4 kB / 450.2 MB, free: 30.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.00372, allocations: 11.86 kB / 450.2 MB, free: 30.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.004016, allocations: 39.83 kB / 450.2 MB, free: 30.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.004255, allocations: 67.83 kB / 450.3 MB, free: 30.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.004466, allocations: 159.7 kB / 450.5 MB, free: 30.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.521e-05/0.004528, allocations: 8.172 kB / 450.5 MB, free: 30.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.00465, allocations: 83.8 kB / 450.5 MB, free: 30.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.004779, allocations: 63.8 kB / 450.6 MB, free: 30.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.004817, allocations: 12 kB / 450.6 MB, free: 30.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.844e-05/0.004851, allocations: 8 kB / 450.6 MB, free: 30.3 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001454/0.005001, allocations: 158.7 kB / 450.8 MB, free: 30.15 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.485e-05/0.005043, allocations: 70.97 kB / 450.9 MB, free: 30.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.005089, allocations: 15.94 kB / 450.9 MB, free: 30.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.429e-05/0.005118, allocations: 7.938 kB / 450.9 MB, free: 30.05 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: 32 (14) * Number of variables: 32 (12) Notification: Performance of Bindings: time 0.0006614/0.005784, allocations: 0.6279 MB / 451.5 MB, free: 29.32 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.956e-05/0.005891, allocations: 59.88 kB / 451.6 MB, free: 29.27 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003284/0.006225, allocations: 448 kB / 452 MB, free: 28.8 MB / 318.1 MB Notification: Performance of simplify1: time 2.359e-05/0.006258, allocations: 19.97 kB / 452 MB, free: 28.78 MB / 318.1 MB Notification: Performance of Alias: time 0.0004418/0.006707, allocations: 324.9 kB / 452.3 MB, free: 28.41 MB / 318.1 MB Notification: Performance of simplify2: time 1.587e-05/0.006733, allocations: 7.984 kB / 452.3 MB, free: 28.4 MB / 318.1 MB Notification: Performance of Events: time 0.000102/0.006841, allocations: 71.83 kB / 452.4 MB, free: 28.33 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002055/0.007053, allocations: 160.1 kB / 452.6 MB, free: 28.16 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001161/0.007177, allocations: 108.1 kB / 452.7 MB, free: 28.05 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006342/0.007817, allocations: 0.6703 MB / 453.3 MB, free: 27.38 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002864/0.008114, allocations: 452 kB / 453.8 MB, free: 26.91 MB / 318.1 MB Notification: Performance of Inline: time 0.0004401/0.008561, allocations: 0.6404 MB / 454.4 MB, free: 26.23 MB / 318.1 MB Notification: Performance of Partitioning: time 2.548e-05/0.008596, allocations: 24.11 kB / 454.5 MB, free: 26.2 MB / 318.1 MB Notification: Performance of Cleanup: time 3.366e-05/0.008635, allocations: 35.95 kB / 454.5 MB, free: 26.17 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009439/0.009584, allocations: 1.035 MB / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Tearing: time 1.16e-05/0.009607, allocations: 0 / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Initialization: time 4.7e-07/0.009613, allocations: 0 / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Tearing: time 1.583e-06/0.00962, allocations: 4 kB / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Categorize: time 1.117e-05/0.009636, allocations: 3.984 kB / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Solve: time 0.0002841/0.009925, allocations: 235.7 kB / 455.8 MB, free: 24.89 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0006896/0.01062, allocations: 0.8827 MB / 456.6 MB, free: 23.96 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 10 (1) {transport.u} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:6, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:8, array:4, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 5 (generic: 5, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.697e-05/0.01068, allocations: 28.39 kB / 456.7 MB, free: 23.93 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NSimCode/NSimVar.mo:271:9-271:65:writable] Error: Internal error UnorderedMap.getSafe failed because the key did not exist. Error: Internal error NSimVar.SimVar.getIndex failed to get index for cref: transport.u[1, 3]