Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.MATTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo) 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(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") translateModel(ExternData.Examples.MATTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.MATTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.8 kB / 16.43 MB, free: 6.461 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.001318/0.001319, allocations: 188.2 kB / 17.36 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.01244/0.01244, allocations: 2.948 MB / 294.2 MB, free: 11.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.64e-05, allocations: 2.281 kB / 406.9 MB, free: 28.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.MATTest): time 0.00181/0.001834, allocations: 1.499 MB / 408.4 MB, free: 27.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.002946, allocations: 1.257 MB / 409.6 MB, free: 26.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.002999, allocations: 0 / 409.6 MB, free: 26.06 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo:141:3-163:14:writable] Warning: Pure function 'ExternData.MATFile' contains a call to impure function 'ExternData.Types.ExternMATFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.00326, allocations: 31.84 kB / 409.7 MB, free: 26.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.003343, allocations: 35.78 kB / 409.7 MB, free: 26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.003548, allocations: 79.55 kB / 409.8 MB, free: 25.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003656, allocations: 75.77 kB / 409.8 MB, free: 25.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.003697, allocations: 11.92 kB / 409.9 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.655e-05/0.003749, allocations: 19.92 kB / 409.9 MB, free: 25.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.003886, allocations: 23.92 kB / 409.9 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.003905, allocations: 0 / 409.9 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.004042, allocations: 119.8 kB / 410 MB, free: 25.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 5.255e-05/0.004102, allocations: 79.02 kB / 410.1 MB, free: 25.6 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 1.501e-05/0.004122, allocations: 55.2 kB / 410.2 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.00415, allocations: 7.938 kB / 410.2 MB, free: 25.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.347e-06/0.004164, allocations: 0 / 410.2 MB, free: 25.54 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (3) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002859/0.004454, allocations: 367.9 kB / 410.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.128e-05/0.004471, allocations: 3.938 kB / 410.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of Early Inline: time 9.168e-05/0.004567, allocations: 136.3 kB / 410.7 MB, free: 24.91 MB / 302.1 MB Notification: Performance of simplify1: time 9.818e-06/0.004583, allocations: 7.984 kB / 410.7 MB, free: 24.9 MB / 302.1 MB Notification: Performance of Alias: time 0.0001877/0.004775, allocations: 148.8 kB / 410.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of simplify2: time 3.236e-06/0.004787, allocations: 4 kB / 410.8 MB, free: 24.71 MB / 302.1 MB Notification: Performance of Events: time 6.579e-05/0.004857, allocations: 31.91 kB / 410.8 MB, free: 24.68 MB / 302.1 MB Notification: Performance of Detect States: time 8.046e-05/0.004944, allocations: 78.53 kB / 410.9 MB, free: 24.59 MB / 302.1 MB Notification: Performance of Partitioning: time 4.662e-05/0.004998, allocations: 44.11 kB / 411 MB, free: 24.54 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001078/0.005112, allocations: 99.98 kB / 411.1 MB, free: 24.43 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 7.75e-05/0.005196, allocations: 132.3 kB / 411.2 MB, free: 24.27 MB / 302.1 MB Error: Internal error NBInitialization.main failed to apply modules!