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.04144/0.04144, allocations: 9.137 MB / 28.93 MB, free: 0.8477 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.000852/0.000852, allocations: 86.61 kB / 35.24 MB, free: 1.125 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.001199/0.001199, allocations: 156.1 kB / 41.65 MB, free: 1.328 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.966/0.966, allocations: 177.1 MB / 225.1 MB, free: 5.566 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.04873/0.04873, allocations: 10.56 MB / 295.3 MB, free: 5.188 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: translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 372.9 MB, free: 43.81 MB / 314.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.795e-05, allocations: 4 kB / 372.9 MB, free: 43.81 MB / 314.8 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.09773/0.09775, allocations: 82.28 MB / 455.2 MB, free: 9.664 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.03406/0.1318, allocations: 18.02 MB / 473.2 MB, free: 7.59 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01294/0.1448, allocations: 0.5986 MB / 473.8 MB, free: 6.988 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2578/0.4026, allocations: 33.86 MB / 0.4958 GB, free: 33.04 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02436/0.4269, allocations: 8.979 MB / 0.5045 GB, free: 32.19 MB / 394.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.0114/0.4383, allocations: 6.844 MB / 0.5112 GB, free: 32.08 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.03882/0.4771, allocations: 35.62 MB / 0.546 GB, free: 21.35 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05116/0.5283, allocations: 37.96 MB / 0.5831 GB, free: 2.645 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04736/0.5757, allocations: 23.94 MB / 0.6065 GB, free: 11.94 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02526/0.6009, allocations: 19.19 MB / 0.6252 GB, free: 10.31 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01183/0.6128, allocations: 5.082 MB / 0.6302 GB, free: 5.23 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.6305, allocations: 6.553 MB / 0.6366 GB, free: 14.8 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02577/0.6563, allocations: 17.74 MB / 0.6539 GB, free: 13.7 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02739/0.6837, allocations: 12.54 MB / 0.6661 GB, free: 1.68 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.2934/0.977, allocations: 34.62 MB / 0.6999 GB, free: 76.6 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.977, allocations: 2.906 kB / 0.6999 GB, free: 76.6 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.977, allocations: 0.625 kB / 0.6999 GB, free: 76.6 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.002292/0.9793, allocations: 0 / 0.6999 GB, free: 76.6 MB / 490.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.105/1.084, allocations: 37.63 MB / 0.7367 GB, free: 58.33 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.084, allocations: 9.438 kB / 0.7367 GB, free: 58.33 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04852/1.133, allocations: 8.348 MB / 0.7449 GB, free: 55.29 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04375/1.177, allocations: 21.11 MB / 0.7655 GB, free: 41.9 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002074/1.179, allocations: 1.878 MB / 0.7673 GB, free: 41.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01984/1.199, allocations: 2.55 MB / 0.7698 GB, free: 40.33 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1338/1.332, allocations: 31.37 MB / 0.8004 GB, free: 10.16 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.002279/1.335, allocations: 237 kB / 0.8007 GB, free: 10.02 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01504/1.35, allocations: 1.105 MB / 0.8017 GB, free: 9.02 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006861/1.357, allocations: 6.662 MB / 0.8082 GB, free: 2.438 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05939/1.416, allocations: 13.84 MB / 0.8218 GB, free: 5.531 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.565/1.981, allocations: 245.1 MB / 1.061 GB, free: 14.85 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2826/2.264, allocations: 21.85 MB / 1.082 GB, free: 175.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008961/2.273, allocations: 3.547 MB / 1.086 GB, free: 174.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/2.274, allocations: 0.8304 MB / 1.087 GB, free: 174.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03004/2.304, allocations: 11.23 MB / 1.098 GB, free: 174.5 MB / 0.573 GB Notification: Performance of pre-optimization done (n=910): time 1.998e-05/2.304, allocations: 2.75 kB / 1.098 GB, free: 174.5 MB / 0.573 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.5173386060632765]