Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.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.Controller.Examples.InverseDoublePendulumWithObserver,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver") translateModel(Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_LinearSystems2_Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DymolaCommands master/package.mo): time 0.0008232/0.0008232, allocations: 36.61 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.0011/0.0011, allocations: 110.7 kB / 16.5 MB, free: 6.699 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.001369/0.001369, allocations: 193.2 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.385/1.385, 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.2794/0.2794, allocations: 43.75 MB / 335 MB, free: 4.25 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 83.86 kB / 464.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5301, allocations: 57.84 MB / 0.5099 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controller.Examples.InverseDoublePendulumWithObserver): time 0.02962/0.5597, allocations: 23.35 MB / 0.5327 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07839/0.6382, allocations: 38.21 MB / 0.5701 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01262/0.6508, allocations: 187.3 kB / 0.5702 GB, free: 6.176 MB / 430.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:1248:3-1301: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.03865/0.6895, allocations: 16.07 MB / 0.5859 GB, free: 6.094 MB / 446.1 MB