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.000793/0.0007928, allocations: 39.2 kB / 15.54 MB, free: 200 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.001577/0.001576, allocations: 110.9 kB / 16.36 MB, free: 6.402 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.002168/0.002168, allocations: 186.9 kB / 17.29 MB, free: 5.836 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.2 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.2413/0.2413, allocations: 41.71 MB / 332.9 MB, free: 6.32 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 80.38 kB / 402.7 MB, free: 30.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 57.46 MB / 460.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica_LinearSystems2.Controllers.Examples.InverseDoublePendulumWithObserver): time 0.03008/0.1322, allocations: 29.5 MB / 489.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4385/0.5707, allocations: 40.43 MB / 0.5177 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00532/0.5761, allocations: 251.2 kB / 0.5179 GB, free: 8.516 MB / 382.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 + observer.mn[2]‘ Notification: Performance of FrontEnd: time 0.02494/0.601, allocations: 16.53 MB / 0.534 GB, free: 6.516 MB / 382.1 MB