Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.07263/0.07263, allocations: 9.148 MB / 28.5 MB, free: 452 kB / 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.001449/0.001449, allocations: 86.77 kB / 34.73 MB, free: 1.152 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.002259/0.002259, allocations: 170.6 kB / 41.07 MB, free: 1.52 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 1.497/1.497, allocations: 177.1 MB / 224.4 MB, free: 8.688 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 178] 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.06958/0.06958, allocations: 10.57 MB / 294.5 MB, free: 5.84 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.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 371.6 MB, free: 64.85 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.696e-05, allocations: 4.906 kB / 371.6 MB, free: 64.85 MB / 330.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. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.04668/0.04671, allocations: 50.39 MB / 422 MB, free: 20.42 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03697/0.08368, allocations: 16.87 MB / 438.9 MB, free: 3.621 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01549/0.09916, allocations: 0.5714 MB / 439.4 MB, free: 3.047 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.06465/0.1638, allocations: 32.27 MB / 471.7 MB, free: 2.684 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02864/0.1925, allocations: 8.419 MB / 480.1 MB, free: 10.22 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01561/0.2081, allocations: 6.685 MB / 486.8 MB, free: 3.531 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.05112/0.2592, allocations: 34.17 MB / 0.5088 GB, free: 1.375 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2615/0.5207, allocations: 36.85 MB / 0.5447 GB, free: 17.76 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04829/0.569, allocations: 22.36 MB / 0.5666 GB, free: 9.473 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02644/0.5954, allocations: 17.41 MB / 0.5836 GB, free: 5.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01089/0.6063, allocations: 4.999 MB / 0.5885 GB, free: 5.91 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/0.6216, allocations: 6.339 MB / 0.5946 GB, free: 3.949 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02686/0.6484, allocations: 16.86 MB / 0.6111 GB, free: 4.836 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03121/0.6796, allocations: 12.02 MB / 0.6229 GB, free: 9.348 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1013/0.7809, allocations: 68.94 MB / 0.6902 GB, free: 6.07 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7809, allocations: 0 / 0.6902 GB, free: 6.07 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7809, allocations: 0 / 0.6902 GB, free: 6.07 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.002188/0.7831, allocations: 0 / 0.6902 GB, free: 6.07 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.5285/1.312, allocations: 36.08 MB / 0.7254 GB, free: 84.97 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.312, allocations: 9.656 kB / 0.7254 GB, free: 84.97 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03962/1.351, allocations: 8.617 MB / 0.7338 GB, free: 83.23 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04655/1.398, allocations: 23.92 MB / 0.7572 GB, free: 74.25 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001773/1.4, allocations: 1.786 MB / 0.7589 GB, free: 72.55 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01068/1.41, allocations: 2.436 MB / 0.7613 GB, free: 70.21 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1248/1.535, allocations: 60 MB / 0.8199 GB, free: 9.703 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002241/1.537, allocations: 236.2 kB / 0.8201 GB, free: 9.539 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01109/1.548, allocations: 1.043 MB / 0.8211 GB, free: 8.578 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009587/1.558, allocations: 6.597 MB / 0.8276 GB, free: 2.047 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1279/1.686, allocations: 50.26 MB / 0.8767 GB, free: 404 kB / 0.5419 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.5318/2.218, allocations: 227.8 MB / 1.099 GB, free: 53.52 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06557/2.283, allocations: 28.8 MB / 1.127 GB, free: 24.74 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01955/2.303, allocations: 17.51 MB / 1.144 GB, free: 7.195 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/2.305, allocations: 0.6417 MB / 1.145 GB, free: 6.559 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2723/2.577, allocations: 22.29 MB / 1.167 GB, free: 211.9 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=894): time 2.483e-05/2.577, allocations: 0 / 1.167 GB, free: 211.9 MB / 0.5731 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.propellerRev.blades.bodyShape4.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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 6.0940832460764796]