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.03933/0.03933, allocations: 9.125 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.005716/0.04505, allocations: 3.426 MB / 22.46 MB, free: 3.723 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.000573/0.000573, allocations: 90.55 kB / 23.31 MB, free: 2.887 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009382/0.001511, allocations: 455.5 kB / 23.76 MB, free: 2.441 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.0006959/0.0006959, allocations: 152.9 kB / 24.65 MB, free: 1.551 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003651/0.004347, allocations: 479.2 kB / 25.12 MB, free: 1.082 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.9576/0.9576, allocations: 177.2 MB / 203 MB, free: 8.258 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1609/1.119, allocations: 53.67 MB / 256.7 MB, free: 5.312 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.04097/0.04097, allocations: 10.58 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008511/0.04949, allocations: 3.714 MB / 271.8 MB, free: 6.574 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.542e-06/1.542e-06, allocations: 0 / 273 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.187e-05, allocations: 10.25 kB / 273 MB, free: 5.289 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.039/0.03903, allocations: 55.5 MB / 328.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2758/0.3149, allocations: 16.98 MB / 345.5 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01048/0.3254, allocations: 0.5749 MB / 346.1 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03006/0.3554, allocations: 31.93 MB / 378 MB, free: 15.78 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01669/0.3721, allocations: 8.241 MB / 386.3 MB, free: 11.86 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009978/0.3821, allocations: 6.231 MB / 392.5 MB, free: 6.613 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03262/0.4147, allocations: 32.75 MB / 425.3 MB, free: 7.734 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04674/0.4614, allocations: 32.72 MB / 458 MB, free: 8.133 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03657/0.498, allocations: 21.85 MB / 479.8 MB, free: 3.289 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02372/0.5217, allocations: 17.5 MB / 497.3 MB, free: 3.285 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009237/0.531, allocations: 4.156 MB / 0.4897 GB, free: 15.12 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/0.5446, allocations: 5.543 MB / 0.4951 GB, free: 9.688 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.3033/0.8479, allocations: 14.36 MB / 0.5092 GB, free: 71.32 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02254/0.8704, allocations: 9.203 MB / 0.5182 GB, free: 71.32 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.03442/0.9048, allocations: 28.75 MB / 0.5462 GB, free: 69.33 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-05/0.9049, allocations: 2.188 kB / 0.5462 GB, free: 69.33 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.582e-06/0.9049, allocations: 0 / 0.5462 GB, free: 69.33 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001491/0.9063, allocations: 0.625 kB / 0.5462 GB, free: 69.33 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.06992/0.9763, allocations: 38.17 MB / 0.5835 GB, free: 53.09 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9763, allocations: 12.75 kB / 0.5835 GB, free: 53.08 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/0.9958, allocations: 5.146 MB / 0.5885 GB, free: 50.03 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0277/1.023, allocations: 15.01 MB / 0.6032 GB, free: 37.84 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001333/1.025, allocations: 1.785 MB / 0.6049 GB, free: 36.14 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007496/1.032, allocations: 2.437 MB / 0.6073 GB, free: 33.82 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07157/1.104, allocations: 26.56 MB / 0.6333 GB, free: 6.949 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001466/1.105, allocations: 221.8 kB / 0.6335 GB, free: 6.816 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007427/1.113, allocations: 1.043 MB / 0.6345 GB, free: 5.855 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006257/1.119, allocations: 5.299 MB / 0.6397 GB, free: 0.5977 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04215/1.161, allocations: 12.54 MB / 0.6519 GB, free: 4.82 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.3829/1.544, allocations: 151.4 MB / 0.7998 GB, free: 40.65 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03244/1.576, allocations: 20.49 MB / 0.8198 GB, free: 38.09 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00861/1.585, allocations: 2.779 MB / 0.8225 GB, free: 37.66 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/1.586, allocations: 0.8078 MB / 0.8233 GB, free: 37.41 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02784/1.614, allocations: 9.924 MB / 0.833 GB, free: 32.47 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 1.895e-05/1.614, allocations: 0 / 0.833 GB, free: 32.47 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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.5490163806825876]