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.06467/0.06467, allocations: 9.144 MB / 28.49 MB, free: 0.9492 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.001431/0.001431, allocations: 87.33 kB / 34.73 MB, free: 1.312 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.001649/0.001649, allocations: 160.8 kB / 41.06 MB, free: 1.543 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.418/1.418, allocations: 177.1 MB / 224.4 MB, free: 8.668 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.064/0.064, allocations: 10.58 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 2.124e-06/2.124e-06, allocations: 1.156 kB / 371.6 MB, free: 64.84 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.169e-05, allocations: 2.312 kB / 371.6 MB, free: 64.84 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.04117/0.0412, allocations: 50.3 MB / 421.9 MB, free: 20.47 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.07305, allocations: 15.75 MB / 437.7 MB, free: 4.793 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01354/0.08659, allocations: 0.5675 MB / 438.2 MB, free: 4.223 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.065/0.1516, allocations: 32.21 MB / 470.5 MB, free: 3.922 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02809/0.1797, allocations: 8.182 MB / 478.6 MB, free: 11.7 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.1949, allocations: 6.081 MB / 484.7 MB, free: 5.613 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.05206/0.247, allocations: 32.29 MB / 0.5049 GB, free: 5.328 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2603/0.5073, allocations: 34.67 MB / 0.5387 GB, free: 18 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04564/0.553, allocations: 20.57 MB / 0.5588 GB, free: 15.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03069/0.5836, allocations: 16.93 MB / 0.5754 GB, free: 12.66 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01306/0.5967, allocations: 4.154 MB / 0.5794 GB, free: 12.66 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01812/0.6148, allocations: 5.484 MB / 0.5848 GB, free: 12.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02198/0.6368, allocations: 16.01 MB / 0.6004 GB, free: 196 kB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03144/0.6682, allocations: 11.09 MB / 0.6112 GB, free: 5.605 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.08723/0.7555, allocations: 60.02 MB / 0.6699 GB, free: 11.28 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/0.7555, allocations: 0 / 0.6699 GB, free: 11.28 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.844e-06/0.7555, allocations: 0 / 0.6699 GB, free: 11.28 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.002354/0.7578, allocations: 0 / 0.6699 GB, free: 11.28 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.4176/1.175, allocations: 35.3 MB / 0.7043 GB, free: 165.5 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/1.176, allocations: 10.91 kB / 0.7043 GB, free: 165.5 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04193/1.217, allocations: 8.493 MB / 0.7126 GB, free: 162.7 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05016/1.268, allocations: 20.74 MB / 0.7329 GB, free: 150.6 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001897/1.27, allocations: 1.787 MB / 0.7346 GB, free: 148.9 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01193/1.281, allocations: 2.435 MB / 0.737 GB, free: 146.5 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1338/1.415, allocations: 56.6 MB / 0.7923 GB, free: 88.22 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001721/1.417, allocations: 246.2 kB / 0.7925 GB, free: 87.98 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009629/1.427, allocations: 1.049 MB / 0.7935 GB, free: 87.02 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008769/1.435, allocations: 6.195 MB / 0.7996 GB, free: 80.84 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0904/1.526, allocations: 46.69 MB / 0.8452 GB, free: 34.18 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.4859/2.012, allocations: 206.7 MB / 1.047 GB, free: 34.91 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06342/2.075, allocations: 27.24 MB / 1.074 GB, free: 7.699 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02416/2.099, allocations: 16.16 MB / 1.089 GB, free: 7.52 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/2.101, allocations: 0.6277 MB / 1.09 GB, free: 6.895 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3218/2.423, allocations: 21.29 MB / 1.111 GB, free: 175.2 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=893): time 4.032e-05/2.423, allocations: 1.25 kB / 1.111 GB, free: 175.2 MB / 0.5263 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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.69794916594401]