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.08535/0.08535, allocations: 12.04 MB / 28.35 MB, free: 1.703 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.001454/0.001454, allocations: 107.9 kB / 32.07 MB, free: 4.555 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.002188/0.002188, allocations: 192.4 kB / 35.9 MB, free: 0.7344 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.53/1.53, allocations: 222.9 MB / 262.5 MB, free: 7.414 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06522/0.06522, allocations: 13.67 MB / 329.2 MB, free: 460 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.03551/0.03551, allocations: 19.66 MB / 473.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4951, allocations: 55.39 MB / 0.5161 GB, free: 20.21 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/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.07537/0.5705, allocations: 65.07 MB / 0.5797 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05309/0.6236, allocations: 18.53 MB / 0.5978 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02562/0.6493, allocations: 0.518 MB / 0.5983 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05793/0.7073, allocations: 32.14 MB / 0.6296 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03777/0.7451, allocations: 8.847 MB / 0.6383 GB, free: 8.359 MB / 478.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.0174/0.7625, allocations: 6.05 MB / 0.6442 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0532/0.8158, allocations: 29.94 MB / 0.6734 GB, free: 4.465 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08839/0.9042, allocations: 48.47 MB / 0.7208 GB, free: 4.383 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4668/1.371, allocations: 14.3 MB / 0.7347 GB, free: 48.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04288/1.414, allocations: 17.45 MB / 0.7518 GB, free: 48.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.02312/1.437, allocations: 4.988 MB / 0.7567 GB, free: 48.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02809/1.465, allocations: 6.386 MB / 0.7629 GB, free: 48.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03406/1.499, allocations: 16.71 MB / 0.7792 GB, free: 47.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04694/1.546, allocations: 19.68 MB / 0.7984 GB, free: 32.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.09612/1.643, allocations: 69.74 MB / 0.8665 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.643, allocations: 3.844 kB / 0.8665 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.444e-06/1.643, allocations: 2.438 kB / 0.8665 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002804/1.645, allocations: 0 / 0.8665 GB, free: 8.938 MB / 0.5763 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.1456/1.791, allocations: 36.63 MB / 0.9023 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.791, allocations: 8.031 kB / 0.9023 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03982/1.831, allocations: 7.356 MB / 0.9095 GB, free: 13.14 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0677/1.899, allocations: 24.99 MB / 0.9339 GB, free: 5.188 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002865/1.902, allocations: 1.903 MB / 0.9358 GB, free: 3.398 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01617/1.918, allocations: 2.569 MB / 0.9383 GB, free: 0.9336 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9389/2.857, allocations: 65.34 MB / 1.002 GB, free: 204 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003676/2.861, allocations: 255.7 kB / 1.002 GB, free: 203.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01604/2.877, allocations: 1.114 MB / 1.003 GB, free: 203.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01711/2.894, allocations: 7.879 MB / 1.011 GB, free: 201.4 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1305/3.024, allocations: 55.16 MB / 1.065 GB, free: 166.5 MB / 0.6702 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.214/4.238, allocations: 267.3 MB / 1.326 GB, free: 85.9 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07352/4.312, allocations: 30.62 MB / 1.356 GB, free: 79.7 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02341/4.335, allocations: 18.62 MB / 1.374 GB, free: 70.68 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/4.337, allocations: 1.308 MB / 1.375 GB, free: 69.73 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06143/4.399, allocations: 21.97 MB / 1.397 GB, free: 53.98 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 2.862e-05/4.399, allocations: 4 kB / 1.397 GB, free: 53.97 MB / 0.6704 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed