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.04888/0.04888, allocations: 9.141 MB / 29.24 MB, free: 0.9766 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.001467/0.001467, allocations: 87.08 kB / 35.46 MB, free: 1.34 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.001099/0.001099, allocations: 163.6 kB / 41.79 MB, free: 1.562 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.068/1.068, allocations: 177.1 MB / 225.1 MB, free: 8.684 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.04005/0.04005, allocations: 10.57 MB / 295.2 MB, free: 5.828 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 9.92e-07/9.92e-07, allocations: 0 / 372.3 MB, free: 65.1 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.389e-05, allocations: 4.156 kB / 372.3 MB, free: 65.1 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.03233/0.03235, allocations: 56.74 MB / 429.1 MB, free: 14.22 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.06089, allocations: 17 MB / 446.1 MB, free: 13.29 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.07293, allocations: 0.5674 MB / 446.6 MB, free: 12.72 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0334/0.1063, allocations: 33.5 MB / 480.1 MB, free: 11.12 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01825/0.1246, allocations: 8.425 MB / 488.6 MB, free: 2.66 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.1352, allocations: 6.679 MB / 495.2 MB, free: 11.98 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1986/0.3338, allocations: 34.14 MB / 0.517 GB, free: 17.8 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03243/0.3663, allocations: 36.95 MB / 0.5531 GB, free: 15.05 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02798/0.3942, allocations: 22.49 MB / 0.575 GB, free: 4.48 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/0.4149, allocations: 18.39 MB / 0.593 GB, free: 100 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008249/0.4232, allocations: 4.995 MB / 0.5979 GB, free: 100 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.4332, allocations: 6.338 MB / 0.604 GB, free: 11.68 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01691/0.4501, allocations: 17.01 MB / 0.6207 GB, free: 11.32 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01797/0.4681, allocations: 12.1 MB / 0.6325 GB, free: 15.73 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03899/0.5071, allocations: 32.96 MB / 0.6647 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5071, allocations: 4 kB / 0.6647 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5071, allocations: 0 / 0.6647 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001379/0.5085, allocations: 0 / 0.6647 GB, free: 0.5039 MB / 474.8 MB 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.3247/0.8332, allocations: 37.32 MB / 0.7011 GB, free: 191.9 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8333, allocations: 15.28 kB / 0.7011 GB, free: 191.9 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.8518, allocations: 8.575 MB / 0.7095 GB, free: 189.1 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03098/0.8828, allocations: 21.86 MB / 0.7308 GB, free: 178.1 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/0.8842, allocations: 1.793 MB / 0.7326 GB, free: 176.4 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01035/0.8946, allocations: 2.427 MB / 0.735 GB, free: 174 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07049/0.9651, allocations: 32.42 MB / 0.7666 GB, free: 139.4 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008266/0.9659, allocations: 214.4 kB / 0.7668 GB, free: 139.2 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003383/0.9693, allocations: 1.044 MB / 0.7679 GB, free: 138.2 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004998/0.9743, allocations: 6.59 MB / 0.7743 GB, free: 131.7 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05358/1.028, allocations: 17.24 MB / 0.7911 GB, free: 114.5 MB / 0.495 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.3675/1.395, allocations: 226.6 MB / 1.012 GB, free: 43.89 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08752/1.483, allocations: 22.01 MB / 1.034 GB, free: 43.15 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/1.497, allocations: 4.486 MB / 1.038 GB, free: 43.01 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/1.498, allocations: 0.6134 MB / 1.039 GB, free: 42.98 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03015/1.528, allocations: 14.29 MB / 1.053 GB, free: 34.41 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=892): time 1.623e-05/1.528, allocations: 4 kB / 1.053 GB, free: 34.41 MB / 0.5106 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.004564705071971]