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.0388/0.0388, allocations: 9.137 MB / 19.04 MB, free: 0.6602 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005122/0.04393, allocations: 3.425 MB / 22.46 MB, free: 3.727 MB / 24.77 MB " [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.0005417/0.0005417, allocations: 86.62 kB / 23.3 MB, free: 2.902 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009336/0.001475, allocations: 447.5 kB / 23.74 MB, free: 2.465 MB / 24.77 MB " [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.00105/0.00105, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.00243, allocations: 479.2 kB / 25.11 MB, free: 1.094 MB / 24.77 MB " [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.8459/0.8459, allocations: 177.2 MB / 203.1 MB, free: 8.258 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.135/0.9809, allocations: 53.66 MB / 256.7 MB, free: 5.309 MB / 250.7 MB " [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.03882/0.03882, allocations: 10.57 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005863/0.04468, allocations: 3.718 MB / 271.8 MB, free: 6.566 MB / 266.7 MB " [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.373e-06/1.373e-06, allocations: 0 / 273 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.24e-05, allocations: 2.312 kB / 273 MB, free: 5.293 MB / 266.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.03443/0.03445, allocations: 55.52 MB / 328.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2426/0.2771, allocations: 16.98 MB / 345.5 MB, free: 1.812 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009573/0.2867, allocations: 0.5714 MB / 346.1 MB, free: 1.812 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02602/0.3127, allocations: 31.2 MB / 377.3 MB, free: 15.85 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01484/0.3275, allocations: 8.23 MB / 385.5 MB, free: 11.84 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007321/0.3348, allocations: 5.832 MB / 391.4 MB, free: 7.754 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02681/0.3616, allocations: 31.33 MB / 422.7 MB, free: 10.29 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03679/0.3984, allocations: 32.61 MB / 455.3 MB, free: 10.81 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03237/0.4308, allocations: 21.87 MB / 477.2 MB, free: 5.945 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02085/0.4517, allocations: 17.23 MB / 494.4 MB, free: 5.898 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00856/0.4602, allocations: 4.16 MB / 498.6 MB, free: 1.738 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0118/0.472, allocations: 5.526 MB / 0.4923 GB, free: 12.31 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.294/0.766, allocations: 14.36 MB / 0.5063 GB, free: 69.71 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02809/0.7941, allocations: 9.208 MB / 0.5153 GB, free: 69.71 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.03994/0.8341, allocations: 28.73 MB / 0.5434 GB, free: 67.73 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.8341, allocations: 0 / 0.5434 GB, free: 67.73 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.814e-06/0.8341, allocations: 0 / 0.5434 GB, free: 67.73 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001178/0.8352, allocations: 0 / 0.5434 GB, free: 67.73 MB / 458.9 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.05953/0.8948, allocations: 38.18 MB / 0.5806 GB, free: 55.6 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.8948, allocations: 8.75 kB / 0.5807 GB, free: 55.59 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/0.9073, allocations: 5.147 MB / 0.5857 GB, free: 52.54 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02151/0.9288, allocations: 15.02 MB / 0.6003 GB, free: 40.32 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009583/0.9298, allocations: 1.793 MB / 0.6021 GB, free: 38.62 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005661/0.9355, allocations: 2.433 MB / 0.6045 GB, free: 36.31 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05099/0.9864, allocations: 26.55 MB / 0.6304 GB, free: 9.535 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001112/0.9876, allocations: 220 kB / 0.6306 GB, free: 9.406 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00465/0.9922, allocations: 1.048 MB / 0.6316 GB, free: 8.441 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003664/0.9959, allocations: 5.296 MB / 0.6368 GB, free: 3.18 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03374/1.03, allocations: 12.54 MB / 0.6491 GB, free: 7.398 MB / 474.9 MB 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.3371/1.367, allocations: 151.4 MB / 0.7969 GB, free: 42.43 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03895/1.406, allocations: 20.49 MB / 0.8169 GB, free: 40.21 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/1.411, allocations: 2.773 MB / 0.8197 GB, free: 39.95 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/1.412, allocations: 0.8056 MB / 0.8204 GB, free: 39.82 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02118/1.434, allocations: 9.929 MB / 0.8301 GB, free: 34.82 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.24e-05/1.434, allocations: 4 kB / 0.8301 GB, free: 34.81 MB / 0.5106 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.1819895980879664]