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.03942/0.03942, allocations: 9.129 MB / 28.22 MB, free: 1.113 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. " [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.0007858/0.0007858, allocations: 93.52 kB / 34.43 MB, free: 1.512 MB / 24.77 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. " [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.001404/0.001404, allocations: 159.2 kB / 40.72 MB, free: 1.758 MB / 24.77 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. " [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.8643/0.8643, allocations: 177.1 MB / 224.1 MB, free: 8.809 MB / 202.7 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. " [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.0397/0.0397, allocations: 10.59 MB / 294.1 MB, free: 6.02 MB / 266.7 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. " [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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 430.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.163e-05, allocations: 12.55 kB / 430.1 MB, free: 12.88 MB / 330.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.07477/0.07479, allocations: 75.05 MB / 0.4933 GB, free: 1.789 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3893/0.464, allocations: 17.91 MB / 0.5108 GB, free: 21.51 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01305/0.4771, allocations: 0.5948 MB / 0.5114 GB, free: 21.51 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03469/0.5118, allocations: 32.68 MB / 0.5433 GB, free: 19.05 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01933/0.5311, allocations: 8.95 MB / 0.552 GB, free: 15.1 MB / 410.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.01187/0.543, allocations: 6.778 MB / 0.5587 GB, free: 10.2 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03703/0.58, allocations: 35.61 MB / 0.5934 GB, free: 11.4 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06036/0.6404, allocations: 37.02 MB / 0.6296 GB, free: 8.043 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05109/0.6915, allocations: 23.16 MB / 0.6522 GB, free: 2.012 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02745/0.7189, allocations: 18.21 MB / 0.67 GB, free: 1.281 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0138/0.7327, allocations: 5.098 MB / 0.675 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01821/0.7509, allocations: 6.559 MB / 0.6814 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.02572/0.7766, allocations: 17.63 MB / 0.6986 GB, free: 4.691 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0285/0.8051, allocations: 12.53 MB / 0.7108 GB, free: 8.691 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.5087/1.314, allocations: 71.71 MB / 0.7809 GB, free: 75.18 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.314, allocations: 0 / 0.7809 GB, free: 75.18 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.305e-06/1.314, allocations: 0.625 kB / 0.7809 GB, free: 75.18 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002495/1.316, allocations: 0.5 kB / 0.7809 GB, free: 75.18 MB / 0.5419 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.1199/1.436, allocations: 38.42 MB / 0.8184 GB, free: 50.35 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/1.436, allocations: 11.36 kB / 0.8184 GB, free: 50.35 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02409/1.46, allocations: 4.252 MB / 0.8225 GB, free: 47.53 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04118/1.502, allocations: 9.832 MB / 0.8321 GB, free: 42.74 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04655/1.548, allocations: 25.53 MB / 0.8571 GB, free: 19.51 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001711/1.55, allocations: 1.875 MB / 0.8589 GB, free: 17.74 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01602/1.566, allocations: 2.558 MB / 0.8614 GB, free: 15.29 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.172/1.738, allocations: 64.43 MB / 0.9243 GB, free: 12.69 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002736/1.741, allocations: 258.5 kB / 0.9246 GB, free: 12.52 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01843/1.759, allocations: 1.11 MB / 0.9256 GB, free: 11.51 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0102/1.769, allocations: 7.506 MB / 0.933 GB, free: 4.086 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4109/2.18, allocations: 54.04 MB / 0.9858 GB, free: 185.1 MB / 0.62 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.6755/2.856, allocations: 251.2 MB / 1.231 GB, free: 67.72 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05008/2.906, allocations: 29.61 MB / 1.26 GB, free: 67.13 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01929/2.925, allocations: 17.79 MB / 1.277 GB, free: 67 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/2.926, allocations: 0.603 MB / 1.278 GB, free: 66.98 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04397/2.97, allocations: 22.68 MB / 1.3 GB, free: 64.12 MB / 0.62 GB Notification: Performance of pre-optimization done (n=964): time 2.983e-05/2.97, allocations: 0 / 1.3 GB, free: 64.12 MB / 0.62 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 5.590494034811854] Failed to read output from testmodel.py, exit status != 0: 3.7567806877195835 3.765427568 2.449420051 Calling exit ...