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.00158/0.00158, allocations: 110.5 kB / 16.42 MB, free: 6.48 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.001711/0.00171, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.883/1.883, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06864/0.06864, allocations: 10.98 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.02015/0.02015, allocations: 4.243 MB / 335.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.232e-05/3.226e-05, allocations: 2.281 kB / 448.2 MB, free: 32.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.002656/0.002705, allocations: 1.44 MB / 449.6 MB, free: 31.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.003649, allocations: 0.562 MB / 450.2 MB, free: 30.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.003723, allocations: 0 / 450.2 MB, free: 30.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.003881, allocations: 11.88 kB / 450.2 MB, free: 30.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.004178, allocations: 39.83 kB / 450.2 MB, free: 30.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.004407, allocations: 75.77 kB / 450.3 MB, free: 30.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.004595, allocations: 155.7 kB / 450.5 MB, free: 30.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.004651, allocations: 12.17 kB / 450.5 MB, free: 30.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.004759, allocations: 83.78 kB / 450.5 MB, free: 30.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.00488, allocations: 67.8 kB / 450.6 MB, free: 30.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.004917, allocations: 16 kB / 450.6 MB, free: 30.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.004949, allocations: 15.94 kB / 450.6 MB, free: 30.29 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001186/0.005073, allocations: 154.7 kB / 450.8 MB, free: 30.13 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.897e-05/0.005107, allocations: 74.95 kB / 450.9 MB, free: 30.06 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.005139, allocations: 7.938 kB / 450.9 MB, free: 30.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.263e-05/0.005166, allocations: 3.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.0006046/0.005775, allocations: 0.6279 MB / 451.5 MB, free: 29.32 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.312e-05/0.005866, allocations: 59.88 kB / 451.6 MB, free: 29.26 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002924/0.006165, allocations: 452 kB / 452 MB, free: 28.79 MB / 318.1 MB Notification: Performance of simplify1: time 1.84e-05/0.00619, allocations: 11.98 kB / 452 MB, free: 28.78 MB / 318.1 MB Notification: Performance of Alias: time 0.0004049/0.0066, allocations: 332.8 kB / 452.3 MB, free: 28.4 MB / 318.1 MB Notification: Performance of simplify2: time 1.545e-05/0.006626, allocations: 11.98 kB / 452.4 MB, free: 28.39 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001897/0.006821, allocations: 144 kB / 452.5 MB, free: 28.23 MB / 318.1 MB Notification: Performance of Events: time 9.332e-05/0.006923, allocations: 59.92 kB / 452.6 MB, free: 28.17 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00012/0.007049, allocations: 120 kB / 452.7 MB, free: 28.05 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006072/0.007663, allocations: 0.6626 MB / 453.3 MB, free: 27.38 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003102/0.007984, allocations: 463.9 kB / 453.8 MB, free: 26.9 MB / 318.1 MB Notification: Performance of Inline: time 0.0004967/0.008489, allocations: 0.6404 MB / 454.4 MB, free: 26.23 MB / 318.1 MB Notification: Performance of Partitioning: time 2.196e-05/0.00852, allocations: 24.11 kB / 454.5 MB, free: 26.2 MB / 318.1 MB Notification: Performance of Cleanup: time 3.011e-05/0.008555, allocations: 31.94 kB / 454.5 MB, free: 26.17 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009025/0.009463, allocations: 1.039 MB / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Tearing: time 1.3e-05/0.009486, allocations: 4 kB / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Initialization: time 3.4e-07/0.009492, allocations: 0 / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Tearing: time 2.043e-06/0.009499, allocations: 0 / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Categorize: time 7.744e-06/0.009511, allocations: 0 / 455.5 MB, free: 25.12 MB / 318.1 MB Notification: Performance of Solve: time 0.0002744/0.00979, allocations: 243.7 kB / 455.8 MB, free: 24.88 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0007186/0.01052, allocations: 0.8866 MB / 456.7 MB, free: 23.95 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.26e-05/0.01057, allocations: 20.27 kB / 456.7 MB, free: 23.93 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NSimCode/NSimVar.mo:273:9-273: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]