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.0495/0.0495, allocations: 9.131 MB / 28.22 MB, free: 1.109 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. " [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.001212/0.001212, allocations: 97.52 kB / 34.43 MB, free: 1.508 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.001084/0.001084, allocations: 161.3 kB / 40.72 MB, free: 1.758 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 1.016/1.016, allocations: 177.1 MB / 224.1 MB, free: 8.82 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.03985/0.03985, allocations: 10.58 MB / 294.1 MB, free: 6.023 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 430.9 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.242e-05, allocations: 9.172 kB / 430.9 MB, free: 12.12 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.03064/0.03066, allocations: 50.67 MB / 481.6 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03064/0.0613, allocations: 15.9 MB / 497.5 MB, free: 9.289 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/0.07354, allocations: 0.5714 MB / 498 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3732/0.4467, allocations: 31.65 MB / 0.5173 GB, free: 9.102 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01847/0.4652, allocations: 8.237 MB / 0.5253 GB, free: 8.336 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009863/0.4751, allocations: 6.078 MB / 0.5312 GB, free: 8.223 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03341/0.5085, allocations: 32.47 MB / 0.563 GB, free: 1.438 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04063/0.5491, allocations: 33.99 MB / 0.5961 GB, free: 2.656 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04296/0.5921, allocations: 20.65 MB / 0.6163 GB, free: 15.07 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0219/0.614, allocations: 16.98 MB / 0.6329 GB, free: 15.45 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008613/0.6226, allocations: 4.168 MB / 0.637 GB, free: 11.29 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.6338, allocations: 5.481 MB / 0.6423 GB, free: 5.902 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01668/0.6505, allocations: 16.06 MB / 0.658 GB, free: 6.434 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01985/0.6704, allocations: 11.19 MB / 0.6689 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4436/1.114, allocations: 60.4 MB / 0.7279 GB, free: 88.38 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.114, allocations: 0.6875 kB / 0.7279 GB, free: 88.38 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.184e-06/1.114, allocations: 0 / 0.7279 GB, free: 88.38 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001689/1.116, allocations: 1.969 kB / 0.7279 GB, free: 88.38 MB / 0.5419 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.08422/1.2, allocations: 35.88 MB / 0.763 GB, free: 74.51 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.2, allocations: 12.19 kB / 0.763 GB, free: 74.51 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009711/1.21, allocations: 3.927 MB / 0.7668 GB, free: 73.54 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02474/1.234, allocations: 8.226 MB / 0.7748 GB, free: 70.02 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03349/1.268, allocations: 21.64 MB / 0.796 GB, free: 57.52 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/1.269, allocations: 1.789 MB / 0.7977 GB, free: 56.77 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01097/1.28, allocations: 2.449 MB / 0.8001 GB, free: 55.98 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09695/1.377, allocations: 56.58 MB / 0.8554 GB, free: 14.82 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009784/1.378, allocations: 236 kB / 0.8556 GB, free: 14.66 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007402/1.385, allocations: 1.045 MB / 0.8566 GB, free: 13.7 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00596/1.391, allocations: 6.211 MB / 0.8627 GB, free: 7.555 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08543/1.477, allocations: 46.62 MB / 0.9082 GB, free: 9.531 MB / 0.6044 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.4475/1.924, allocations: 210.7 MB / 1.114 GB, free: 102.1 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03855/1.963, allocations: 27.37 MB / 1.141 GB, free: 74.68 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01269/1.975, allocations: 16.11 MB / 1.156 GB, free: 58.55 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007665/1.976, allocations: 0.5815 MB / 1.157 GB, free: 57.97 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03142/2.008, allocations: 21.22 MB / 1.178 GB, free: 36.67 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=901): time 1.028e-05/2.008, allocations: 0 / 1.178 GB, free: 36.67 MB / 0.6356 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 657] [Calling sys.exit(0), Time elapsed: 4.528984196484089]