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.06588/0.06588, allocations: 9.132 MB / 28.92 MB, free: 0.8555 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.0009408/0.0009408, allocations: 83.3 kB / 35.24 MB, free: 1.129 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.001835/0.001835, allocations: 161.2 kB / 41.66 MB, free: 1.32 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.9516/0.9516, allocations: 177.1 MB / 225.1 MB, free: 5.516 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.06041/0.06041, allocations: 10.57 MB / 295.3 MB, free: 5.195 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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 372.9 MB, free: 43.8 MB / 314.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.281e-05, allocations: 5.188 kB / 372.9 MB, free: 43.8 MB / 314.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.03365/0.03367, allocations: 55.01 MB / 427.9 MB, free: 4.582 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03531/0.06898, allocations: 16 MB / 443.9 MB, free: 4.609 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01452/0.0835, allocations: 0.5714 MB / 444.5 MB, free: 4.035 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0333/0.1168, allocations: 32.81 MB / 477.3 MB, free: 3.125 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02227/0.1391, allocations: 8.254 MB / 485.6 MB, free: 10.83 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.1522, allocations: 6.138 MB / 491.7 MB, free: 4.684 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2312/0.3834, allocations: 32.48 MB / 0.5119 GB, free: 19.1 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05425/0.4377, allocations: 34.89 MB / 0.546 GB, free: 9.379 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04775/0.4854, allocations: 21.9 MB / 0.5674 GB, free: 13.85 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0285/0.5139, allocations: 17.94 MB / 0.5849 GB, free: 13.34 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0109/0.5248, allocations: 4.156 MB / 0.5889 GB, free: 9.188 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.5425, allocations: 5.486 MB / 0.5943 GB, free: 3.82 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02213/0.5646, allocations: 16.17 MB / 0.6101 GB, free: 4.281 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02783/0.5924, allocations: 11.2 MB / 0.621 GB, free: 9.586 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.05018/0.6426, allocations: 30.7 MB / 0.651 GB, free: 12.63 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6426, allocations: 0 / 0.651 GB, free: 12.63 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.122e-06/0.6426, allocations: 0 / 0.651 GB, free: 12.63 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.001572/0.6442, allocations: 0 / 0.651 GB, free: 12.63 MB / 490.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.4355/1.08, allocations: 34.92 MB / 0.6851 GB, free: 95.27 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.08, allocations: 10.31 kB / 0.6851 GB, free: 95.27 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02615/1.106, allocations: 7.413 MB / 0.6923 GB, free: 93.52 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03288/1.139, allocations: 17.43 MB / 0.7094 GB, free: 91.08 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001864/1.141, allocations: 1.788 MB / 0.7111 GB, free: 90.34 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008596/1.149, allocations: 2.433 MB / 0.7135 GB, free: 89.59 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07978/1.229, allocations: 28.47 MB / 0.7413 GB, free: 71.15 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001356/1.23, allocations: 217.6 kB / 0.7415 GB, free: 71.02 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007125/1.237, allocations: 1.052 MB / 0.7425 GB, free: 70.05 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/1.242, allocations: 5.505 MB / 0.7479 GB, free: 64.61 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03637/1.279, allocations: 12.6 MB / 0.7602 GB, free: 52.7 MB / 490.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.4224/1.701, allocations: 204.5 MB / 0.96 GB, free: 45.16 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03703/1.738, allocations: 21.52 MB / 0.981 GB, free: 44.49 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008132/1.746, allocations: 3.434 MB / 0.9843 GB, free: 44.35 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.748, allocations: 0.8266 MB / 0.9851 GB, free: 44.3 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03684/1.784, allocations: 10.89 MB / 0.9958 GB, free: 43.81 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=847): time 2.165e-05/1.784, allocations: 0 / 0.9958 GB, free: 43.81 MB / 0.5731 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:8115:5-8115:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.210347170010209]