Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.06947/0.06947, allocations: 9.137 MB / 29.24 MB, free: 0.9805 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.001248/0.001248, allocations: 94.69 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.001143/0.001143, allocations: 161.5 kB / 41.78 MB, free: 1.566 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.9392/0.9392, 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.04007/0.04007, allocations: 10.58 MB / 295.2 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.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 372.3 MB, free: 65.14 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.183e-05, allocations: 2.859 kB / 372.4 MB, free: 65.14 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 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 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 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 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 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 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 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 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.Drone_IdealMachine): time 0.03516/0.03519, allocations: 56.42 MB / 428.8 MB, free: 14.53 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02918/0.06437, allocations: 15.87 MB / 444.6 MB, free: 14.72 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01086/0.07523, allocations: 0.5674 MB / 445.2 MB, free: 14.15 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03391/0.1091, allocations: 33.37 MB / 478.6 MB, free: 12.69 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02061/0.1298, allocations: 8.201 MB / 486.8 MB, free: 4.445 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.1413, allocations: 6.068 MB / 492.9 MB, free: 14.37 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2524/0.3937, allocations: 32.28 MB / 0.5128 GB, free: 17.69 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05027/0.444, allocations: 34.77 MB / 0.5468 GB, free: 16.25 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04095/0.4849, allocations: 20.69 MB / 0.567 GB, free: 8.426 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02614/0.5111, allocations: 17.92 MB / 0.5845 GB, free: 5.066 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01048/0.5216, allocations: 4.149 MB / 0.5885 GB, free: 5.066 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/0.5374, allocations: 5.476 MB / 0.5939 GB, free: 4.859 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0272/0.5646, allocations: 16.15 MB / 0.6097 GB, free: 6.102 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02436/0.589, allocations: 11.17 MB / 0.6206 GB, free: 11.44 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04437/0.6334, allocations: 30.6 MB / 0.6505 GB, free: 14.58 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6334, allocations: 0 / 0.6505 GB, free: 14.58 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6334, allocations: 0 / 0.6505 GB, free: 14.58 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001536/0.6349, allocations: 0 / 0.6505 GB, free: 14.58 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: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.1263/0.7612, allocations: 36.56 MB / 0.6862 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.7613, allocations: 12.62 kB / 0.6862 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02429/0.7856, allocations: 8.464 MB / 0.6944 GB, free: 1.652 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3154/1.101, allocations: 18.84 MB / 0.7128 GB, free: 189.6 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001974/1.103, allocations: 1.789 MB / 0.7146 GB, free: 188.8 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007411/1.11, allocations: 2.422 MB / 0.7169 GB, free: 188 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07579/1.186, allocations: 32.33 MB / 0.7485 GB, free: 163.1 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001029/1.187, allocations: 214.4 kB / 0.7487 GB, free: 162.9 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005018/1.192, allocations: 1.04 MB / 0.7497 GB, free: 161.9 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007135/1.199, allocations: 6.207 MB / 0.7558 GB, free: 155.7 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05102/1.25, allocations: 17.16 MB / 0.7726 GB, free: 138.7 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.4156/1.666, allocations: 209.9 MB / 0.9775 GB, free: 48.15 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04277/1.709, allocations: 21.94 MB / 0.9989 GB, free: 47.46 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01094/1.72, allocations: 4.486 MB / 1.003 GB, free: 47.31 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/1.722, allocations: 0.6012 MB / 1.004 GB, free: 47.29 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03941/1.761, allocations: 14.23 MB / 1.018 GB, free: 46.82 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=891): time 2.549e-05/1.761, allocations: 0 / 1.018 GB, free: 46.82 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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.267904500942677]