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.04029/0.04029, allocations: 9.138 MB / 28.23 MB, free: 1.121 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.0006975/0.0006975, allocations: 94.39 kB / 34.43 MB, free: 1.52 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.0008757/0.0008757, allocations: 160.5 kB / 40.72 MB, free: 1.75 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.8921/0.8921, allocations: 177.1 MB / 224.1 MB, free: 8.812 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.03809/0.03809, allocations: 10.57 MB / 294.1 MB, free: 6.051 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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 430.1 MB, free: 12.85 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.847e-05, allocations: 6.219 kB / 430.1 MB, free: 12.84 MB / 330.8 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.03448/0.0345, allocations: 50.68 MB / 480.8 MB, free: 9.953 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03372/0.06822, allocations: 15.89 MB / 496.7 MB, free: 10.02 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01454/0.08276, allocations: 0.5714 MB / 497.2 MB, free: 9.441 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2816/0.3644, allocations: 31.65 MB / 0.5165 GB, free: 8.461 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02122/0.3856, allocations: 8.233 MB / 0.5245 GB, free: 7.719 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01126/0.3969, allocations: 6.079 MB / 0.5305 GB, free: 7.602 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03643/0.4333, allocations: 32.46 MB / 0.5622 GB, free: 1.324 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05448/0.4878, allocations: 34 MB / 0.5954 GB, free: 2.961 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04741/0.5352, allocations: 20.65 MB / 0.6156 GB, free: 15.38 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02453/0.5597, allocations: 16.98 MB / 0.6321 GB, free: 15.76 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01146/0.5712, allocations: 4.164 MB / 0.6362 GB, free: 11.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.5881, allocations: 5.491 MB / 0.6416 GB, free: 6.207 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02241/0.6106, allocations: 16.05 MB / 0.6572 GB, free: 6.754 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02702/0.6376, allocations: 11.18 MB / 0.6682 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.5889/1.226, allocations: 60.41 MB / 0.7272 GB, free: 87.63 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/1.226, allocations: 0.8438 kB / 0.7272 GB, free: 87.63 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.255e-06/1.226, allocations: 0 / 0.7272 GB, free: 87.63 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002456/1.229, allocations: 0 / 0.7272 GB, free: 87.63 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.1156/1.345, allocations: 35.87 MB / 0.7622 GB, free: 73.98 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/1.345, allocations: 12.03 kB / 0.7622 GB, free: 73.98 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02671/1.371, allocations: 3.926 MB / 0.766 GB, free: 73 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/1.407, allocations: 8.23 MB / 0.7741 GB, free: 69.48 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04334/1.451, allocations: 21.64 MB / 0.7952 GB, free: 57.27 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001458/1.452, allocations: 1.787 MB / 0.7969 GB, free: 56.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01663/1.469, allocations: 2.45 MB / 0.7993 GB, free: 55.73 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1254/1.594, allocations: 56.58 MB / 0.8546 GB, free: 14.77 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001325/1.595, allocations: 237.1 kB / 0.8548 GB, free: 14.61 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01125/1.607, allocations: 1.038 MB / 0.8558 GB, free: 13.65 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006256/1.613, allocations: 6.214 MB / 0.8619 GB, free: 7.512 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08213/1.695, allocations: 46.62 MB / 0.9074 GB, free: 9.492 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.5148/2.21, allocations: 210.6 MB / 1.113 GB, free: 102 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03967/2.25, allocations: 27.37 MB / 1.14 GB, free: 74.61 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01501/2.265, allocations: 16.11 MB / 1.156 GB, free: 58.48 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/2.266, allocations: 0.5824 MB / 1.156 GB, free: 57.9 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03613/2.302, allocations: 21.22 MB / 1.177 GB, free: 36.59 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=901): time 1.7e-05/2.302, allocations: 0 / 1.177 GB, free: 36.59 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.9019269766286016] Failed to read output from testmodel.py, exit status != 0: 2.9095957186073065 2.917035675 1.688453866 Calling exit ...