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.06414/0.06414, allocations: 9.148 MB / 28.5 MB, free: 0.9609 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.001434/0.001434, allocations: 91.2 kB / 34.73 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/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.001517/0.001517, allocations: 165.4 kB / 41.07 MB, free: 1.543 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.431/1.431, allocations: 177.1 MB / 224.4 MB, free: 8.676 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 178] 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.06385/0.06385, allocations: 10.58 MB / 294.5 MB, free: 5.828 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.054e-06/2.054e-06, allocations: 1.906 kB / 371.6 MB, free: 64.86 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.435e-05, allocations: 4.109 kB / 371.6 MB, free: 64.86 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.04064/0.04066, allocations: 50.68 MB / 422.3 MB, free: 20.11 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03525/0.07591, allocations: 15.9 MB / 438.2 MB, free: 4.289 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.08872, allocations: 0.5714 MB / 438.7 MB, free: 3.715 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.067/0.1557, allocations: 32.21 MB / 471 MB, free: 3.414 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02663/0.1824, allocations: 8.232 MB / 479.2 MB, free: 11.14 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01607/0.1984, allocations: 6.139 MB / 485.3 MB, free: 4.996 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.05288/0.2513, allocations: 32.47 MB / 0.5057 GB, free: 4.52 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2658/0.5171, allocations: 34.8 MB / 0.5397 GB, free: 17.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04582/0.563, allocations: 20.65 MB / 0.5598 GB, free: 14.75 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03807/0.601, allocations: 17 MB / 0.5764 GB, free: 11.65 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01534/0.6164, allocations: 4.165 MB / 0.5805 GB, free: 11.65 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01694/0.6333, allocations: 5.493 MB / 0.5858 GB, free: 11.46 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02268/0.656, allocations: 16.04 MB / 0.6015 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03236/0.6883, allocations: 11.14 MB / 0.6124 GB, free: 4.012 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.09373/0.7821, allocations: 60.2 MB / 0.6712 GB, free: 9.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.7821, allocations: 0 / 0.6712 GB, free: 9.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.855e-06/0.7821, allocations: 3.656 kB / 0.6712 GB, free: 9.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.002187/0.7843, allocations: 0 / 0.6712 GB, free: 9.5 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.4688/1.253, allocations: 35.6 MB / 0.7059 GB, free: 166.2 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.253, allocations: 13.86 kB / 0.706 GB, free: 166.2 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04094/1.294, allocations: 8.532 MB / 0.7143 GB, free: 163.4 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04397/1.338, allocations: 20.82 MB / 0.7346 GB, free: 149.7 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/1.34, allocations: 1.794 MB / 0.7364 GB, free: 148 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01002/1.35, allocations: 2.444 MB / 0.7388 GB, free: 145.6 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1207/1.47, allocations: 56.72 MB / 0.7941 GB, free: 86.76 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00174/1.472, allocations: 238.4 kB / 0.7944 GB, free: 86.52 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01133/1.483, allocations: 1.045 MB / 0.7954 GB, free: 85.56 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008695/1.492, allocations: 6.204 MB / 0.8014 GB, free: 79.38 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09107/1.583, allocations: 46.84 MB / 0.8472 GB, free: 32.56 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.4895/2.073, allocations: 206.9 MB / 1.049 GB, free: 33.27 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06129/2.134, allocations: 27.39 MB / 1.076 GB, free: 5.902 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02446/2.158, allocations: 16.25 MB / 1.092 GB, free: 5.629 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/2.161, allocations: 0.6349 MB / 1.093 GB, free: 4.996 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2695/2.43, allocations: 21.4 MB / 1.113 GB, free: 176.1 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=903): time 3.146e-05/2.43, allocations: 0 / 1.113 GB, free: 176.1 MB / 0.5263 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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.748733991058543]