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.04268/0.04268, allocations: 9.131 MB / 28.22 MB, free: 1.125 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.0008626/0.0008626, allocations: 104.9 kB / 34.43 MB, free: 1.516 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.001153/0.001153, allocations: 160.6 kB / 40.72 MB, free: 1.754 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.9143/0.9143, allocations: 177.1 MB / 224.1 MB, free: 8.816 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.03779/0.03779, allocations: 10.6 MB / 294.1 MB, free: 8.727 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.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 430.1 MB, free: 2.316 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.502e-05, allocations: 5.094 kB / 430.1 MB, free: 2.312 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 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.03579/0.03581, allocations: 50.67 MB / 480.8 MB, free: 15.42 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.03525/0.07106, allocations: 15.9 MB / 496.7 MB, free: 15.47 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/0.08663, allocations: 0.5714 MB / 497.3 MB, free: 14.9 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2866/0.3732, allocations: 31.65 MB / 0.5165 GB, free: 13.29 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02367/0.3969, allocations: 8.228 MB / 0.5245 GB, free: 12.22 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0142/0.4111, allocations: 6.086 MB / 0.5305 GB, free: 12.11 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03864/0.4497, allocations: 32.45 MB / 0.5622 GB, free: 15.29 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05619/0.5059, allocations: 33.99 MB / 0.5954 GB, free: 15.57 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05088/0.5568, allocations: 20.65 MB / 0.6155 GB, free: 11.99 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02737/0.5842, allocations: 16.99 MB / 0.6321 GB, free: 12.36 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01064/0.5948, allocations: 4.164 MB / 0.6362 GB, free: 8.199 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/0.6082, allocations: 5.49 MB / 0.6416 GB, free: 2.812 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01902/0.6272, allocations: 16.06 MB / 0.6572 GB, free: 3.309 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.02247/0.6497, allocations: 11.19 MB / 0.6682 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.5132/1.163, allocations: 60.4 MB / 0.7271 GB, free: 89.17 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/1.163, allocations: 2.75 kB / 0.7272 GB, free: 89.17 MB / 0.5419 GB Notification: Performance of FrontEnd: time 3.527e-06/1.163, allocations: 0 / 0.7272 GB, free: 89.17 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.002608/1.166, allocations: 1.25 kB / 0.7272 GB, free: 89.17 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.111/1.277, allocations: 35.87 MB / 0.7622 GB, free: 74.5 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.277, allocations: 9.375 kB / 0.7622 GB, free: 74.5 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02048/1.297, allocations: 3.93 MB / 0.766 GB, free: 73.53 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03232/1.329, allocations: 8.229 MB / 0.7741 GB, free: 70 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04558/1.375, allocations: 21.63 MB / 0.7952 GB, free: 57.35 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001639/1.377, allocations: 1.788 MB / 0.7969 GB, free: 56.6 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01504/1.392, allocations: 2.449 MB / 0.7993 GB, free: 55.81 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1214/1.513, allocations: 56.58 MB / 0.8546 GB, free: 0.6016 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001837/1.515, allocations: 245.4 kB / 0.8548 GB, free: 440 kB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01594/1.531, allocations: 1.045 MB / 0.8558 GB, free: 15.48 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007598/1.538, allocations: 6.205 MB / 0.8619 GB, free: 9.344 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08862/1.627, allocations: 46.62 MB / 0.9074 GB, free: 11.32 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.5162/2.143, allocations: 210.7 MB / 1.113 GB, free: 104.4 MB / 0.6357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04189/2.185, allocations: 27.36 MB / 1.14 GB, free: 77.06 MB / 0.6357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01548/2.201, allocations: 16.11 MB / 1.156 GB, free: 60.92 MB / 0.6357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/2.202, allocations: 0.5834 MB / 1.156 GB, free: 60.34 MB / 0.6357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03889/2.241, allocations: 21.23 MB / 1.177 GB, free: 39.04 MB / 0.6357 GB Notification: Performance of pre-optimization done (n=901): time 2.211e-05/2.241, allocations: 3 kB / 1.177 GB, free: 39.04 MB / 0.6357 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.892679342068732] Failed to read output from testmodel.py, exit status != 0: 2.8494198070839047 2.860787881 1.695588709 Calling exit ...