Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.06896/0.06896, allocations: 9.141 MB / 28.24 MB, free: 2.277 MB / 19.63 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.00159/0.00159, allocations: 89.78 kB / 34.44 MB, free: 3.523 MB / 26.18 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.001908/0.001908, allocations: 175.7 kB / 40.75 MB, free: 5.961 MB / 34.91 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.538/1.538, allocations: 177.1 MB / 224 MB, free: 13.94 MB / 206.1 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.06508/0.06508, allocations: 10.57 MB / 294.1 MB, free: 7.965 MB / 270.1 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.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 430.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.238e-05, allocations: 6.219 kB / 430.6 MB, free: 1.328 MB / 334.1 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.2751/0.2751, allocations: 50.68 MB / 481.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04829/0.3234, allocations: 15.89 MB / 497.2 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02236/0.3458, allocations: 0.5714 MB / 497.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06691/0.4127, allocations: 31.67 MB / 0.517 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0312/0.4439, allocations: 8.226 MB / 0.525 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.4607, allocations: 6.081 MB / 0.531 GB, free: 5.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.05702/0.5177, allocations: 32.47 MB / 0.5627 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08085/0.5986, allocations: 33.97 MB / 0.5959 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05768/0.6563, allocations: 20.66 MB / 0.616 GB, free: 14.56 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3748/1.031, allocations: 16.98 MB / 0.6326 GB, free: 60.44 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01679/1.048, allocations: 4.163 MB / 0.6367 GB, free: 60.44 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/1.067, allocations: 5.491 MB / 0.642 GB, free: 60.44 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.02218/1.089, allocations: 16.03 MB / 0.6577 GB, free: 60.44 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.03201/1.121, allocations: 11.13 MB / 0.6686 GB, free: 60.44 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.07523/1.196, allocations: 60.15 MB / 0.7273 GB, free: 31.04 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.197, allocations: 2.344 kB / 0.7273 GB, free: 31.04 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.934e-06/1.197, allocations: 0 / 0.7273 GB, free: 31.04 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.00222/1.199, allocations: 3.375 kB / 0.7273 GB, free: 31.04 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.1289/1.328, allocations: 35.59 MB / 0.7621 GB, free: 14.06 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.328, allocations: 8.031 kB / 0.7621 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03313/1.361, allocations: 6.125 MB / 0.7681 GB, free: 7.91 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05558/1.416, allocations: 20.51 MB / 0.7881 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002302/1.419, allocations: 1.782 MB / 0.7898 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01309/1.432, allocations: 2.446 MB / 0.7922 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.177/1.609, allocations: 56.65 MB / 0.8475 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002378/1.611, allocations: 237.2 kB / 0.8478 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01536/1.627, allocations: 1.04 MB / 0.8488 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.348/1.975, allocations: 6.203 MB / 0.8548 GB, free: 195.4 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1393/2.114, allocations: 46.77 MB / 0.9005 GB, free: 180 MB / 0.5919 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.6025/2.716, allocations: 206.1 MB / 1.102 GB, free: 91.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06935/2.786, allocations: 27.44 MB / 1.129 GB, free: 91.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02159/2.807, allocations: 16.17 MB / 1.144 GB, free: 87.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001914/2.809, allocations: 0.5845 MB / 1.145 GB, free: 87.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06471/2.874, allocations: 21.3 MB / 1.166 GB, free: 82.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 3.511e-05/2.874, allocations: 4 kB / 1.166 GB, free: 82.84 MB / 0.5919 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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.535781726241112] Failed to read output from testmodel.py, exit status != 0: 3.764488250017166 3.781064146 2.580415919 Calling exit ...