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.08396/0.08396, allocations: 9.136 MB / 29.23 MB, free: 0.9766 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.0009808/0.0009808, allocations: 90.75 kB / 35.46 MB, free: 1.336 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.001586/0.001586, allocations: 164 kB / 41.79 MB, free: 1.559 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.9704/0.9704, allocations: 177.1 MB / 225.1 MB, free: 8.715 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.0418/0.0418, allocations: 10.57 MB / 295.2 MB, free: 5.863 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: 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 2.565e-06/2.565e-06, allocations: 0.875 kB / 372.3 MB, free: 65.1 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.11e-05/4.366e-05, allocations: 2.875 kB / 372.3 MB, free: 65.1 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.04034/0.04038, allocations: 56.6 MB / 428.9 MB, free: 14.39 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.0749, allocations: 16.03 MB / 445 MB, free: 14.43 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01571/0.09062, allocations: 0.5714 MB / 445.5 MB, free: 13.86 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.04168/0.1323, allocations: 33.31 MB / 478.8 MB, free: 12.45 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02211/0.1544, allocations: 8.232 MB / 487.1 MB, free: 4.172 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01343/0.1678, allocations: 6.147 MB / 493.2 MB, free: 14.02 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2677/0.4356, allocations: 32.46 MB / 0.5134 GB, free: 17.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05415/0.4897, allocations: 34.89 MB / 0.5474 GB, free: 16.54 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05541/0.5451, allocations: 20.78 MB / 0.5677 GB, free: 8.543 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02679/0.5719, allocations: 17.98 MB / 0.5853 GB, free: 4.77 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01053/0.5825, allocations: 4.164 MB / 0.5893 GB, free: 4.77 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01297/0.5954, allocations: 5.494 MB / 0.5947 GB, free: 4.227 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0206/0.616, allocations: 16.18 MB / 0.6105 GB, free: 5.145 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02507/0.6411, allocations: 11.21 MB / 0.6215 GB, free: 10.44 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03882/0.6799, allocations: 30.72 MB / 0.6515 GB, free: 13.46 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6799, allocations: 0 / 0.6515 GB, free: 13.46 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.113e-06/0.6799, allocations: 0 / 0.6515 GB, free: 13.46 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001284/0.6812, allocations: 0 / 0.6515 GB, free: 13.46 MB / 474.8 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.05973/0.7409, allocations: 36.85 MB / 0.6875 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.741, allocations: 8.625 kB / 0.6875 GB, free: 8.652 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01623/0.7572, allocations: 8.504 MB / 0.6958 GB, free: 212 kB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3156/1.073, allocations: 18.92 MB / 0.7142 GB, free: 189.9 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/1.074, allocations: 1.783 MB / 0.716 GB, free: 189.1 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/1.078, allocations: 2.435 MB / 0.7184 GB, free: 188.4 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0575/1.136, allocations: 32.4 MB / 0.75 GB, free: 161.7 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009109/1.137, allocations: 218.3 kB / 0.7502 GB, free: 161.5 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003081/1.14, allocations: 1.046 MB / 0.7512 GB, free: 160.6 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00472/1.144, allocations: 6.21 MB / 0.7573 GB, free: 154.4 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04413/1.189, allocations: 17.19 MB / 0.7741 GB, free: 137.3 MB / 0.495 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.41/1.599, allocations: 210.1 MB / 0.9792 GB, free: 49.29 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04082/1.639, allocations: 22 MB / 1.001 GB, free: 48.58 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007367/1.647, allocations: 4.497 MB / 1.005 GB, free: 48.43 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/1.648, allocations: 0.6007 MB / 1.006 GB, free: 48.41 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03199/1.68, allocations: 14.26 MB / 1.02 GB, free: 47.21 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=901): time 1.986e-05/1.68, allocations: 0 / 1.02 GB, free: 47.21 MB / 0.5106 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.239769831998274]