Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop.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.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop") translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002106/0.002106, allocations: 107.3 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.002247/0.002247, allocations: 211.8 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.189/1.189, allocations: 230.4 MB / 251.3 MB, free: 8.688 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/9.949e-06, allocations: 2.281 kB / 368.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002603/0.002613, allocations: 2.141 MB / 371 MB, free: 4.418 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.004599, allocations: 1.173 MB / 372.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.004673, allocations: 4 kB / 372.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.004817, allocations: 47.58 kB / 372.2 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.004915, allocations: 47.56 kB / 372.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.005315, allocations: 171.7 kB / 372.4 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004317/0.005747, allocations: 451.5 kB / 372.8 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.005952, allocations: 129.1 kB / 373 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.006742, allocations: 0.8305 MB / 373.8 MB, free: 1.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.007048, allocations: 255 kB / 374.1 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.861e-05/0.007126, allocations: 44 kB / 374.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.629e-05/0.007203, allocations: 44 kB / 374.1 MB, free: 1.234 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004073/0.00761, allocations: 0.5142 MB / 374.7 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001537/0.007764, allocations: 275.9 kB / 374.9 MB, free: 452 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.007825, allocations: 55.81 kB / 375 MB, free: 396 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.759e-05/0.007853, allocations: 11.88 kB / 375 MB, free: 384 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 (79) * Number of variables: 81 (61) Notification: Performance of Bindings: time 0.1154/0.1233, allocations: 1.231 MB / 376.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001731/0.1235, allocations: 195.5 kB / 376.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006219/0.1241, allocations: 0.7299 MB / 377.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.000273/0.1243, allocations: 204.5 kB / 377.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Alias: time 0.0008864/0.1252, allocations: 0.8908 MB / 378.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0002008/0.1254, allocations: 174.7 kB / 378.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001814/0.1256, allocations: 169.5 kB / 378.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004324/0.126, allocations: 411.6 kB / 379 MB, free: 10.71 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for i, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.