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.04288/0.04288, allocations: 9.135 MB / 28.23 MB, free: 1.121 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.0007593/0.0007593, allocations: 96.39 kB / 34.43 MB, free: 1.52 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.001059/0.001059, allocations: 161.7 kB / 40.72 MB, free: 1.754 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.9196/0.9196, allocations: 177.1 MB / 224.1 MB, free: 8.805 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.03756/0.03756, allocations: 10.59 MB / 294.1 MB, free: 6.023 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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 430.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.806e-05, allocations: 4.531 kB / 430.1 MB, free: 12.85 MB / 330.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.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.035/0.03501, allocations: 53.9 MB / 484 MB, free: 6.727 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03029/0.0653, allocations: 13.8 MB / 497.8 MB, free: 8.887 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01547/0.08077, allocations: 0.4935 MB / 498.3 MB, free: 8.391 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.439/0.5198, allocations: 24.35 MB / 0.5104 GB, free: 8.367 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0194/0.5392, allocations: 7.776 MB / 0.518 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.5492, allocations: 5.33 MB / 0.5232 GB, free: 7.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0326/0.5818, allocations: 30.51 MB / 0.553 GB, free: 4.379 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03332/0.6151, allocations: 27.99 MB / 0.5804 GB, free: 15.96 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04173/0.6569, allocations: 17.38 MB / 0.5973 GB, free: 15.54 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02439/0.6812, allocations: 15.22 MB / 0.6122 GB, free: 1.52 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009103/0.6904, allocations: 3.156 MB / 0.6153 GB, free: 14.36 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01316/0.7035, allocations: 4.462 MB / 0.6196 GB, free: 10 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0192/0.7227, allocations: 13.94 MB / 0.6332 GB, free: 12.58 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02503/0.7477, allocations: 9.378 MB / 0.6424 GB, free: 3.633 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.06231/0.81, allocations: 49.1 MB / 0.6904 GB, free: 3.914 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8101, allocations: 0 / 0.6904 GB, free: 3.914 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8101, allocations: 3.938 kB / 0.6904 GB, free: 3.91 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001768/0.8118, allocations: 0 / 0.6904 GB, free: 3.91 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.4344/1.246, allocations: 31.26 MB / 0.7209 GB, free: 177.3 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.246, allocations: 10.14 kB / 0.7209 GB, free: 177.3 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01174/1.258, allocations: 4.07 MB / 0.7249 GB, free: 175.5 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/1.282, allocations: 8.035 MB / 0.7327 GB, free: 170.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0302/1.312, allocations: 18.14 MB / 0.7504 GB, free: 154 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008624/1.313, allocations: 1.533 MB / 0.7519 GB, free: 152.6 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007422/1.321, allocations: 2.091 MB / 0.754 GB, free: 150.6 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07511/1.396, allocations: 52.23 MB / 0.805 GB, free: 95.92 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009847/1.397, allocations: 246.2 kB / 0.8052 GB, free: 95.68 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00493/1.402, allocations: 0.9244 MB / 0.8061 GB, free: 94.86 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006029/1.408, allocations: 6.915 MB / 0.8129 GB, free: 87.97 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07018/1.478, allocations: 41.09 MB / 0.853 GB, free: 46.87 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.4871/1.965, allocations: 202.8 MB / 1.051 GB, free: 67.21 MB / 0.5731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03489/2, allocations: 23.98 MB / 1.074 GB, free: 56.81 MB / 0.5731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01189/2.012, allocations: 14.81 MB / 1.089 GB, free: 46.78 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/2.013, allocations: 0.7687 MB / 1.09 GB, free: 46.02 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02792/2.041, allocations: 19.5 MB / 1.109 GB, free: 26.45 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=751): time 8.997e-06/2.041, allocations: 0 / 1.109 GB, free: 26.45 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.433435758575797] Failed to read output from testmodel.py, exit status != 0: 2.5504405237734318 2.562195626 1.749545336 Calling exit ...