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: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07379/0.07379, allocations: 12.04 MB / 27.67 MB, free: 1.875 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.001527/0.001527, allocations: 95.92 kB / 31.37 MB, free: 5 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.001919/0.001919, allocations: 192.5 kB / 35.21 MB, free: 1.18 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.636/1.636, allocations: 222.9 MB / 261.8 MB, free: 7.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06635/0.06635, allocations: 13.67 MB / 328.5 MB, free: 496 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.03864/0.03864, allocations: 20.12 MB / 472.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.409, allocations: 55.39 MB / 0.5154 GB, free: 20.11 MB / 382.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.07334/0.4824, allocations: 65.05 MB / 0.5789 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05227/0.5347, allocations: 18.53 MB / 0.597 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.024/0.5587, allocations: 0.518 MB / 0.5975 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06478/0.6236, allocations: 32.12 MB / 0.6289 GB, free: 1.184 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03109/0.6547, allocations: 8.581 MB / 0.6373 GB, free: 8.633 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.01669/0.6714, allocations: 6.042 MB / 0.6432 GB, free: 2.609 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.05298/0.7244, allocations: 29.94 MB / 0.6724 GB, free: 4.75 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08893/0.8134, allocations: 48.47 MB / 0.7198 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4079/1.221, allocations: 14.32 MB / 0.7338 GB, free: 48.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04019/1.262, allocations: 17.4 MB / 0.7507 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.02147/1.283, allocations: 4.988 MB / 0.7556 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02855/1.312, allocations: 6.374 MB / 0.7618 GB, free: 48.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.03355/1.345, allocations: 16.47 MB / 0.7779 GB, free: 47.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04578/1.391, allocations: 19.77 MB / 0.7972 GB, free: 32.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.09411/1.485, allocations: 70.23 MB / 0.8658 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.485, allocations: 0 / 0.8658 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.703e-06/1.485, allocations: 0 / 0.8658 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002845/1.488, allocations: 2.469 kB / 0.8658 GB, free: 8.371 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.1459/1.634, allocations: 37.67 MB / 0.9026 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.634, allocations: 8.031 kB / 0.9026 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02399/1.658, allocations: 4.313 MB / 0.9068 GB, free: 14.67 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05361/1.712, allocations: 9.522 MB / 0.9161 GB, free: 5.18 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07406/1.786, allocations: 29.61 MB / 0.945 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002529/1.789, allocations: 1.895 MB / 0.9469 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01458/1.803, allocations: 2.565 MB / 0.9494 GB, free: 4.602 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8012/2.604, allocations: 65.26 MB / 1.013 GB, free: 197.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002903/2.607, allocations: 262 kB / 1.013 GB, free: 197.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01703/2.624, allocations: 1.115 MB / 1.014 GB, free: 197.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01566/2.64, allocations: 7.877 MB / 1.022 GB, free: 195.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1249/2.765, allocations: 55.01 MB / 1.076 GB, free: 152.2 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.136/3.901, allocations: 267.2 MB / 1.337 GB, free: 79.42 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07317/3.974, allocations: 30.53 MB / 1.367 GB, free: 70.93 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02517/3.999, allocations: 18.55 MB / 1.385 GB, free: 61.95 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002599/4.002, allocations: 1.307 MB / 1.386 GB, free: 60.99 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06825/4.07, allocations: 21.89 MB / 1.407 GB, free: 47.28 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 3.237e-05/4.07, allocations: 5.906 kB / 1.407 GB, free: 47.27 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