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.06098/0.06098, allocations: 9.139 MB / 28.93 MB, free: 352 kB / 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.001407/0.001407, allocations: 94.64 kB / 35.25 MB, free: 0.9688 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.001331/0.001331, allocations: 157.2 kB / 41.66 MB, free: 1.297 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.9523/0.9523, allocations: 177.1 MB / 225.1 MB, free: 8.594 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.0562/0.0562, allocations: 10.58 MB / 295.3 MB, free: 5.598 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.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.522e-06/1.522e-06, allocations: 0 / 372.9 MB, free: 64.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.534e-05, allocations: 3.469 kB / 372.9 MB, free: 64.61 MB / 330.7 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.03769/0.03771, allocations: 55.01 MB / 427.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.07141, allocations: 16.01 MB / 443.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0175/0.08891, allocations: 0.5714 MB / 444.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03619/0.1251, allocations: 32.81 MB / 477.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02524/0.1503, allocations: 8.259 MB / 485.6 MB, free: 5.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01187/0.1622, allocations: 6.14 MB / 491.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.397/0.5592, allocations: 32.47 MB / 0.5119 GB, free: 17.97 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05807/0.6173, allocations: 34.89 MB / 0.546 GB, free: 16.54 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05418/0.6715, allocations: 21.42 MB / 0.5669 GB, free: 9.145 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02617/0.6977, allocations: 17.94 MB / 0.5844 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01423/0.7119, allocations: 4.155 MB / 0.5885 GB, free: 5.703 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01713/0.729, allocations: 5.491 MB / 0.5938 GB, free: 3.898 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02423/0.7532, allocations: 16.17 MB / 0.6096 GB, free: 5.117 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02727/0.7805, allocations: 11.2 MB / 0.6206 GB, free: 10.45 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04816/0.8287, allocations: 30.71 MB / 0.6505 GB, free: 13.48 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.8287, allocations: 0 / 0.6505 GB, free: 13.48 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.614e-06/0.8287, allocations: 0 / 0.6505 GB, free: 13.48 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.002236/0.8309, allocations: 0 / 0.6505 GB, free: 13.48 MB / 474.8 MB 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.07679/0.9077, allocations: 34.92 MB / 0.6846 GB, free: 12.22 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.9078, allocations: 12.03 kB / 0.6847 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02409/0.9318, allocations: 7.405 MB / 0.6919 GB, free: 4.867 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3285/1.26, allocations: 17.42 MB / 0.7089 GB, free: 184.3 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001654/1.262, allocations: 1.792 MB / 0.7107 GB, free: 183.6 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008466/1.27, allocations: 2.441 MB / 0.713 GB, free: 182.9 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07542/1.346, allocations: 28.47 MB / 0.7408 GB, free: 167.8 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001624/1.348, allocations: 218.7 kB / 0.741 GB, free: 167.6 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006797/1.354, allocations: 1.042 MB / 0.7421 GB, free: 166.7 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005027/1.359, allocations: 5.522 MB / 0.7475 GB, free: 161.2 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04377/1.403, allocations: 12.6 MB / 0.7598 GB, free: 148.7 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.4303/1.833, allocations: 204.5 MB / 0.9595 GB, free: 47.34 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03512/1.869, allocations: 21.46 MB / 0.9804 GB, free: 46.68 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007221/1.876, allocations: 3.436 MB / 0.9838 GB, free: 46.54 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.877, allocations: 0.819 MB / 0.9846 GB, free: 46.5 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02962/1.907, allocations: 10.89 MB / 0.9952 GB, free: 46.02 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 2.239e-05/1.907, allocations: 4 kB / 0.9952 GB, free: 46.02 MB / 0.5106 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.14967974787578]