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.06716/0.06716, allocations: 12.04 MB / 27.97 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.0007645/0.0007644, allocations: 103.9 kB / 31.7 MB, free: 4.801 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.00104/0.00104, allocations: 172.5 kB / 35.56 MB, free: 0.9648 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.391/1.391, allocations: 223.2 MB / 262.5 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05701/0.05701, allocations: 13.7 MB / 330.3 MB, free: 292 kB / 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.0223/0.0223, allocations: 17.38 MB / 416.2 MB, free: 27.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1485, allocations: 56.48 MB / 472.7 MB, free: 5.254 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 0.9856/1.134, allocations: 419.6 MB / 0.8714 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6422/1.776, allocations: 87.76 MB / 0.9571 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.124/1.9, allocations: 1.861 MB / 0.9589 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009762/1.91, allocations: 2.445 MB / 0.9613 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02883/1.939, allocations: 8.248 MB / 0.9693 GB, free: 404 kB / 0.6075 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.0149/1.954, allocations: 5.586 MB / 0.9748 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07247/2.026, allocations: 43.69 MB / 1.017 GB, free: 8.176 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09447/2.121, allocations: 59.88 MB / 1.076 GB, free: 6.656 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02306/2.144, allocations: 7.926 MB / 1.084 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02692/2.171, allocations: 13.09 MB / 1.096 GB, free: 5 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.007649/2.179, allocations: 1.133 MB / 1.098 GB, free: 3.867 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/2.191, allocations: 2.613 MB / 1.1 GB, free: 1.395 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02006/2.211, allocations: 11.98 MB / 1.112 GB, free: 5.492 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.03022/2.241, allocations: 14.38 MB / 1.126 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.06917/2.311, allocations: 57.88 MB / 1.182 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/2.311, allocations: 4 kB / 1.182 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.387e-06/2.311, allocations: 3.938 kB / 1.182 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002405/2.313, allocations: 0 / 1.182 GB, free: 14.1 MB / 0.7794 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.08051/2.394, allocations: 29.09 MB / 1.211 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/2.394, allocations: 12.03 kB / 1.211 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03364/2.427, allocations: 7.502 MB / 1.218 GB, free: 9.332 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.033/3.461, allocations: 24.59 MB / 1.242 GB, free: 119.1 MB / 0.8108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002798/3.463, allocations: 1.892 MB / 1.244 GB, free: 119 MB / 0.8108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01419/3.478, allocations: 2.565 MB / 1.246 GB, free: 119 MB / 0.8108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1522/3.63, allocations: 65.54 MB / 1.31 GB, free: 101.2 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001919/3.632, allocations: 256.1 kB / 1.311 GB, free: 101.1 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01189/3.644, allocations: 1.115 MB / 1.312 GB, free: 100.4 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01317/3.657, allocations: 7.875 MB / 1.32 GB, free: 97.32 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1047/3.762, allocations: 55.38 MB / 1.374 GB, free: 45.35 MB / 0.8108 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.9895/4.751, allocations: 268.5 MB / 1.636 GB, free: 407.8 MB / 0.9517 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06675/4.818, allocations: 30.77 MB / 1.666 GB, free: 406.1 MB / 0.9517 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02257/4.841, allocations: 18.66 MB / 1.684 GB, free: 398.7 MB / 0.9517 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/4.843, allocations: 1.308 MB / 1.685 GB, free: 397.8 MB / 0.9517 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06142/4.904, allocations: 22.09 MB / 1.707 GB, free: 389.3 MB / 0.9517 GB Notification: Performance of pre-optimization done (n=964): time 2.943e-05/4.904, allocations: 0 / 1.707 GB, free: 389.3 MB / 0.9517 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed