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.06002/0.06002, allocations: 12.01 MB / 27.79 MB, free: 2.145 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.0009618/0.0009621, allocations: 122.7 kB / 31.49 MB, free: 5.273 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.001178/0.001178, allocations: 196.3 kB / 35.3 MB, free: 1.48 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.334/1.334, allocations: 222.9 MB / 261.8 MB, free: 8.246 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05512/0.05512, allocations: 13.67 MB / 328.5 MB, free: 368 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.02159/0.02159, allocations: 17.46 MB / 413.4 MB, free: 28.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1304, allocations: 55.42 MB / 468.8 MB, free: 6.555 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.9016/1.032, allocations: 428.6 MB / 0.8764 GB, free: 2.648 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.6382/1.67, allocations: 87.86 MB / 0.9622 GB, free: 0.9102 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1062/1.777, allocations: 1.876 MB / 0.964 GB, free: 0.9102 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0502/1.827, allocations: 32.47 MB / 0.9958 GB, free: 32 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02144/1.848, allocations: 8.248 MB / 1.004 GB, free: 14.78 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.01196/1.86, allocations: 5.583 MB / 1.009 GB, free: 13.79 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.04444/1.905, allocations: 42.5 MB / 1.051 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05551/1.96, allocations: 44.75 MB / 1.094 GB, free: 14.25 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02278/1.983, allocations: 11.28 MB / 1.105 GB, free: 4.633 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02491/2.008, allocations: 17.33 MB / 1.122 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.01056/2.019, allocations: 2.457 MB / 1.125 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01308/2.032, allocations: 3.939 MB / 1.129 GB, free: 14.36 MB / 0.7326 GB Notification: Performance of NFScalarize.scalarize: time 0.02015/2.052, allocations: 14.08 MB / 1.142 GB, free: 356 kB / 0.7326 GB Notification: Performance of NFVerifyModel.verify: time 0.03315/2.085, allocations: 16.9 MB / 1.159 GB, free: 15.5 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.05953/2.145, allocations: 59.78 MB / 1.217 GB, free: 4.59 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/2.145, allocations: 0 / 1.217 GB, free: 4.59 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.573e-06/2.145, allocations: 0 / 1.217 GB, free: 4.59 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.001832/2.147, allocations: 0 / 1.217 GB, free: 4.59 MB / 0.8107 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.5535/2.7, allocations: 36.63 MB / 1.253 GB, free: 439.3 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/2.7, allocations: 8.062 kB / 1.253 GB, free: 439.3 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/2.734, allocations: 7.358 MB / 1.26 GB, free: 437.1 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04851/2.783, allocations: 24.6 MB / 1.284 GB, free: 420.6 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00202/2.785, allocations: 1.89 MB / 1.286 GB, free: 419.8 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01338/2.798, allocations: 2.571 MB / 1.289 GB, free: 419 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.152/2.95, allocations: 65.34 MB / 1.352 GB, free: 356.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001637/2.952, allocations: 261.6 kB / 1.353 GB, free: 355.8 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01144/2.963, allocations: 1.114 MB / 1.354 GB, free: 354.8 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01064/2.974, allocations: 7.877 MB / 1.361 GB, free: 347 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09598/3.07, allocations: 55.16 MB / 1.415 GB, free: 291.9 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.3203/3.39, allocations: 268.9 MB / 1.678 GB, free: 19.27 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5652/3.956, allocations: 30.6 MB / 1.708 GB, free: 401.8 MB / 0.8267 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02591/3.982, allocations: 18.62 MB / 1.726 GB, free: 394.5 MB / 0.8267 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001813/3.983, allocations: 1.308 MB / 1.727 GB, free: 393.6 MB / 0.8267 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05812/4.042, allocations: 21.97 MB / 1.749 GB, free: 387.8 MB / 0.8267 GB Notification: Performance of pre-optimization done (n=964): time 2.541e-05/4.042, allocations: 2.516 kB / 1.749 GB, free: 387.8 MB / 0.8267 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