Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.04047/0.04047, allocations: 9.124 MB / 18.91 MB, free: 0.7148 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004443/0.04491, allocations: 3.41 MB / 22.32 MB, free: 3.801 MB / 24.77 MB " [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.000573/0.000573, allocations: 79.02 kB / 23.15 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000987/0.00156, allocations: 454.5 kB / 23.59 MB, free: 2.539 MB / 24.77 MB " [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.001104/0.001104, allocations: 156.9 kB / 24.48 MB, free: 1.66 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002473, allocations: 479 kB / 24.95 MB, free: 1.191 MB / 24.77 MB " [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.8806/0.8806, allocations: 177.1 MB / 202.8 MB, free: 8.367 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1394/1.02, allocations: 53.67 MB / 256.5 MB, free: 5.391 MB / 250.7 MB " [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.0416/0.0416, allocations: 10.57 MB / 267.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005809/0.04741, allocations: 3.707 MB / 271.5 MB, free: 6.684 MB / 266.7 MB " [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.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 4 kB / 272.8 MB, free: 5.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.868e-06/1.178e-05, allocations: 2.312 kB / 272.8 MB, free: 5.438 MB / 266.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.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.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.03662/0.03663, allocations: 54.76 MB / 327.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2357/0.2724, allocations: 16.67 MB / 344.2 MB, free: 1.793 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008675/0.281, allocations: 0.568 MB / 344.8 MB, free: 1.793 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02613/0.3072, allocations: 30.89 MB / 375.6 MB, free: 15.89 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.3204, allocations: 8.192 MB / 383.8 MB, free: 12.62 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006742/0.3272, allocations: 5.765 MB / 389.6 MB, free: 8.812 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02626/0.3534, allocations: 31.16 MB / 420.8 MB, free: 11.52 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03111/0.3845, allocations: 32.51 MB / 453.3 MB, free: 12.14 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02615/0.4107, allocations: 21.72 MB / 475 MB, free: 7.418 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/0.4308, allocations: 17.21 MB / 492.2 MB, free: 7.395 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007043/0.4378, allocations: 4.145 MB / 496.3 MB, free: 3.25 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00937/0.4472, allocations: 5.51 MB / 0.4901 GB, free: 13.84 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2884/0.7356, allocations: 14.34 MB / 0.5041 GB, free: 73.48 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02099/0.7566, allocations: 9.168 MB / 0.513 GB, free: 73.48 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.02415/0.7807, allocations: 28.67 MB / 0.541 GB, free: 71.49 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.338e-05/0.7807, allocations: 0 / 0.541 GB, free: 71.49 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7807, allocations: 0.875 kB / 0.541 GB, free: 71.49 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.000693/0.7814, allocations: 0 / 0.541 GB, free: 71.49 MB / 458.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.04886/0.8303, allocations: 37.84 MB / 0.578 GB, free: 57.66 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8303, allocations: 12.75 kB / 0.578 GB, free: 57.65 MB / 458.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005962/0.8363, allocations: 3.9 MB / 0.5818 GB, free: 56.44 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.8489, allocations: 5.115 MB / 0.5868 GB, free: 52.82 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/0.8696, allocations: 14.95 MB / 0.6014 GB, free: 40.15 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009047/0.8705, allocations: 1.787 MB / 0.6032 GB, free: 38.45 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003607/0.8741, allocations: 2.422 MB / 0.6055 GB, free: 36.15 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04417/0.9183, allocations: 26.52 MB / 0.6314 GB, free: 9.223 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006685/0.919, allocations: 220.9 kB / 0.6316 GB, free: 9.094 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002192/0.9211, allocations: 1.043 MB / 0.6326 GB, free: 8.133 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/0.9248, allocations: 5.529 MB / 0.638 GB, free: 2.676 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03102/0.9558, allocations: 12.52 MB / 0.6503 GB, free: 6.918 MB / 474.9 MB 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.3724/1.328, allocations: 154.4 MB / 0.8011 GB, free: 76.84 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02997/1.358, allocations: 20.5 MB / 0.8211 GB, free: 71.6 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/1.363, allocations: 2.762 MB / 0.8238 GB, free: 68.96 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.364, allocations: 0.806 MB / 0.8246 GB, free: 68.28 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04878/1.413, allocations: 9.888 MB / 0.8342 GB, free: 59.32 MB / 0.495 GB Notification: Performance of pre-optimization done (n=837): time 1.281e-05/1.413, allocations: 0.7656 kB / 0.8342 GB, free: 59.32 MB / 0.495 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.212118770927191]