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.04174/0.04174, allocations: 9.137 MB / 28.7 MB, free: 44 kB / 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.0008544/0.0008544, allocations: 98.38 kB / 34.99 MB, free: 0.9805 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.001161/0.001161, allocations: 163.4 kB / 41.38 MB, free: 1.445 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.9003/0.9003, allocations: 177.1 MB / 224.8 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 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.03962/0.03962, allocations: 10.57 MB / 294.9 MB, free: 5.762 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.334e-06/2.334e-06, allocations: 0.5625 kB / 372.4 MB, free: 64.9 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.405e-05, allocations: 6.828 kB / 372.4 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.0339/0.03393, allocations: 56.83 MB / 429.2 MB, free: 13.74 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02891/0.06284, allocations: 16.04 MB / 445.3 MB, free: 13.77 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01183/0.07467, allocations: 0.5753 MB / 445.9 MB, free: 13.19 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03286/0.1075, allocations: 33.41 MB / 479.3 MB, free: 11.69 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01767/0.1252, allocations: 8.232 MB / 487.5 MB, free: 3.414 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.1354, allocations: 6.147 MB / 493.6 MB, free: 13.26 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.2257/0.3611, allocations: 32.46 MB / 0.5138 GB, free: 17.38 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04946/0.4105, allocations: 34.89 MB / 0.5478 GB, free: 15.94 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04553/0.4561, allocations: 20.78 MB / 0.5681 GB, free: 7.746 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02428/0.4804, allocations: 17.98 MB / 0.5857 GB, free: 4.309 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01288/0.4932, allocations: 4.161 MB / 0.5898 GB, free: 4.309 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01608/0.5093, allocations: 5.49 MB / 0.5951 GB, free: 3.742 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02344/0.5327, allocations: 16.19 MB / 0.6109 GB, free: 4.5 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02391/0.5567, allocations: 11.21 MB / 0.6219 GB, free: 9.812 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04837/0.605, allocations: 30.72 MB / 0.6519 GB, free: 12.84 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.605, allocations: 0 / 0.6519 GB, free: 12.84 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.605, allocations: 0 / 0.6519 GB, free: 12.84 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001653/0.6067, allocations: 0 / 0.6519 GB, free: 12.84 MB / 474.8 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.07762/0.6843, allocations: 36.85 MB / 0.6879 GB, free: 8.035 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.6844, allocations: 8.625 kB / 0.6879 GB, free: 8.027 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3154/0.9998, allocations: 8.508 MB / 0.6962 GB, free: 186.7 MB / 0.495 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03357/1.033, allocations: 18.92 MB / 0.7147 GB, free: 183.8 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001806/1.035, allocations: 1.783 MB / 0.7164 GB, free: 183.1 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00751/1.043, allocations: 2.443 MB / 0.7188 GB, free: 182.3 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07434/1.117, allocations: 32.4 MB / 0.7504 GB, free: 157.2 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001147/1.118, allocations: 210.4 kB / 0.7506 GB, free: 157 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005986/1.124, allocations: 1.046 MB / 0.7516 GB, free: 156.1 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005686/1.13, allocations: 6.206 MB / 0.7577 GB, free: 149.9 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04953/1.179, allocations: 17.19 MB / 0.7745 GB, free: 132.8 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 0.3952/1.575, allocations: 210.1 MB / 0.9797 GB, free: 40.86 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03747/1.612, allocations: 22.01 MB / 1.001 GB, free: 40.17 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008515/1.621, allocations: 4.496 MB / 1.006 GB, free: 40.04 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.622, allocations: 0.6133 MB / 1.006 GB, free: 40 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03257/1.654, allocations: 14.27 MB / 1.02 GB, free: 39.52 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=901): time 1.922e-05/1.654, allocations: 3.812 kB / 1.02 GB, free: 39.52 MB / 0.5106 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:8020:5-8020:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.126531680114567]