Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.06818/0.06818, allocations: 9.141 MB / 28.24 MB, free: 2.277 MB / 19.63 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.001408/0.001408, allocations: 87.5 kB / 34.43 MB, free: 3.531 MB / 26.18 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.001738/0.001738, allocations: 169.2 kB / 40.74 MB, free: 5.973 MB / 34.91 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.491/1.491, allocations: 177.1 MB / 224.1 MB, free: 13.91 MB / 206.1 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.0637/0.0637, allocations: 10.58 MB / 294.1 MB, free: 7.941 MB / 270.1 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.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 430.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.925e-05/5.219e-05, allocations: 9.031 kB / 430.6 MB, free: 1.281 MB / 334.1 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.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.Examples.DroneWithIdealPower.DroneForVR): time 0.2915/0.2916, allocations: 53.91 MB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04182/0.3334, allocations: 13.78 MB / 498.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01684/0.3502, allocations: 0.5013 MB / 498.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05186/0.4021, allocations: 24.35 MB / 0.5109 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02631/0.4284, allocations: 7.794 MB / 0.5185 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.4421, allocations: 5.339 MB / 0.5237 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04626/0.4884, allocations: 30.49 MB / 0.5535 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05272/0.5411, allocations: 27.99 MB / 0.5809 GB, free: 2.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04441/0.5855, allocations: 17.38 MB / 0.5978 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03109/0.6166, allocations: 15.22 MB / 0.6127 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0113/0.6279, allocations: 3.156 MB / 0.6158 GB, free: 14.79 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.6434, allocations: 4.454 MB / 0.6201 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.6071/1.25, allocations: 13.92 MB / 0.6337 GB, free: 68.96 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.04318/1.294, allocations: 9.314 MB / 0.6428 GB, free: 68.96 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.07689/1.371, allocations: 48.86 MB / 0.6905 GB, free: 57.61 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-05/1.371, allocations: 4 kB / 0.6905 GB, free: 57.61 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.586e-06/1.371, allocations: 0 / 0.6905 GB, free: 57.61 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.003918/1.374, allocations: 3.469 kB / 0.6905 GB, free: 57.61 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.119/1.493, allocations: 30.99 MB / 0.7208 GB, free: 36.85 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.494, allocations: 9.938 kB / 0.7208 GB, free: 36.85 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03139/1.525, allocations: 5.93 MB / 0.7266 GB, free: 33.93 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04112/1.566, allocations: 17.05 MB / 0.7433 GB, free: 20.77 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001479/1.568, allocations: 1.532 MB / 0.7448 GB, free: 19.34 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009662/1.577, allocations: 2.08 MB / 0.7468 GB, free: 17.36 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1467/1.724, allocations: 52.3 MB / 0.7979 GB, free: 10.92 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002013/1.726, allocations: 248.7 kB / 0.7981 GB, free: 10.75 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01006/1.736, allocations: 0.9234 MB / 0.799 GB, free: 9.934 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01462/1.751, allocations: 6.914 MB / 0.8058 GB, free: 3.109 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.415/2.166, allocations: 41.22 MB / 0.846 GB, free: 172.9 MB / 0.5764 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.3463/2.512, allocations: 198.7 MB / 1.04 GB, free: 19.43 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.373/2.885, allocations: 24.05 MB / 1.064 GB, free: 175.2 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02334/2.908, allocations: 14.88 MB / 1.078 GB, free: 173.3 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002333/2.911, allocations: 0.7611 MB / 1.079 GB, free: 173.2 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06171/2.972, allocations: 19.58 MB / 1.098 GB, free: 168.9 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 2.102e-05/2.972, allocations: 0 / 1.098 GB, free: 168.9 MB / 0.5764 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.bodyShape5.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:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.631122551858425] Failed to read output from testmodel.py, exit status != 0: 3.9904760010540485 4.004998237 2.630890431 Calling exit ...