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.03942/0.03942, allocations: 9.125 MB / 28.98 MB, free: 1.113 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.0006322/0.0006322, allocations: 91.16 kB / 35.18 MB, free: 1.504 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.0008291/0.0008291, allocations: 155.8 kB / 41.47 MB, free: 1.758 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.8379/0.8379, allocations: 177.1 MB / 224.8 MB, free: 8.824 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.03696/0.03696, allocations: 10.58 MB / 294.8 MB, free: 6.023 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 1.904e-06/1.904e-06, allocations: 0 / 431.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.814e-05, allocations: 8.609 kB / 431.4 MB, free: 12.37 MB / 330.7 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.03197/0.03199, allocations: 50.67 MB / 482 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03165/0.06365, allocations: 15.89 MB / 497.9 MB, free: 9.547 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01564/0.07929, allocations: 0.5714 MB / 498.5 MB, free: 8.973 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3796/0.4589, allocations: 31.66 MB / 0.5177 GB, free: 8.883 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01696/0.4758, allocations: 8.225 MB / 0.5258 GB, free: 8.129 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009332/0.4852, allocations: 6.085 MB / 0.5317 GB, free: 8.008 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.02866/0.5138, allocations: 32.46 MB / 0.5634 GB, free: 1.461 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03305/0.5469, allocations: 34 MB / 0.5966 GB, free: 2.82 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03808/0.585, allocations: 20.65 MB / 0.6168 GB, free: 15.24 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02192/0.6069, allocations: 16.98 MB / 0.6334 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00889/0.6158, allocations: 4.164 MB / 0.6374 GB, free: 11.45 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.6284, allocations: 5.486 MB / 0.6428 GB, free: 6.066 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01785/0.6463, allocations: 16.03 MB / 0.6584 GB, free: 6.617 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.01932/0.6656, allocations: 11.13 MB / 0.6693 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.4839/1.15, allocations: 60.14 MB / 0.7281 GB, free: 87.91 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.15, allocations: 1.562 kB / 0.7281 GB, free: 87.91 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.994e-06/1.15, allocations: 0 / 0.7281 GB, free: 87.91 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 0.001665/1.151, allocations: 1.031 kB / 0.7281 GB, free: 87.91 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.08911/1.24, allocations: 35.58 MB / 0.7628 GB, free: 74.35 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.24, allocations: 10.11 kB / 0.7628 GB, free: 74.35 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02212/1.262, allocations: 6.102 MB / 0.7688 GB, free: 71.54 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03719/1.3, allocations: 20.51 MB / 0.7888 GB, free: 61.8 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/1.301, allocations: 1.786 MB / 0.7906 GB, free: 61.05 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0136/1.315, allocations: 2.444 MB / 0.7929 GB, free: 60.26 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.108/1.423, allocations: 56.66 MB / 0.8483 GB, free: 6.484 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001191/1.424, allocations: 230.8 kB / 0.8485 GB, free: 6.324 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01148/1.435, allocations: 1.044 MB / 0.8495 GB, free: 5.367 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005746/1.441, allocations: 6.211 MB / 0.8556 GB, free: 15.23 MB / 0.5575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08491/1.526, allocations: 46.77 MB / 0.9012 GB, free: 1.062 MB / 0.5888 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.5365/2.063, allocations: 206.1 MB / 1.103 GB, free: 114.1 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04283/2.105, allocations: 27.43 MB / 1.129 GB, free: 86.62 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01431/2.12, allocations: 16.17 MB / 1.145 GB, free: 70.44 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009332/2.121, allocations: 0.5855 MB / 1.146 GB, free: 69.86 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03391/2.155, allocations: 21.31 MB / 1.167 GB, free: 48.47 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=901): time 1.079e-05/2.155, allocations: 0 / 1.167 GB, free: 48.47 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.455052827484906] Failed to read output from testmodel.py, exit status != 0: 2.728337489068508 2.734348888 1.583199591 Calling exit ...