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/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/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/package.mo): time 0.06475/0.06475, allocations: 12 MB / 27.23 MB, free: 2.133 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.001001/0.001001, allocations: 117.5 kB / 30.94 MB, free: 5.266 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.001632/0.001632, allocations: 192.3 kB / 34.74 MB, free: 1.477 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.343/1.343, allocations: 222.9 MB / 261.3 MB, free: 212 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06147/0.06146, allocations: 13.67 MB / 328 MB, free: 3.883 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.02774/0.02774, allocations: 18.42 MB / 413.9 MB, free: 26.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1485, allocations: 55.42 MB / 469.3 MB, free: 5.883 MB / 334.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 1.033/1.181, allocations: 428.6 MB / 0.8769 GB, free: 1.918 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.7965/1.978, allocations: 87.75 MB / 0.9626 GB, free: 0.9492 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1259/2.104, allocations: 1.87 MB / 0.9644 GB, free: 0.9492 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05271/2.156, allocations: 31.26 MB / 0.9949 GB, free: 456 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02753/2.184, allocations: 8.032 MB / 1.003 GB, free: 15.38 MB / 0.6388 GB [/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.01454/2.199, allocations: 5.745 MB / 1.008 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.04486/2.243, allocations: 30.13 MB / 1.038 GB, free: 5.449 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09188/2.335, allocations: 51.07 MB / 1.088 GB, free: 5.012 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03211/2.367, allocations: 14.55 MB / 1.102 GB, free: 8.406 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03222/2.4, allocations: 18.93 MB / 1.12 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.01481/2.415, allocations: 4.984 MB / 1.125 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/2.432, allocations: 6.41 MB / 1.132 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0236/2.455, allocations: 16.61 MB / 1.148 GB, free: 11 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.03649/2.492, allocations: 19.77 MB / 1.167 GB, free: 7.27 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.08444/2.576, allocations: 69.03 MB / 1.234 GB, free: 3.137 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/2.576, allocations: 0 / 1.234 GB, free: 3.137 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.783e-06/2.576, allocations: 0 / 1.234 GB, free: 3.137 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.002396/2.579, allocations: 0 / 1.234 GB, free: 3.137 MB / 0.8263 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.596/3.175, allocations: 36.62 MB / 1.27 GB, free: 440.1 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/3.175, allocations: 9.5 kB / 1.27 GB, free: 440.1 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04125/3.216, allocations: 7.368 MB / 1.277 GB, free: 436.4 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05693/3.273, allocations: 24.59 MB / 1.301 GB, free: 420.1 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002027/3.275, allocations: 1.896 MB / 1.303 GB, free: 419.3 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01515/3.29, allocations: 2.561 MB / 1.306 GB, free: 416.8 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1651/3.455, allocations: 65.35 MB / 1.37 GB, free: 349.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002686/3.458, allocations: 257.7 kB / 1.37 GB, free: 349.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0169/3.475, allocations: 1.118 MB / 1.371 GB, free: 348.1 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01291/3.488, allocations: 7.876 MB / 1.379 GB, free: 340.3 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1183/3.606, allocations: 55.15 MB / 1.433 GB, free: 285.1 MB / 0.8264 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.3543/3.961, allocations: 268.9 MB / 1.695 GB, free: 12.25 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6184/4.579, allocations: 30.6 MB / 1.725 GB, free: 403.2 MB / 0.8267 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02381/4.603, allocations: 18.62 MB / 1.743 GB, free: 394.8 MB / 0.8267 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002103/4.605, allocations: 1.317 MB / 1.744 GB, free: 393.9 MB / 0.8267 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09857/4.704, allocations: 21.97 MB / 1.766 GB, free: 388 MB / 0.8267 GB Notification: Performance of pre-optimization done (n=964): time 3.261e-05/4.704, allocations: 1.219 kB / 1.766 GB, free: 388 MB / 0.8267 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed