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.03637/0.03637, allocations: 9.126 MB / 28.98 MB, free: 1.141 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.0006566/0.0006566, allocations: 95.2 kB / 35.19 MB, free: 1.523 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.0008098/0.0008098, allocations: 156.6 kB / 41.47 MB, free: 1.766 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.8139/0.8139, allocations: 177.1 MB / 224.8 MB, free: 8.84 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.0385/0.0385, allocations: 10.59 MB / 294.8 MB, free: 6.027 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 1.192e-06/1.192e-06, allocations: 0 / 431.4 MB, free: 12.45 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.73e-05, allocations: 6.281 kB / 431.4 MB, free: 12.44 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.02974/0.02976, allocations: 50.37 MB / 481.7 MB, free: 9.863 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.05785, allocations: 16.87 MB / 498.6 MB, free: 8.941 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01133/0.06918, allocations: 0.5675 MB / 499.2 MB, free: 8.371 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2114/0.2805, allocations: 31.73 MB / 0.5185 GB, free: 8.77 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.2964, allocations: 8.424 MB / 0.5267 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009531/0.3059, allocations: 6.62 MB / 0.5332 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02831/0.3342, allocations: 34.15 MB / 0.5665 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04531/0.3796, allocations: 36.04 MB / 0.6017 GB, free: 13.79 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0366/0.4162, allocations: 22.36 MB / 0.6236 GB, free: 8.5 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02258/0.4387, allocations: 17.39 MB / 0.6405 GB, free: 8.469 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01017/0.4489, allocations: 4.996 MB / 0.6454 GB, free: 3.473 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.4634, allocations: 6.326 MB / 0.6516 GB, free: 13.25 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.01596/0.4794, allocations: 16.86 MB / 0.6681 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02128/0.5007, allocations: 12.01 MB / 0.6798 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4486/0.9492, allocations: 68.87 MB / 0.747 GB, free: 86.9 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9492, allocations: 4.484 kB / 0.747 GB, free: 86.9 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9492, allocations: 0 / 0.747 GB, free: 86.9 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001646/0.9509, allocations: 0 / 0.747 GB, free: 86.9 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.08691/1.038, allocations: 36.06 MB / 0.7823 GB, free: 67.61 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.038, allocations: 9.531 kB / 0.7823 GB, free: 67.61 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02146/1.059, allocations: 6.126 MB / 0.7882 GB, free: 64.58 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03593/1.095, allocations: 23.54 MB / 0.8112 GB, free: 49.26 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/1.096, allocations: 1.786 MB / 0.813 GB, free: 48.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01262/1.109, allocations: 2.437 MB / 0.8154 GB, free: 47.73 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1042/1.213, allocations: 59.92 MB / 0.8739 GB, free: 2.281 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001031/1.214, allocations: 239.4 kB / 0.8741 GB, free: 2.113 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006791/1.221, allocations: 1.044 MB / 0.8751 GB, free: 1.152 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006477/1.227, allocations: 6.588 MB / 0.8816 GB, free: 10.63 MB / 0.5731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07825/1.306, allocations: 50.19 MB / 0.9306 GB, free: 9.047 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.4802/1.786, allocations: 226.9 MB / 1.152 GB, free: 61.91 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04147/1.827, allocations: 28.81 MB / 1.18 GB, free: 33.07 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01624/1.844, allocations: 17.45 MB / 1.197 GB, free: 15.59 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/1.845, allocations: 0.5882 MB / 1.198 GB, free: 15.01 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3005/2.145, allocations: 22.18 MB / 1.22 GB, free: 217 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=892): time 1.422e-05/2.145, allocations: 0 / 1.22 GB, free: 217 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 658] [Calling sys.exit(0), Time elapsed: 4.129718014039099] Failed to read output from testmodel.py, exit status != 0: 2.4337314823642373 2.442260892 1.490565121 Calling exit ...