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.06548/0.06548, allocations: 12.03 MB / 27.66 MB, free: 1.25 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.0009272/0.0009272, allocations: 108 kB / 31.37 MB, free: 4.488 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.001067/0.001068, allocations: 192.1 kB / 35.21 MB, free: 0.6719 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.258/1.258, allocations: 222.9 MB / 261.8 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1498/0.1498, allocations: 13.66 MB / 328.5 MB, free: 2.641 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.2934/0.2934, allocations: 19.64 MB / 471.9 MB, free: 37.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07786/0.3713, allocations: 55.41 MB / 0.515 GB, free: 13.24 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.05229/0.4236, allocations: 65.07 MB / 0.5785 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03467/0.4583, allocations: 18.53 MB / 0.5966 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0122/0.4705, allocations: 0.518 MB / 0.5971 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05176/0.5223, allocations: 32.14 MB / 0.6285 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2284/0.7507, allocations: 8.847 MB / 0.6371 GB, free: 7.594 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.01018/0.7609, allocations: 6.041 MB / 0.643 GB, free: 7.594 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03014/0.7911, allocations: 29.93 MB / 0.6723 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05054/0.8417, allocations: 48.67 MB / 0.7198 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0202/0.8619, allocations: 14.31 MB / 0.7338 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02234/0.8843, allocations: 17.45 MB / 0.7508 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.009617/0.8939, allocations: 4.992 MB / 0.7557 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01287/0.9068, allocations: 6.387 MB / 0.7619 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.01812/0.9249, allocations: 16.7 MB / 0.7782 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02629/0.9512, allocations: 19.79 MB / 0.7976 GB, free: 14.04 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.06297/1.014, allocations: 70.05 MB / 0.866 GB, free: 9.117 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/1.014, allocations: 4 kB / 0.866 GB, free: 9.113 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.623e-06/1.014, allocations: 0 / 0.866 GB, free: 9.113 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001343/1.016, allocations: 0 / 0.866 GB, free: 9.113 MB / 0.6388 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.4618/1.477, allocations: 36.89 MB / 0.902 GB, free: 205.8 MB / 0.6389 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.477, allocations: 10.59 kB / 0.902 GB, free: 205.8 MB / 0.6389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01116/1.489, allocations: 4.312 MB / 0.9062 GB, free: 202.9 MB / 0.6389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0413/1.53, allocations: 9.353 MB / 0.9153 GB, free: 198.2 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04093/1.571, allocations: 29.52 MB / 0.9442 GB, free: 170.4 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/1.572, allocations: 1.892 MB / 0.946 GB, free: 168.6 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008269/1.58, allocations: 2.568 MB / 0.9485 GB, free: 166.1 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1065/1.687, allocations: 65.27 MB / 1.012 GB, free: 98.45 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001212/1.688, allocations: 253.7 kB / 1.013 GB, free: 98.2 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007172/1.695, allocations: 1.124 MB / 1.014 GB, free: 97.18 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008937/1.704, allocations: 7.867 MB / 1.021 GB, free: 89.34 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08528/1.79, allocations: 55 MB / 1.075 GB, free: 34.34 MB / 0.6389 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.7128/2.502, allocations: 266.8 MB / 1.336 GB, free: 17.4 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06404/2.567, allocations: 30.53 MB / 1.365 GB, free: 2.602 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02172/2.588, allocations: 18.55 MB / 1.383 GB, free: 24 kB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2248/2.813, allocations: 1.303 MB / 1.385 GB, free: 232.5 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05678/2.87, allocations: 21.89 MB / 1.406 GB, free: 230 MB / 0.686 GB Notification: Performance of pre-optimization done (n=964): time 1.339e-05/2.87, allocations: 0 / 1.406 GB, free: 230 MB / 0.686 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