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.0002964/0.0002962, allocations: 23.83 kB / 15.29 MB, free: 0.7891 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.0009459/0.0009461, allocations: 92.81 kB / 16.1 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 170.1 kB / 17 MB, free: 6.828 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.385/1.385, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/package.mo): time 0.3615/0.3615, allocations: 41.81 MB / 334 MB, free: 11.21 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 16.27 kB / 404.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2836, allocations: 58.71 MB / 463.5 MB, free: 30.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver): time 0.1004/0.3841, allocations: 114.5 MB / 0.5644 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5649/0.949, allocations: 56.75 MB / 0.6198 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02333/0.9724, allocations: 0.5475 MB / 0.6204 GB, free: 10.04 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_LinearSystems2 3.0.0-master/Utilities/Streams/readSystemDimension.mo:2:1-24: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-17: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:1026:9-1026:67:writable] Error: Internal error NFCeval.evalBinaryAdd failed to evaluate ‘nu + 2‘ Notification: Performance of FrontEnd: time 0.01678/0.9892, allocations: 7.498 MB / 0.6277 GB, free: 6.254 MB / 462.1 MB