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.06474/0.06474, allocations: 12.03 MB / 27.66 MB, free: 1.887 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.0009134/0.0009136, allocations: 103.9 kB / 31.37 MB, free: 4.992 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.001017/0.001017, allocations: 192.5 kB / 35.21 MB, free: 1.172 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.259/1.259, allocations: 222.9 MB / 261.8 MB, free: 7.293 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05631/0.05631, allocations: 13.68 MB / 328.5 MB, free: 492 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.02702/0.02702, allocations: 19.65 MB / 471.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2798, allocations: 55.39 MB / 0.515 GB, free: 19.84 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.0527/0.3326, allocations: 65.06 MB / 0.5785 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03429/0.3669, allocations: 18.54 MB / 0.5966 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01192/0.3788, allocations: 0.5181 MB / 0.5971 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05004/0.4289, allocations: 32.13 MB / 0.6285 GB, free: 1.301 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01954/0.4485, allocations: 8.858 MB / 0.6371 GB, free: 8.473 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.01052/0.459, allocations: 6.045 MB / 0.643 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03284/0.4918, allocations: 29.94 MB / 0.6723 GB, free: 4.578 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05188/0.5438, allocations: 48.47 MB / 0.7196 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.24/0.7838, allocations: 14.3 MB / 0.7336 GB, free: 48.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02405/0.8079, allocations: 17.46 MB / 0.7506 GB, free: 48.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01119/0.8191, allocations: 4.991 MB / 0.7555 GB, free: 48.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.8331, allocations: 6.381 MB / 0.7617 GB, free: 48.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01849/0.8516, allocations: 16.7 MB / 0.7781 GB, free: 47.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02331/0.875, allocations: 19.77 MB / 0.7974 GB, free: 32.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05701/0.932, allocations: 70.23 MB / 0.8659 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.9321, allocations: 0 / 0.8659 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9321, allocations: 5.281 kB / 0.8659 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.001554/0.9336, allocations: 0 / 0.8659 GB, free: 8.145 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.09012/1.024, allocations: 37.68 MB / 0.9027 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.024, allocations: 12.03 kB / 0.9028 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01495/1.039, allocations: 4.302 MB / 0.907 GB, free: 14.43 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/1.085, allocations: 9.533 MB / 0.9163 GB, free: 4.934 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0516/1.137, allocations: 29.61 MB / 0.9452 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001481/1.138, allocations: 1.894 MB / 0.947 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009186/1.148, allocations: 2.57 MB / 0.9495 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4913/1.639, allocations: 65.27 MB / 1.013 GB, free: 198 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001087/1.64, allocations: 251.4 kB / 1.014 GB, free: 197.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006091/1.646, allocations: 1.118 MB / 1.015 GB, free: 197.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01013/1.656, allocations: 7.874 MB / 1.022 GB, free: 195.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08718/1.744, allocations: 55.01 MB / 1.076 GB, free: 152 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 0.7058/2.449, allocations: 267.2 MB / 1.337 GB, free: 79.32 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0641/2.514, allocations: 30.53 MB / 1.367 GB, free: 70.96 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01744/2.531, allocations: 18.54 MB / 1.385 GB, free: 61.99 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/2.532, allocations: 1.307 MB / 1.386 GB, free: 61.04 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05523/2.588, allocations: 21.89 MB / 1.408 GB, free: 47.28 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 1.354e-05/2.588, allocations: 0 / 1.408 GB, free: 47.28 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