Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo", uses=false) 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/Modelica_LinearSystems2 3.0.0-master/package.mo", uses=false) Using package Modelica_LinearSystems2 with version 3.0.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/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) Using package DymolaCommands with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo) Running command: translateModel(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver") translateModel(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0006701/0.00067, allocations: 39.25 kB / 15.27 MB, free: 0.5703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 108.7 kB / 16.08 MB, free: 6.68 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.001498/0.001498, allocations: 188.7 kB / 17 MB, free: 6.414 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.594/1.594, allocations: 222.9 MB / 240.7 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/package.mo): time 0.2727/0.2727, allocations: 41.7 MB / 332.5 MB, free: 6.492 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 81.91 kB / 402.2 MB, free: 30.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1501, allocations: 57.45 MB / 459.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver): time 0.3779/0.528, allocations: 117.1 MB / 0.5632 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1045/0.6326, allocations: 56.47 MB / 0.6183 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03009/0.6627, allocations: 0.553 MB / 0.6189 GB, free: 12.88 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/Utilities/Streams/readSystemDimension.mo:2:1-52:24:writable] Warning: Pure function ‘Modelica_LinearSystems2.Utilities.Streams.readSystemDimension‘ contains a call to impure function ‘Modelica.Utilities.Streams.readRealMatrix‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/Internal/StateSpace2.mo:318:5-376:17:writable] Warning: Pure function ‘Modelica_LinearSystems2.Internal.StateSpace2.Import.fromFile‘ contains a call to impure function ‘Modelica_LinearSystems2.Utilities.Streams.readSystemDimension‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/ComplexMathAdds/Vectors/print.mo:2:1-41:10:writable] Warning: Pure function ‘Modelica_LinearSystems2.ComplexMathAdds.Vectors.print‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/Math/Polynomial.mo:1227:3-1280:12:writable] Warning: Pure function ‘Modelica_LinearSystems2.Math.Polynomial.roots‘ contains a call to impure function ‘Modelica_LinearSystems2.ComplexMathAdds.Vectors.print‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/ZerosAndPoles.mo:6854:5-6862:27:writable] Warning: Pure function ‘Modelica_LinearSystems2.ZerosAndPoles.Internal.numberOfRealZeros2‘ contains a call to impure function ‘Modelica_LinearSystems2.Math.Polynomial.roots‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/ZerosAndPoles.mo:6825:5-6833:26:writable] Warning: Pure function ‘Modelica_LinearSystems2.ZerosAndPoles.Internal.numberOfRealPoles‘ contains a call to impure function ‘Modelica_LinearSystems2.Math.Polynomial.roots‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/TransferFunction.mo:888:5-954:22:writable] Warning: Pure function ‘Modelica_LinearSystems2.TransferFunction.Analysis.zerosAndPoles‘ contains a call to impure function ‘Modelica_LinearSystems2.Math.Polynomial.roots‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/ZerosAndPoles.mo:179:5-196:11:writable] Warning: Pure function ‘Modelica_LinearSystems2.ZerosAndPoles.'constructor'.fromTransferFunction‘ contains a call to impure function ‘Modelica_LinearSystems2.ZerosAndPoles.Internal.numberOfRealZeros2‘. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1035:9-1035:67:writable] Error: Internal error NFCeval.evalBinaryAdd failed to evaluate ‘nu + 2‘ Notification: Performance of FrontEnd: time 0.03134/0.6941, allocations: 15.85 MB / 0.6343 GB, free: 13.02 MB / 478.1 MB