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.07819/0.07819, allocations: 9.139 MB / 28.49 MB, free: 0.9922 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.001895/0.001895, allocations: 87.27 kB / 34.74 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.002239/0.002239, allocations: 162.3 kB / 41.06 MB, free: 1.555 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.622/1.622, allocations: 177.1 MB / 224.4 MB, free: 8.691 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.09292/0.09292, allocations: 10.57 MB / 294.5 MB, free: 5.832 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.512e-06/1.512e-06, allocations: 0 / 371.6 MB, free: 64.88 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/2.981e-05, allocations: 3.031 kB / 371.6 MB, free: 64.87 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.04773/0.04776, allocations: 56.38 MB / 428 MB, free: 14.41 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03681/0.08457, allocations: 15.88 MB / 443.9 MB, free: 14.6 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01483/0.0994, allocations: 0.5636 MB / 444.4 MB, free: 14.04 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0688/0.1682, allocations: 33.36 MB / 477.8 MB, free: 12.58 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02491/0.1931, allocations: 8.189 MB / 486 MB, free: 4.352 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.2067, allocations: 6.069 MB / 492.1 MB, free: 14.28 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2534/0.4601, allocations: 32.29 MB / 0.5121 GB, free: 17.71 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05113/0.5112, allocations: 34.75 MB / 0.546 GB, free: 16.27 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04839/0.5596, allocations: 20.7 MB / 0.5662 GB, free: 8.375 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02772/0.5873, allocations: 17.93 MB / 0.5837 GB, free: 5.016 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01567/0.603, allocations: 4.147 MB / 0.5878 GB, free: 5.016 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01822/0.6212, allocations: 5.478 MB / 0.5931 GB, free: 4.812 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02637/0.6476, allocations: 16.14 MB / 0.6089 GB, free: 6.098 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03455/0.6822, allocations: 11.18 MB / 0.6198 GB, free: 11.44 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0929/0.7751, allocations: 60.19 MB / 0.6786 GB, free: 0.9258 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7751, allocations: 4 kB / 0.6786 GB, free: 0.9219 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7751, allocations: 0 / 0.6786 GB, free: 0.9219 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.002064/0.7771, allocations: 0 / 0.6786 GB, free: 0.9219 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: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.4989/1.276, allocations: 40.91 MB / 0.7185 GB, free: 163.9 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.276, allocations: 8.531 kB / 0.7185 GB, free: 163.9 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04438/1.32, allocations: 8.469 MB / 0.7268 GB, free: 157.3 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04839/1.369, allocations: 19.02 MB / 0.7454 GB, free: 139.7 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001982/1.371, allocations: 1.781 MB / 0.7471 GB, free: 138 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01136/1.382, allocations: 2.425 MB / 0.7495 GB, free: 135.7 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1141/1.496, allocations: 36.28 MB / 0.7849 GB, free: 96.41 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00197/1.498, allocations: 214.4 kB / 0.7851 GB, free: 96.2 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01039/1.509, allocations: 1.046 MB / 0.7861 GB, free: 95.23 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009002/1.518, allocations: 6.209 MB / 0.7922 GB, free: 89.04 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06786/1.586, allocations: 18.16 MB / 0.8099 GB, free: 70.88 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.9353/2.521, allocations: 302.8 MB / 1.106 GB, free: 132.1 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06127/2.582, allocations: 17.02 MB / 1.122 GB, free: 131.5 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01211/2.594, allocations: 4.757 MB / 1.127 GB, free: 131.4 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001719/2.596, allocations: 0.6067 MB / 1.128 GB, free: 131.4 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05854/2.654, allocations: 15.27 MB / 1.142 GB, free: 128.8 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=891): time 2.617e-05/2.654, allocations: 1.688 kB / 1.142 GB, free: 128.8 MB / 0.5419 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.972056615981273]