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.0008151/0.0008151, allocations: 36.55 kB / 15.67 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 101.7 kB / 16.5 MB, free: 6.703 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.001652/0.001653, allocations: 189.3 kB / 17.44 MB, free: 5.793 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.422/1.422, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.2776/0.2776, allocations: 41.7 MB / 333 MB, free: 6.254 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 79.88 kB / 461.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4761, allocations: 57.44 MB / 0.5067 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver): time 0.03465/0.5108, allocations: 29.5 MB / 0.5355 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.08719/0.5981, allocations: 40.47 MB / 0.5751 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01116/0.6093, allocations: 251.1 kB / 0.5753 GB, free: 0.8867 MB / 430.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:1043:9-1043:67:writable] Error: Internal error NFCeval.evalBinaryAdd failed to evaluate ‘nu + observer.mn[2]‘ Notification: Performance of FrontEnd: time 0.04034/0.6496, allocations: 16.53 MB / 0.5914 GB, free: 344 kB / 446.1 MB