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.03721/0.03721, allocations: 9.138 MB / 28.23 MB, free: 1.117 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.000707/0.000707, allocations: 94.66 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.001046/0.001046, allocations: 160.3 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.8314/0.8314, 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.04416/0.04416, allocations: 10.59 MB / 294.1 MB, free: 8.719 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 2.184e-06/2.184e-06, allocations: 0 / 430.1 MB, free: 2.285 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.659e-05, allocations: 2.281 kB / 430.1 MB, free: 2.281 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.03948/0.03949, allocations: 53.9 MB / 484 MB, free: 12.15 MB / 394.8 MB Notification: Performance of NFInst.instExpressions: time 0.02878/0.06827, allocations: 13.77 MB / 497.8 MB, free: 14.33 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00977/0.07804, allocations: 0.4974 MB / 498.3 MB, free: 13.83 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.2282/0.3063, allocations: 24.35 MB / 0.5104 GB, free: 13.24 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.3238, allocations: 7.785 MB / 0.518 GB, free: 12.38 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007819/0.3316, allocations: 5.34 MB / 0.5232 GB, free: 12.26 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03023/0.3619, allocations: 30.5 MB / 0.553 GB, free: 3.27 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02865/0.3905, allocations: 28 MB / 0.5803 GB, free: 12.5 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03667/0.4272, allocations: 17.38 MB / 0.5973 GB, free: 12.08 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02631/0.4535, allocations: 15.22 MB / 0.6122 GB, free: 14.05 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00886/0.4624, allocations: 3.156 MB / 0.6153 GB, free: 10.89 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009802/0.4722, allocations: 4.458 MB / 0.6196 GB, free: 6.539 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01432/0.4865, allocations: 13.95 MB / 0.6332 GB, free: 9.07 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01563/0.5021, allocations: 9.37 MB / 0.6424 GB, free: 132 kB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04758/0.5497, allocations: 49.1 MB / 0.6903 GB, free: 412 kB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.5497, allocations: 0 / 0.6903 GB, free: 412 kB / 0.5262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5497, allocations: 0 / 0.6903 GB, free: 412 kB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.001451/0.5511, allocations: 3.938 kB / 0.6903 GB, free: 408 kB / 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.4326/0.9837, allocations: 31.26 MB / 0.7209 GB, free: 172.3 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.9838, allocations: 10.31 kB / 0.7209 GB, free: 172.3 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01673/1.001, allocations: 4.064 MB / 0.7249 GB, free: 170.6 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/1.029, allocations: 8.036 MB / 0.7327 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03236/1.061, allocations: 18.14 MB / 0.7504 GB, free: 152.3 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001512/1.063, allocations: 1.527 MB / 0.7519 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009035/1.072, allocations: 2.089 MB / 0.754 GB, free: 148.9 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09023/1.162, allocations: 52.23 MB / 0.805 GB, free: 94.14 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001462/1.163, allocations: 242.3 kB / 0.8052 GB, free: 93.9 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008394/1.172, allocations: 0.9215 MB / 0.8061 GB, free: 93.09 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006145/1.178, allocations: 6.916 MB / 0.8129 GB, free: 86.2 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06193/1.24, allocations: 41.09 MB / 0.853 GB, free: 45.09 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.4846/1.724, allocations: 202.8 MB / 1.051 GB, free: 63.52 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03735/1.762, allocations: 23.98 MB / 1.074 GB, free: 52.79 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01381/1.776, allocations: 14.81 MB / 1.089 GB, free: 44.8 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.777, allocations: 0.767 MB / 1.09 GB, free: 44.52 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03222/1.809, allocations: 19.51 MB / 1.109 GB, free: 25.33 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=751): time 1.536e-05/1.809, allocations: 0 / 1.109 GB, free: 25.33 MB / 0.5732 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 658] [Calling sys.exit(0), Time elapsed: 4.156213468872011] Failed to read output from testmodel.py, exit status != 0: 2.352541501633823 2.359413611 1.807877228 Calling exit ...