Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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 Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06643/0.06643, allocations: 12.05 MB / 28.21 MB, free: 1.512 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 95.98 kB / 31.92 MB, free: 4.523 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 192.1 kB / 35.76 MB, free: 0.707 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 262.3 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2259/0.2259, allocations: 13.67 MB / 329 MB, free: 2.617 MB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.03088/0.03088, allocations: 19.58 MB / 416.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3862, allocations: 55.38 MB / 471.7 MB, free: 53.18 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Warning: An inner declaration for outer component world could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Notification: The diagnostics message for the missing inner is: No "world" component is defined. A default world component with the default gravity field will be used (g=9.81 in negative y-axis). If this is not desired, drag Modelica.Mechanics.MultiBody.World into the top level of your model. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DronePayload.DroneTest_payload): time 0.05506/0.4413, allocations: 65.04 MB / 0.5242 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05039/0.4917, allocations: 18.54 MB / 0.5423 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02268/0.5145, allocations: 0.5146 MB / 0.5428 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06414/0.5787, allocations: 32.13 MB / 0.5742 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03162/0.6103, allocations: 8.58 MB / 0.5826 GB, free: 11.13 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.6274, allocations: 6.039 MB / 0.5885 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04639/0.6738, allocations: 29.94 MB / 0.6177 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.6651/1.339, allocations: 48.6 MB / 0.6652 GB, free: 17.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03031/1.369, allocations: 14.31 MB / 0.6791 GB, free: 17.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03149/1.401, allocations: 17.41 MB / 0.6961 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01764/1.419, allocations: 4.989 MB / 0.701 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02522/1.444, allocations: 6.373 MB / 0.7072 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02861/1.472, allocations: 16.46 MB / 0.7233 GB, free: 9.645 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04158/1.514, allocations: 19.68 MB / 0.7425 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.09178/1.606, allocations: 68.89 MB / 0.8098 GB, free: 2.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/1.606, allocations: 4 kB / 0.8098 GB, free: 2.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.525e-06/1.606, allocations: 8 kB / 0.8098 GB, free: 2.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.003056/1.609, allocations: 0 / 0.8098 GB, free: 2.301 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8755 * Number of variables: 8755 Notification: Performance of Generate backend data structure: time 0.1288/1.738, allocations: 36.62 MB / 0.8456 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.738, allocations: 8.031 kB / 0.8456 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04086/1.779, allocations: 7.355 MB / 0.8528 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5661/2.345, allocations: 24.6 MB / 0.8768 GB, free: 184.1 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00149/2.346, allocations: 1.89 MB / 0.8786 GB, free: 183.3 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01191/2.358, allocations: 2.565 MB / 0.8812 GB, free: 182.6 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1524/2.511, allocations: 65.35 MB / 0.945 GB, free: 146.5 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001699/2.512, allocations: 261.4 kB / 0.9452 GB, free: 146.3 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0108/2.523, allocations: 1.112 MB / 0.9463 GB, free: 145.3 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01219/2.536, allocations: 7.88 MB / 0.954 GB, free: 138.8 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1098/2.645, allocations: 55.16 MB / 1.008 GB, free: 83.71 MB / 0.592 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9801/3.626, allocations: 268.9 MB / 1.27 GB, free: 46.76 MB / 0.6235 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07728/3.703, allocations: 30.62 MB / 1.3 GB, free: 31.51 MB / 0.6235 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02667/3.73, allocations: 18.63 MB / 1.319 GB, free: 15.86 MB / 0.6235 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/3.732, allocations: 1.312 MB / 1.32 GB, free: 14.44 MB / 0.6235 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4082/4.14, allocations: 21.96 MB / 1.341 GB, free: 198.4 MB / 0.6235 GB Notification: Performance of pre-optimization done (n=964): time 2.849e-05/4.14, allocations: 2.188 kB / 1.341 GB, free: 198.4 MB / 0.6235 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.droneChassis1.bodyShape.body.frame_a.r_0[1] + 0.25 * drone.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed