Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.06314/0.06314, allocations: 9.142 MB / 28.24 MB, free: 2.281 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.001371/0.001371, allocations: 94.42 kB / 34.45 MB, free: 3.539 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.001604/0.001604, allocations: 177.2 kB / 40.76 MB, free: 5.98 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.488/1.488, allocations: 177.1 MB / 224 MB, free: 13.93 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.06183/0.06183, allocations: 10.57 MB / 294.1 MB, free: 7.949 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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 430.6 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.751e-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 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.Tests.controlModuleTest2): time 0.2587/0.2588, allocations: 50.68 MB / 481.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04365/0.3024, allocations: 15.9 MB / 497.2 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01757/0.32, allocations: 0.5714 MB / 497.8 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06301/0.383, allocations: 31.66 MB / 0.517 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02809/0.4111, allocations: 8.224 MB / 0.525 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.4258, allocations: 6.087 MB / 0.531 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04802/0.4738, allocations: 32.46 MB / 0.5627 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06438/0.5382, allocations: 33.98 MB / 0.5959 GB, free: 3.242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05419/0.5923, allocations: 20.65 MB / 0.616 GB, free: 14.56 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3277/0.92, allocations: 16.98 MB / 0.6326 GB, free: 60.69 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01705/0.9371, allocations: 4.162 MB / 0.6367 GB, free: 60.69 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0192/0.9563, allocations: 5.495 MB / 0.642 GB, free: 60.69 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.02146/0.9777, allocations: 16.03 MB / 0.6577 GB, free: 60.69 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.03145/1.009, allocations: 11.13 MB / 0.6686 GB, free: 60.69 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.07027/1.079, allocations: 60.15 MB / 0.7273 GB, free: 31.25 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.079, allocations: 0 / 0.7273 GB, free: 31.25 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.593e-06/1.079, allocations: 0 / 0.7273 GB, free: 31.25 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.002265/1.082, allocations: 0 / 0.7273 GB, free: 31.25 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.1238/1.206, allocations: 35.6 MB / 0.7621 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.206, allocations: 8.031 kB / 0.7621 GB, free: 14.05 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03283/1.238, allocations: 6.124 MB / 0.7681 GB, free: 7.902 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05479/1.293, allocations: 20.51 MB / 0.7881 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002334/1.296, allocations: 1.79 MB / 0.7898 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01289/1.308, allocations: 2.439 MB / 0.7922 GB, free: 116 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1611/1.469, allocations: 56.66 MB / 0.8475 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001745/1.471, allocations: 229 kB / 0.8478 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009979/1.481, allocations: 1.046 MB / 0.8488 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2824/1.764, allocations: 6.206 MB / 0.8548 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/1.88, allocations: 46.76 MB / 0.9005 GB, free: 179.9 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.6544/2.535, allocations: 206.2 MB / 1.102 GB, free: 91.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06801/2.603, allocations: 27.41 MB / 1.129 GB, free: 91.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02093/2.624, allocations: 16.18 MB / 1.144 GB, free: 87.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/2.625, allocations: 0.5795 MB / 1.145 GB, free: 87.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06051/2.686, allocations: 21.31 MB / 1.166 GB, free: 82.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=901): time 2.416e-05/2.686, allocations: 0 / 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.291289526969194] Failed to read output from testmodel.py, exit status != 0: 3.6085325479507446 3.619859614 2.537337919 Calling exit ...