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.0416/0.0416, allocations: 9.128 MB / 28.22 MB, free: 1.121 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.0007269/0.0007269, allocations: 94.7 kB / 34.43 MB, free: 1.508 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.0009881/0.0009881, allocations: 159.1 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.8996/0.8996, 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.04674/0.04674, allocations: 10.57 MB / 294.1 MB, free: 6.055 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.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 430.1 MB, free: 12.86 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.735e-05, allocations: 6.219 kB / 430.1 MB, free: 12.86 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.03282/0.03284, allocations: 50.38 MB / 480.5 MB, free: 10.27 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02928/0.06211, allocations: 16.87 MB / 497.4 MB, free: 9.359 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.07244, allocations: 0.5674 MB / 497.9 MB, free: 8.789 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2528/0.3252, allocations: 31.73 MB / 0.5172 GB, free: 8.438 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02115/0.3464, allocations: 8.415 MB / 0.5255 GB, free: 7.684 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.3583, allocations: 6.619 MB / 0.5319 GB, free: 7.566 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03738/0.3957, allocations: 34.16 MB / 0.5653 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05889/0.4546, allocations: 36.03 MB / 0.6005 GB, free: 13.97 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04916/0.5037, allocations: 22.36 MB / 0.6223 GB, free: 8.688 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03242/0.5361, allocations: 17.4 MB / 0.6393 GB, free: 8.645 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01291/0.549, allocations: 4.996 MB / 0.6442 GB, free: 3.648 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01743/0.5665, allocations: 6.319 MB / 0.6503 GB, free: 13.43 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0226/0.5891, allocations: 16.88 MB / 0.6668 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02636/0.6154, allocations: 12.07 MB / 0.6786 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4988/1.114, allocations: 69.19 MB / 0.7462 GB, free: 86.77 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.114, allocations: 0 / 0.7462 GB, free: 86.77 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.975e-06/1.114, allocations: 3 kB / 0.7462 GB, free: 86.77 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002018/1.116, allocations: 0 / 0.7462 GB, free: 86.77 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: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.1108/1.227, allocations: 36.34 MB / 0.7817 GB, free: 67.07 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.227, allocations: 13.48 kB / 0.7817 GB, free: 67.07 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02065/1.248, allocations: 3.922 MB / 0.7855 GB, free: 64.44 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03234/1.28, allocations: 8.32 MB / 0.7936 GB, free: 60.38 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04671/1.327, allocations: 24.79 MB / 0.8179 GB, free: 44.16 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001399/1.328, allocations: 1.784 MB / 0.8196 GB, free: 42.46 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01646/1.345, allocations: 2.437 MB / 0.822 GB, free: 40.11 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1331/1.478, allocations: 59.84 MB / 0.8804 GB, free: 10.39 MB / 0.5731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001718/1.479, allocations: 235.8 kB / 0.8806 GB, free: 10.23 MB / 0.5731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01556/1.495, allocations: 1.043 MB / 0.8817 GB, free: 9.266 MB / 0.5731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008982/1.504, allocations: 6.582 MB / 0.8881 GB, free: 2.75 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09725/1.601, allocations: 50.04 MB / 0.937 GB, free: 1.32 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.529/2.13, allocations: 231.6 MB / 1.163 GB, free: 49.88 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04293/2.173, allocations: 28.73 MB / 1.191 GB, free: 21.11 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0191/2.192, allocations: 17.36 MB / 1.208 GB, free: 3.727 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/2.194, allocations: 0.5973 MB / 1.209 GB, free: 3.129 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2798/2.473, allocations: 22.1 MB / 1.23 GB, free: 216.7 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=892): time 1.667e-05/2.473, allocations: 0 / 1.23 GB, free: 216.7 MB / 0.6356 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.946082206442952] Failed to read output from testmodel.py, exit status != 0: 2.8314814772456884 3.027990677 1.723572027 Calling exit ...