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.03966/0.03966, allocations: 9.122 MB / 19.04 MB, free: 0.6641 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005159/0.04482, allocations: 3.426 MB / 22.46 MB, free: 3.727 MB / 24.77 MB " [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.0008737/0.0008737, allocations: 90.67 kB / 23.32 MB, free: 2.887 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00099/0.001864, allocations: 455.5 kB / 23.76 MB, free: 2.441 MB / 24.77 MB " [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.0006986/0.0006986, allocations: 152.9 kB / 24.65 MB, free: 1.551 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009614/0.00166, allocations: 479.2 kB / 25.12 MB, free: 1.082 MB / 24.77 MB " [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.8525/0.8525, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1442/0.9968, allocations: 53.67 MB / 256.7 MB, free: 5.297 MB / 250.7 MB " [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.04646/0.04646, allocations: 10.59 MB / 268 MB, free: 10.28 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01183/0.05829, allocations: 3.718 MB / 271.8 MB, free: 6.551 MB / 266.7 MB " [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 1.673e-06/1.673e-06, allocations: 0 / 273 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.586e-06/1.026e-05, allocations: 2.312 kB / 273 MB, free: 5.27 MB / 266.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 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.04158/0.04159, allocations: 55.51 MB / 328.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.244/0.2856, allocations: 16.97 MB / 345.5 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009811/0.2954, allocations: 0.5742 MB / 346.1 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02812/0.3236, allocations: 31.94 MB / 378.1 MB, free: 15.87 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01466/0.3382, allocations: 8.248 MB / 386.3 MB, free: 11.73 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007971/0.3462, allocations: 6.223 MB / 392.5 MB, free: 6.527 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03132/0.3775, allocations: 32.76 MB / 425.3 MB, free: 7.637 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0374/0.4149, allocations: 32.72 MB / 458 MB, free: 8.047 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0313/0.4462, allocations: 21.85 MB / 479.8 MB, free: 3.207 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02307/0.4693, allocations: 17.51 MB / 497.4 MB, free: 3.195 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005818/0.4751, allocations: 4.16 MB / 0.4898 GB, free: 15.03 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007401/0.4825, allocations: 5.536 MB / 0.4952 GB, free: 9.605 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2729/0.7554, allocations: 14.36 MB / 0.5092 GB, free: 71.48 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.01459/0.77, allocations: 9.203 MB / 0.5182 GB, free: 71.48 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.0221/0.7921, allocations: 28.73 MB / 0.5462 GB, free: 69.5 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.7921, allocations: 3.828 kB / 0.5462 GB, free: 69.5 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7921, allocations: 0.5938 kB / 0.5462 GB, free: 69.5 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001011/0.7931, allocations: 3 kB / 0.5462 GB, free: 69.5 MB / 458.9 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.05281/0.8459, allocations: 38.17 MB / 0.5835 GB, free: 53.02 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8459, allocations: 12.75 kB / 0.5835 GB, free: 53.01 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/0.8566, allocations: 5.145 MB / 0.5886 GB, free: 49.96 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/0.8761, allocations: 15.01 MB / 0.6032 GB, free: 37.85 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006832/0.8768, allocations: 1.789 MB / 0.605 GB, free: 36.15 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/0.8799, allocations: 2.435 MB / 0.6073 GB, free: 33.83 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0332/0.9131, allocations: 26.56 MB / 0.6333 GB, free: 6.895 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004992/0.9136, allocations: 217.9 kB / 0.6335 GB, free: 6.766 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001724/0.9154, allocations: 1.041 MB / 0.6345 GB, free: 5.805 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00346/0.9188, allocations: 5.302 MB / 0.6397 GB, free: 0.5391 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/0.9446, allocations: 12.54 MB / 0.6519 GB, free: 4.766 MB / 474.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.3431/1.288, allocations: 151.4 MB / 0.7998 GB, free: 40.7 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03381/1.322, allocations: 20.57 MB / 0.8199 GB, free: 38.25 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006588/1.328, allocations: 2.787 MB / 0.8226 GB, free: 37.83 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.329, allocations: 0.7966 MB / 0.8234 GB, free: 37.58 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05253/1.382, allocations: 9.929 MB / 0.833 GB, free: 32.46 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=847): time 2.106e-05/1.382, allocations: 0 / 0.833 GB, free: 32.46 MB / 0.5106 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.1777908857911825]