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.08255/0.08255, allocations: 9.143 MB / 28.49 MB, free: 0.9883 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.002294/0.002294, allocations: 91.14 kB / 34.74 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.002749/0.002749, allocations: 167.3 kB / 41.07 MB, free: 1.551 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.623/1.623, allocations: 177.1 MB / 224.4 MB, free: 8.691 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.06857/0.06857, allocations: 10.57 MB / 294.5 MB, free: 5.84 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.184e-06/2.184e-06, allocations: 0.5469 kB / 371.6 MB, free: 64.9 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.778e-05, allocations: 4.844 kB / 371.6 MB, free: 64.89 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.05161/0.05164, allocations: 56.54 MB / 428.1 MB, free: 14.26 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.04283/0.09447, allocations: 16.02 MB / 444.2 MB, free: 14.31 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0223/0.1168, allocations: 0.5753 MB / 444.7 MB, free: 13.73 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.07209/0.1889, allocations: 33.31 MB / 478 MB, free: 12.34 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.03021/0.2191, allocations: 8.231 MB / 486.3 MB, free: 4.062 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01669/0.2358, allocations: 6.144 MB / 492.4 MB, free: 13.91 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.3358/0.5715, allocations: 32.46 MB / 0.5126 GB, free: 17.54 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0547/0.6262, allocations: 34.89 MB / 0.5466 GB, free: 16.09 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05568/0.6819, allocations: 20.78 MB / 0.5669 GB, free: 8.039 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03394/0.7158, allocations: 17.98 MB / 0.5845 GB, free: 4.645 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01619/0.732, allocations: 4.163 MB / 0.5886 GB, free: 4.645 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02006/0.7521, allocations: 5.489 MB / 0.5939 GB, free: 3.914 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.03392/0.786, allocations: 16.18 MB / 0.6097 GB, free: 4.777 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.04394/0.8299, allocations: 11.21 MB / 0.6207 GB, free: 10.08 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1053/0.9352, allocations: 60.36 MB / 0.6796 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.9353, allocations: 0 / 0.6796 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9353, allocations: 2.531 kB / 0.6796 GB, free: 15.39 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.002356/0.9376, allocations: 0 / 0.6796 GB, free: 15.39 MB / 0.4949 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.543/1.481, allocations: 41.21 MB / 0.7199 GB, free: 163.9 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/1.481, allocations: 12.16 kB / 0.7199 GB, free: 163.9 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04772/1.528, allocations: 8.501 MB / 0.7282 GB, free: 155.5 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05095/1.579, allocations: 19.1 MB / 0.7468 GB, free: 137.9 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002099/1.581, allocations: 1.8 MB / 0.7486 GB, free: 136.2 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0133/1.595, allocations: 2.431 MB / 0.751 GB, free: 133.8 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1296/1.724, allocations: 36.37 MB / 0.7865 GB, free: 94.47 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002369/1.727, allocations: 222.3 kB / 0.7867 GB, free: 94.25 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01225/1.739, allocations: 1.053 MB / 0.7877 GB, free: 93.28 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01012/1.749, allocations: 6.206 MB / 0.7938 GB, free: 87.09 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07939/1.828, allocations: 18.27 MB / 0.8116 GB, free: 68.82 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 1.056/2.884, allocations: 302.9 MB / 1.107 GB, free: 134 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.057/2.941, allocations: 17.15 MB / 1.124 GB, free: 133.4 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01244/2.954, allocations: 4.818 MB / 1.129 GB, free: 133.3 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/2.955, allocations: 0.6177 MB / 1.13 GB, free: 133.2 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05433/3.01, allocations: 15.34 MB / 1.145 GB, free: 130.6 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=901): time 1.993e-05/3.01, allocations: 0 / 1.145 GB, free: 130.6 MB / 0.5419 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.730994603014551]