Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM") translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 108.5 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 210.5 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.224/1.224, allocations: 230.4 MB / 251.3 MB, free: 8.688 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.528e-06/9.528e-06, allocations: 2.281 kB / 368.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002214/0.002223, allocations: 1.675 MB / 370.5 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.005094, allocations: 1.961 MB / 372.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.005146, allocations: 4 kB / 372.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.005336, allocations: 36.38 kB / 372.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.005481, allocations: 53.75 kB / 372.5 MB, free: 2.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.005925, allocations: 202.8 kB / 372.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.006347, allocations: 391.4 kB / 373.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.006459, allocations: 49.41 kB / 373.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.0071, allocations: 0.6823 MB / 373.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008382/0.01548, allocations: 147.5 kB / 374 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.01554, allocations: 16 kB / 374 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.01585, allocations: 175.8 kB / 374.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000293/0.01614, allocations: 285.3 kB / 374.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.284e-05/0.01623, allocations: 149.9 kB / 374.6 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.01629, allocations: 31.94 kB / 374.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.637e-05/0.0163, allocations: 7.938 kB / 374.7 MB, free: 0.707 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: 43 (18) * Number of variables: 43 (23) Notification: Performance of Bindings: time 0.1162/0.1325, allocations: 0.7387 MB / 375.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001118/0.1326, allocations: 83.19 kB / 375.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004246/0.1331, allocations: 482.2 kB / 375.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002393/0.1333, allocations: 192.2 kB / 376.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Alias: time 0.0004663/0.1338, allocations: 362.5 kB / 376.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001777/0.1339, allocations: 188.1 kB / 376.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001598/0.1341, allocations: 183.9 kB / 376.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004198/0.1345, allocations: 300.6 kB / 377.1 MB, free: 10.75 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for $i1, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.