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.04048/0.04048, allocations: 9.137 MB / 28.23 MB, free: 1.105 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.0009187/0.0009187, allocations: 87.28 kB / 34.43 MB, free: 1.504 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.001345/0.001345, allocations: 168.3 kB / 40.73 MB, free: 1.746 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.9911/0.9911, allocations: 177.1 MB / 224.1 MB, free: 8.828 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.05083/0.05083, allocations: 10.59 MB / 294.1 MB, free: 6.035 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 431.7 MB, free: 11.4 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.725e-05, allocations: 6.219 kB / 431.7 MB, free: 11.39 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.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.0358/0.03582, allocations: 53.91 MB / 485.6 MB, free: 5.262 MB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.03101/0.06683, allocations: 13.79 MB / 499.4 MB, free: 7.434 MB / 394.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01448/0.08131, allocations: 0.5013 MB / 499.9 MB, free: 6.93 MB / 394.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2665/0.3478, allocations: 24.34 MB / 0.512 GB, free: 9.355 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02021/0.368, allocations: 7.787 MB / 0.5196 GB, free: 8.793 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009895/0.3779, allocations: 5.337 MB / 0.5248 GB, free: 8.688 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03593/0.4138, allocations: 30.51 MB / 0.5546 GB, free: 4.879 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04444/0.4583, allocations: 27.99 MB / 0.5819 GB, free: 15.36 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04673/0.505, allocations: 17.38 MB / 0.5989 GB, free: 14.93 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02318/0.5282, allocations: 15.21 MB / 0.6137 GB, free: 0.9141 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01003/0.5382, allocations: 3.156 MB / 0.6168 GB, free: 13.75 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.552, allocations: 4.461 MB / 0.6212 GB, free: 9.398 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01859/0.5706, allocations: 13.95 MB / 0.6348 GB, free: 11.97 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02351/0.5941, allocations: 9.374 MB / 0.6439 GB, free: 3.027 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0524/0.6465, allocations: 49.1 MB / 0.6919 GB, free: 3.312 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6465, allocations: 4 kB / 0.6919 GB, free: 3.309 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6465, allocations: 3.938 kB / 0.6919 GB, free: 3.305 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001696/0.6482, allocations: 3.938 kB / 0.6919 GB, free: 3.301 MB / 0.5262 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.4531/1.101, allocations: 31.25 MB / 0.7224 GB, free: 176.6 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.101, allocations: 10.22 kB / 0.7224 GB, free: 176.6 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01548/1.117, allocations: 4.069 MB / 0.7264 GB, free: 174.8 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06183/1.179, allocations: 8.035 MB / 0.7342 GB, free: 170.1 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03299/1.212, allocations: 18.14 MB / 0.752 GB, free: 153.3 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/1.213, allocations: 1.526 MB / 0.7535 GB, free: 151.9 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008599/1.221, allocations: 2.089 MB / 0.7555 GB, free: 149.9 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09468/1.316, allocations: 52.24 MB / 0.8065 GB, free: 95.24 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001313/1.317, allocations: 242.3 kB / 0.8067 GB, free: 95 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008764/1.326, allocations: 0.9203 MB / 0.8076 GB, free: 94.18 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006628/1.333, allocations: 6.915 MB / 0.8144 GB, free: 87.3 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06369/1.396, allocations: 41.09 MB / 0.8545 GB, free: 46.19 MB / 0.5419 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.5002/1.897, allocations: 202.8 MB / 1.053 GB, free: 67.09 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04455/1.941, allocations: 23.99 MB / 1.076 GB, free: 56.32 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01432/1.956, allocations: 14.8 MB / 1.09 GB, free: 45.8 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/1.957, allocations: 0.7686 MB / 1.091 GB, free: 45.03 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03328/1.99, allocations: 19.5 MB / 1.11 GB, free: 25.46 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=751): time 1.265e-05/1.99, allocations: 0 / 1.11 GB, free: 25.46 MB / 0.5731 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 657] [Calling sys.exit(0), Time elapsed: 4.757000768557191]