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.07006/0.07006, allocations: 9.136 MB / 28.49 MB, free: 0.9922 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.001802/0.001802, 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.00206/0.00206, allocations: 161.5 kB / 41.06 MB, free: 1.527 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.562/1.562, 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.07113/0.07113, allocations: 10.58 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.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 2.574e-06/2.574e-06, allocations: 0 / 371.6 MB, free: 64.89 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.707e-05/3.964e-05, allocations: 2.312 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 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.05187/0.05191, allocations: 56.55 MB / 428.1 MB, free: 14.28 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.04118/0.09309, allocations: 16.03 MB / 444.2 MB, free: 14.33 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02019/0.1133, allocations: 0.5714 MB / 444.7 MB, free: 13.76 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.07271/0.186, allocations: 33.31 MB / 478 MB, free: 12.36 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.03296/0.219, allocations: 8.231 MB / 486.3 MB, free: 4.086 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01884/0.2378, allocations: 6.14 MB / 492.4 MB, free: 13.94 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.355/0.5928, allocations: 32.46 MB / 0.5126 GB, free: 18.18 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06583/0.6586, allocations: 34.89 MB / 0.5466 GB, free: 16.74 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06037/0.719, allocations: 20.78 MB / 0.5669 GB, free: 8.809 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03778/0.7567, allocations: 17.99 MB / 0.5845 GB, free: 5.035 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0157/0.7724, allocations: 4.167 MB / 0.5886 GB, free: 5.031 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02019/0.7926, allocations: 5.485 MB / 0.5939 GB, free: 4.219 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0323/0.8249, allocations: 16.18 MB / 0.6097 GB, free: 5.098 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.04036/0.8653, allocations: 11.21 MB / 0.6207 GB, free: 10.41 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1063/0.9716, allocations: 60.36 MB / 0.6796 GB, free: 15.72 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.9716, allocations: 8 kB / 0.6796 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9716, allocations: 4 kB / 0.6796 GB, free: 15.71 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.002473/0.9741, allocations: 3.188 kB / 0.6796 GB, free: 15.71 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.5923/1.566, allocations: 41.2 MB / 0.7199 GB, free: 163.9 MB / 0.495 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.566, allocations: 12.09 kB / 0.7199 GB, free: 163.9 MB / 0.495 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04626/1.613, allocations: 8.509 MB / 0.7282 GB, free: 155.8 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05797/1.671, allocations: 19.1 MB / 0.7468 GB, free: 138.2 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002839/1.674, allocations: 1.79 MB / 0.7486 GB, free: 136.5 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01698/1.69, allocations: 2.426 MB / 0.751 GB, free: 134.2 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1268/1.817, allocations: 36.39 MB / 0.7865 GB, free: 94.8 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00194/1.819, allocations: 215.1 kB / 0.7867 GB, free: 94.59 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01157/1.831, allocations: 1.045 MB / 0.7877 GB, free: 93.62 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009061/1.84, allocations: 6.214 MB / 0.7938 GB, free: 87.43 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07569/1.916, allocations: 18.27 MB / 0.8116 GB, free: 69.16 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.002/2.917, allocations: 302.8 MB / 1.107 GB, free: 134.4 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0613/2.978, allocations: 17.15 MB / 1.124 GB, free: 133.8 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/2.992, allocations: 4.804 MB / 1.129 GB, free: 133.7 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001833/2.994, allocations: 0.6087 MB / 1.129 GB, free: 133.7 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0596/3.053, allocations: 15.33 MB / 1.144 GB, free: 131 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=901): time 3.218e-05/3.053, allocations: 0.6562 kB / 1.144 GB, free: 131 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.66567108896561]