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.03747/0.03747, allocations: 9.139 MB / 19.04 MB, free: 0.6562 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.004099/0.04157, allocations: 3.417 MB / 22.46 MB, free: 3.73 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.0005313/0.0005313, allocations: 87.23 kB / 23.3 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008491/0.00138, allocations: 450.9 kB / 23.74 MB, free: 2.461 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.0006771/0.0006771, allocations: 148.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008759/0.001553, allocations: 483.2 kB / 25.11 MB, free: 1.09 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.8649/0.8649, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1419/1.007, allocations: 53.67 MB / 256.7 MB, free: 5.309 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.03836/0.03836, allocations: 10.57 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005782/0.04415, allocations: 3.718 MB / 271.8 MB, free: 6.57 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.172e-06/1.172e-06, allocations: 0 / 273 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.936e-05, allocations: 2.312 kB / 273 MB, free: 5.297 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.03367/0.03369, allocations: 55.52 MB / 328.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2312/0.2648, allocations: 16.98 MB / 345.5 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009887/0.2747, allocations: 0.573 MB / 346.1 MB, free: 1.809 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02826/0.303, allocations: 31.2 MB / 377.3 MB, free: 15.87 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01552/0.3185, allocations: 8.228 MB / 385.5 MB, free: 11.76 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008481/0.327, allocations: 5.828 MB / 391.4 MB, free: 7.719 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02786/0.3549, allocations: 31.34 MB / 422.7 MB, free: 10.25 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0365/0.3914, allocations: 32.61 MB / 455.3 MB, free: 10.76 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03199/0.4233, allocations: 21.88 MB / 477.2 MB, free: 5.891 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02267/0.446, allocations: 17.24 MB / 494.4 MB, free: 5.84 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00878/0.4548, allocations: 4.156 MB / 498.6 MB, free: 1.684 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01202/0.4668, allocations: 5.521 MB / 0.4923 GB, free: 12.26 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2823/0.7492, allocations: 14.36 MB / 0.5063 GB, free: 69.79 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02469/0.7738, allocations: 9.208 MB / 0.5153 GB, free: 69.79 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.03293/0.8068, allocations: 28.74 MB / 0.5434 GB, free: 67.8 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.541e-05/0.8068, allocations: 3.609 kB / 0.5434 GB, free: 67.8 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.794e-06/0.8068, allocations: 3.906 kB / 0.5434 GB, free: 67.8 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001342/0.8081, allocations: 0 / 0.5434 GB, free: 67.8 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.0627/0.8708, allocations: 38.17 MB / 0.5806 GB, free: 55.55 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.8709, allocations: 12.75 kB / 0.5806 GB, free: 55.54 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.8895, allocations: 5.143 MB / 0.5857 GB, free: 52.5 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02133/0.9108, allocations: 15.02 MB / 0.6003 GB, free: 40.32 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/0.912, allocations: 1.785 MB / 0.6021 GB, free: 38.62 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006992/0.919, allocations: 2.437 MB / 0.6045 GB, free: 36.3 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05314/0.9721, allocations: 26.55 MB / 0.6304 GB, free: 9.547 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001081/0.9732, allocations: 219.6 kB / 0.6306 GB, free: 9.418 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006302/0.9795, allocations: 1.045 MB / 0.6316 GB, free: 8.453 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.9836, allocations: 5.301 MB / 0.6368 GB, free: 3.188 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03416/1.018, allocations: 12.53 MB / 0.649 GB, free: 7.418 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.3006/1.318, allocations: 151.4 MB / 0.7969 GB, free: 74.68 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02846/1.347, allocations: 20.56 MB / 0.817 GB, free: 72.35 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00466/1.352, allocations: 2.773 MB / 0.8197 GB, free: 69.73 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008675/1.352, allocations: 0.8097 MB / 0.8205 GB, free: 69.06 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02264/1.375, allocations: 9.924 MB / 0.8302 GB, free: 61.28 MB / 0.495 GB Notification: Performance of pre-optimization done (n=847): time 1.26e-05/1.375, allocations: 4 kB / 0.8302 GB, free: 61.27 MB / 0.495 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:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.094299911521375]