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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04995/0.04995, allocations: 12.18 MB / 31.03 MB, free: 1 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 118.5 kB / 37.24 MB, free: 1.344 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 219.6 kB / 43.58 MB, free: 3.277 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.077/1.077, allocations: 230.6 MB / 280.4 MB, free: 7.105 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.04598/0.04598, allocations: 13.89 MB / 353.7 MB, free: 15.07 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.04115/0.04115, allocations: 30.18 MB / 0.5091 GB, free: 480 kB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.6038, allocations: 59.68 MB / 0.5674 GB, free: 13.68 MB / 394.9 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.04591/0.6497, allocations: 53.88 MB / 0.62 GB, free: 13 MB / 442.9 MB Notification: Performance of NFInst.instExpressions: time 0.04184/0.6916, allocations: 17.91 MB / 0.6375 GB, free: 11.18 MB / 458.9 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01592/0.7075, allocations: 0.5947 MB / 0.6381 GB, free: 10.58 MB / 458.9 MB Notification: Performance of NFTyping.typeComponents: time 0.05899/0.7665, allocations: 30.94 MB / 0.6683 GB, free: 11.58 MB / 490.9 MB Notification: Performance of NFTyping.typeBindings: time 0.03997/0.8065, allocations: 8.733 MB / 0.6768 GB, free: 2.875 MB / 490.9 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.01323/0.8197, allocations: 6.106 MB / 0.6828 GB, free: 12.79 MB / 0.495 GB Notification: Performance of NFFlatten.flatten: time 0.3613/1.181, allocations: 30.38 MB / 0.7125 GB, free: 15.03 MB / 0.495 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05731/1.238, allocations: 33.19 MB / 0.7449 GB, free: 10.41 MB / 0.495 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02982/1.268, allocations: 14.4 MB / 0.7589 GB, free: 4.125 MB / 0.495 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03476/1.303, allocations: 16.68 MB / 0.7752 GB, free: 13.5 MB / 0.5107 GB Notification: Performance of NFPackage.collectConstants: time 0.01808/1.321, allocations: 4.968 MB / 0.7801 GB, free: 10.32 MB / 0.5107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02307/1.344, allocations: 6.295 MB / 0.7862 GB, free: 4.176 MB / 0.5107 GB Notification: Performance of NFScalarize.scalarize: time 0.02906/1.373, allocations: 16.86 MB / 0.8027 GB, free: 3.508 MB / 0.5263 GB Notification: Performance of NFVerifyModel.verify: time 0.03735/1.41, allocations: 14.54 MB / 0.8169 GB, free: 5.016 MB / 0.5419 GB Notification: Performance of NFConvertDAE.convert: time 0.1035/1.514, allocations: 69.78 MB / 0.885 GB, free: 360 kB / 0.6044 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/1.514, allocations: 3.984 kB / 0.885 GB, free: 356 kB / 0.6044 GB Notification: Performance of FrontEnd: time 3.356e-06/1.514, allocations: 2.656 kB / 0.885 GB, free: 356 kB / 0.6044 GB Notification: Performance of Transformations before backend: time 0.002915/1.517, allocations: 0 / 0.885 GB, free: 356 kB / 0.6044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8610 * Number of variables: 8610 Notification: Performance of Generate backend data structure: time 0.1179/1.635, allocations: 37.83 MB / 0.922 GB, free: 10.73 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 6.828e-05/1.635, allocations: 12.62 kB / 0.922 GB, free: 10.71 MB / 0.6513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02285/1.658, allocations: 4.247 MB / 0.9261 GB, free: 6.559 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04318/1.701, allocations: 9.38 MB / 0.9353 GB, free: 13.21 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6136/2.314, allocations: 28.16 MB / 0.9628 GB, free: 214.9 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001176/2.316, allocations: 1.875 MB / 0.9646 GB, free: 214.2 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01122/2.327, allocations: 2.551 MB / 0.9671 GB, free: 213.4 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1212/2.448, allocations: 64.37 MB / 1.03 GB, free: 157.7 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009089/2.449, allocations: 265.5 kB / 1.03 GB, free: 157.5 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006392/2.455, allocations: 1.11 MB / 1.031 GB, free: 156.5 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005894/2.461, allocations: 7.509 MB / 1.039 GB, free: 149 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08502/2.546, allocations: 53.98 MB / 1.091 GB, free: 95.08 MB / 0.6671 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.582/3.128, allocations: 244.9 MB / 1.331 GB, free: 104.1 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04478/3.173, allocations: 28.87 MB / 1.359 GB, free: 93.16 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01738/3.19, allocations: 17.79 MB / 1.376 GB, free: 83.09 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/3.192, allocations: 0.584 MB / 1.377 GB, free: 82.89 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04005/3.232, allocations: 21.94 MB / 1.398 GB, free: 62.63 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=964): time 2.166e-05/3.232, allocations: 0 / 1.398 GB, free: 62.63 MB / 0.6984 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.134541089646518]