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.07086/0.07086, allocations: 12.03 MB / 27.66 MB, free: 1.906 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.00138/0.00138, allocations: 104 kB / 31.36 MB, free: 5.004 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.001604/0.001604, allocations: 192.5 kB / 35.2 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.57/1.57, allocations: 222.9 MB / 261.8 MB, free: 7.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06308/0.06308, allocations: 13.69 MB / 328.5 MB, free: 0.5117 MB / 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.037/0.037, allocations: 20.02 MB / 472.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.47, allocations: 55.4 MB / 0.5153 GB, free: 20.04 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.07834/0.5483, allocations: 65.05 MB / 0.5788 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05467/0.603, allocations: 18.53 MB / 0.5969 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02136/0.6244, allocations: 0.518 MB / 0.5974 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06331/0.6878, allocations: 32.13 MB / 0.6288 GB, free: 1.266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03066/0.7185, allocations: 8.578 MB / 0.6372 GB, free: 8.719 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.01428/0.7328, allocations: 6.047 MB / 0.6431 GB, free: 2.691 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.0496/0.7824, allocations: 29.93 MB / 0.6723 GB, free: 4.84 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07849/0.8609, allocations: 48.48 MB / 0.7197 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3307/1.192, allocations: 14.32 MB / 0.7337 GB, free: 48.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03047/1.222, allocations: 17.4 MB / 0.7507 GB, free: 48.61 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01592/1.238, allocations: 4.986 MB / 0.7555 GB, free: 48.61 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02716/1.265, allocations: 6.373 MB / 0.7617 GB, free: 48.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02607/1.291, allocations: 16.47 MB / 0.7778 GB, free: 47.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0418/1.333, allocations: 19.77 MB / 0.7971 GB, free: 32.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08575/1.419, allocations: 70.22 MB / 0.8657 GB, free: 8.512 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/1.419, allocations: 0 / 0.8657 GB, free: 8.512 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.004e-06/1.419, allocations: 0 / 0.8657 GB, free: 8.512 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002521/1.422, allocations: 6.594 kB / 0.8657 GB, free: 8.508 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.1353/1.557, allocations: 37.66 MB / 0.9025 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.557, allocations: 12.02 kB / 0.9025 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02019/1.577, allocations: 4.308 MB / 0.9067 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05622/1.633, allocations: 9.519 MB / 0.916 GB, free: 5.328 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07018/1.704, allocations: 29.62 MB / 0.9449 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002415/1.706, allocations: 1.886 MB / 0.9468 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0148/1.721, allocations: 2.567 MB / 0.9493 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7796/2.501, allocations: 65.27 MB / 1.013 GB, free: 197.8 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002459/2.503, allocations: 262 kB / 1.013 GB, free: 197.7 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01412/2.517, allocations: 1.114 MB / 1.014 GB, free: 197 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01457/2.532, allocations: 7.876 MB / 1.022 GB, free: 195.1 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1103/2.642, allocations: 55 MB / 1.076 GB, free: 152.3 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.067/3.709, allocations: 267.2 MB / 1.337 GB, free: 79.49 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07399/3.783, allocations: 30.54 MB / 1.367 GB, free: 71.08 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0249/3.808, allocations: 18.55 MB / 1.385 GB, free: 62.09 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/3.81, allocations: 1.308 MB / 1.386 GB, free: 61.14 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06414/3.875, allocations: 21.89 MB / 1.407 GB, free: 47.36 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 3.004e-05/3.875, allocations: 0 / 1.407 GB, free: 47.36 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