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.03864/0.03864, allocations: 9.124 MB / 29.71 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.001021/0.001021, allocations: 86.92 kB / 36.03 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.001186/0.001186, allocations: 161.5 kB / 42.45 MB, free: 1.293 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.8126/0.8126, allocations: 177.1 MB / 225.9 MB, free: 8.582 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.04443/0.04443, allocations: 10.58 MB / 296.1 MB, free: 5.59 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.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 1.283e-06/1.283e-06, allocations: 0 / 373.7 MB, free: 64.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.187e-05, allocations: 5.453 kB / 373.7 MB, free: 64.59 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 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.02752/0.02753, allocations: 55.02 MB / 428.7 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02318/0.05071, allocations: 16 MB / 444.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00915/0.05986, allocations: 0.5714 MB / 445.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02845/0.08831, allocations: 32.82 MB / 478.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01478/0.1031, allocations: 8.243 MB / 486.3 MB, free: 5.422 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007699/0.1108, allocations: 6.154 MB / 492.5 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.2644/0.3752, allocations: 32.47 MB / 0.5127 GB, free: 17.63 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02988/0.4051, allocations: 34.89 MB / 0.5467 GB, free: 16.2 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0305/0.4356, allocations: 21.42 MB / 0.5677 GB, free: 8.805 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01838/0.454, allocations: 17.95 MB / 0.5852 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007075/0.461, allocations: 4.154 MB / 0.5892 GB, free: 5.59 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007078/0.4681, allocations: 5.478 MB / 0.5946 GB, free: 3.77 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0108/0.4789, allocations: 16.17 MB / 0.6104 GB, free: 4.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01329/0.4922, allocations: 11.21 MB / 0.6213 GB, free: 10.22 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0257/0.5179, allocations: 30.71 MB / 0.6513 GB, free: 13.26 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5179, allocations: 4 kB / 0.6513 GB, free: 13.26 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5179, allocations: 0 / 0.6513 GB, free: 13.26 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0008057/0.5187, allocations: 0 / 0.6513 GB, free: 13.26 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.0474/0.5661, allocations: 34.91 MB / 0.6854 GB, free: 11.99 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.5661, allocations: 12.62 kB / 0.6854 GB, free: 11.98 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/0.5798, allocations: 7.406 MB / 0.6927 GB, free: 4.637 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2299/0.8097, allocations: 17.43 MB / 0.7097 GB, free: 184.3 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008162/0.8105, allocations: 1.795 MB / 0.7114 GB, free: 183.6 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/0.8132, allocations: 2.43 MB / 0.7138 GB, free: 182.9 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03238/0.8455, allocations: 28.46 MB / 0.7416 GB, free: 167.6 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004818/0.846, allocations: 221.3 kB / 0.7418 GB, free: 167.4 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/0.8475, allocations: 1.046 MB / 0.7428 GB, free: 166.4 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.8508, allocations: 5.516 MB / 0.7482 GB, free: 160.9 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.8746, allocations: 12.6 MB / 0.7605 GB, free: 148.5 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.2959/1.171, allocations: 204.5 MB / 0.9603 GB, free: 45.84 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04441/1.215, allocations: 21.52 MB / 0.9813 GB, free: 45.19 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004539/1.22, allocations: 3.437 MB / 0.9846 GB, free: 45.05 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008954/1.22, allocations: 0.8011 MB / 0.9854 GB, free: 45.02 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02415/1.245, allocations: 10.88 MB / 0.9961 GB, free: 44.57 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.314e-05/1.245, allocations: 0 / 0.9961 GB, free: 44.57 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:8083:5-8083:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0327727696858346]