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.03962/0.03962, allocations: 9.126 MB / 18.91 MB, free: 0.7305 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.006821/0.04644, allocations: 3.411 MB / 22.32 MB, free: 3.809 MB / 24.77 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.0007984/0.0007984, allocations: 98.81 kB / 23.16 MB, free: 2.977 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001281/0.002079, allocations: 438.9 kB / 23.59 MB, free: 2.547 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.001032/0.001032, allocations: 160.9 kB / 24.48 MB, free: 1.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002368, allocations: 471.1 kB / 24.94 MB, free: 1.207 MB / 24.77 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 0.9635/0.9635, allocations: 177.1 MB / 202.8 MB, free: 8.375 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1391/1.103, allocations: 53.67 MB / 256.5 MB, free: 5.395 MB / 250.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.04045/0.04045, allocations: 10.57 MB / 267.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009064/0.04951, allocations: 3.714 MB / 271.5 MB, free: 6.684 MB / 266.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+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 272.7 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.761e-05, allocations: 6.109 kB / 272.7 MB, free: 5.477 MB / 266.7 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.05359/0.05361, allocations: 58.75 MB / 331.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2671/0.3207, allocations: 18.88 MB / 350.4 MB, free: 1.77 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01195/0.3326, allocations: 0.5954 MB / 351 MB, free: 1.77 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03052/0.3631, allocations: 31.89 MB / 382.8 MB, free: 12.64 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01861/0.3818, allocations: 8.956 MB / 391.8 MB, free: 7.012 MB / 346.8 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.01016/0.3919, allocations: 6.54 MB / 398.3 MB, free: 0.8711 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.0351/0.427, allocations: 34.49 MB / 432.8 MB, free: 324 kB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04607/0.4731, allocations: 35.64 MB / 468.5 MB, free: 13.85 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04124/0.5143, allocations: 24.33 MB / 492.8 MB, free: 6.555 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02629/0.5406, allocations: 18.46 MB / 0.4993 GB, free: 5.344 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01097/0.5516, allocations: 5.082 MB / 0.5042 GB, free: 268 kB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1943/0.7459, allocations: 6.591 MB / 0.5107 GB, free: 70.52 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01776/0.7637, allocations: 15.87 MB / 0.5262 GB, free: 70.52 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01917/0.7829, allocations: 10.48 MB / 0.5364 GB, free: 70.52 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03016/0.813, allocations: 32.63 MB / 0.5683 GB, free: 60.75 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.813, allocations: 1.25 kB / 0.5683 GB, free: 60.75 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.813e-06/0.813, allocations: 0 / 0.5683 GB, free: 60.75 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001411/0.8144, allocations: 0 / 0.5683 GB, free: 60.75 MB / 458.8 MB 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.07033/0.8848, allocations: 35.07 MB / 0.6025 GB, free: 36.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8848, allocations: 12.75 kB / 0.6025 GB, free: 36.59 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009947/0.8948, allocations: 4.162 MB / 0.6066 GB, free: 34.63 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.9105, allocations: 5.866 MB / 0.6123 GB, free: 29.84 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02377/0.9342, allocations: 17.15 MB / 0.6291 GB, free: 13.52 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008307/0.9351, allocations: 1.881 MB / 0.6309 GB, free: 11.74 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005273/0.9403, allocations: 2.54 MB / 0.6334 GB, free: 9.316 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05632/0.9967, allocations: 29.07 MB / 0.6618 GB, free: 11.52 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009893/0.9976, allocations: 238.9 kB / 0.662 GB, free: 11.39 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003528/1.001, allocations: 1.11 MB / 0.6631 GB, free: 10.38 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007415/1.009, allocations: 6.689 MB / 0.6696 GB, free: 3.777 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/1.054, allocations: 13.77 MB / 0.6831 GB, free: 6.926 MB / 0.4949 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.4624/1.517, allocations: 183 MB / 0.8618 GB, free: 9.43 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0391/1.556, allocations: 20.89 MB / 0.8822 GB, free: 4.938 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006632/1.562, allocations: 2.87 MB / 0.885 GB, free: 2.062 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.564, allocations: 0.8183 MB / 0.8858 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3073/1.871, allocations: 10.21 MB / 0.8958 GB, free: 153.3 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=910): time 1.223e-05/1.871, allocations: 0 / 0.8958 GB, free: 153.3 MB / 0.5421 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.5896221697330475]