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.0653/0.0653, allocations: 12.02 MB / 27.14 MB, free: 2.195 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.0009538/0.0009539, allocations: 119.2 kB / 30.83 MB, free: 5.336 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.00123/0.00123, allocations: 195.5 kB / 34.63 MB, free: 1.551 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.429/1.429, allocations: 222.9 MB / 261.2 MB, free: 8.219 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05576/0.05576, allocations: 13.67 MB / 327.9 MB, free: 320 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.02493/0.02493, allocations: 17.47 MB / 412.8 MB, free: 28.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1684, allocations: 55.42 MB / 468.2 MB, free: 6.504 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.081/1.25, allocations: 428.6 MB / 0.8758 GB, free: 2.551 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.8148/2.064, allocations: 87.85 MB / 0.9616 GB, free: 0.9062 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1523/2.217, allocations: 1.879 MB / 0.9634 GB, free: 0.9062 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05918/2.276, allocations: 32.47 MB / 0.9951 GB, free: 24 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02817/2.304, allocations: 8.237 MB / 1.003 GB, free: 14.77 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.0157/2.32, allocations: 5.595 MB / 1.009 GB, free: 13.77 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.06191/2.382, allocations: 42.5 MB / 1.05 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08354/2.466, allocations: 44.74 MB / 1.094 GB, free: 14.1 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02511/2.491, allocations: 11.28 MB / 1.105 GB, free: 4.477 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02941/2.52, allocations: 17.32 MB / 1.122 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.01208/2.532, allocations: 2.461 MB / 1.124 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/2.55, allocations: 3.93 MB / 1.128 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.02234/2.572, allocations: 14.09 MB / 1.142 GB, free: 208 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.04208/2.614, allocations: 16.9 MB / 1.158 GB, free: 15.34 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.08656/2.701, allocations: 67.19 MB / 1.224 GB, free: 13.05 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/2.701, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.314e-06/2.701, allocations: 0 / 1.224 GB, free: 13.05 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.00247/2.703, allocations: 4 kB / 1.224 GB, free: 13.04 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 1.279/3.982, allocations: 36.62 MB / 1.26 GB, free: 132.8 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/3.982, allocations: 8.625 kB / 1.26 GB, free: 132.8 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04086/4.023, allocations: 7.355 MB / 1.267 GB, free: 131.1 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06349/4.087, allocations: 24.61 MB / 1.291 GB, free: 126.7 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002494/4.089, allocations: 1.893 MB / 1.293 GB, free: 125.9 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01561/4.105, allocations: 2.57 MB / 1.295 GB, free: 125.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1514/4.256, allocations: 65.34 MB / 1.359 GB, free: 70.52 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002321/4.259, allocations: 257.8 kB / 1.359 GB, free: 70.35 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01503/4.274, allocations: 1.115 MB / 1.36 GB, free: 69.34 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01183/4.285, allocations: 7.878 MB / 1.368 GB, free: 61.55 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1007/4.386, allocations: 55.16 MB / 1.422 GB, free: 7.148 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 1.079/5.465, allocations: 268.9 MB / 1.685 GB, free: 428.3 MB / 0.9829 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06825/5.533, allocations: 30.61 MB / 1.714 GB, free: 423.6 MB / 0.9829 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02256/5.556, allocations: 18.62 MB / 1.733 GB, free: 414.6 MB / 0.9829 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/5.558, allocations: 1.311 MB / 1.734 GB, free: 413.7 MB / 0.9829 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06313/5.621, allocations: 21.98 MB / 1.755 GB, free: 406 MB / 0.9829 GB Notification: Performance of pre-optimization done (n=964): time 3.151e-05/5.621, allocations: 0 / 1.755 GB, free: 406 MB / 0.9829 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed