Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload.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.07078/0.07078, allocations: 12.18 MB / 29.23 MB, free: 0.9922 MB / 19.63 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.001295/0.001295, allocations: 103.6 kB / 35.1 MB, free: 2.32 MB / 26.18 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.001593/0.001593, allocations: 213.4 kB / 41.11 MB, free: 4.438 MB / 26.18 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 1.656/1.656, allocations: 230.5 MB / 277.5 MB, free: 15.86 MB / 222.1 MB " [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.06854/0.06854, allocations: 13.88 MB / 350.5 MB, free: 11.36 MB / 270.1 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: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.03336/0.03336, allocations: 20.56 MB / 0.4934 GB, free: 18.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1681, allocations: 59.65 MB / 0.5517 GB, free: 6.906 MB / 398.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Warning: An inner declaration for outer component world could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Notification: The diagnostics message for the missing inner is: No \"world\" component is defined. A default world component with the default gravity field will be used (g=9.81 in negative y-axis). If this is not desired, drag Modelica.Mechanics.MultiBody.World into the top level of your model. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DronePayload.DroneTest_payload): time 0.4239/0.592, allocations: 63.58 MB / 0.6138 GB, free: 18.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04709/0.6391, allocations: 18.2 MB / 0.6315 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02307/0.6622, allocations: 0.5919 MB / 0.6321 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05925/0.7214, allocations: 32.26 MB / 0.6636 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03118/0.7526, allocations: 8.684 MB / 0.6721 GB, free: 2.496 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01788/0.7705, allocations: 6.07 MB / 0.678 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.05946/0.8299, allocations: 30.38 MB / 0.7077 GB, free: 14.14 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07751/0.9074, allocations: 37.77 MB / 0.7446 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03367/0.9411, allocations: 14.39 MB / 0.7586 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03934/0.9805, allocations: 18.37 MB / 0.7766 GB, free: 7.863 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.01994/1, allocations: 4.965 MB / 0.7814 GB, free: 2.898 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02278/1.023, allocations: 6.427 MB / 0.7877 GB, free: 12.47 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.03285/1.056, allocations: 16.83 MB / 0.8041 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.6963/1.752, allocations: 19.53 MB / 0.8232 GB, free: 69.95 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.09104/1.843, allocations: 69.46 MB / 0.891 GB, free: 52.39 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.843, allocations: 0 / 0.891 GB, free: 52.39 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.915e-06/1.843, allocations: 0 / 0.891 GB, free: 52.39 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002636/1.846, allocations: 0 / 0.891 GB, free: 52.39 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8610 * Number of variables: 8610 Notification: Performance of Generate backend data structure: time 0.153/1.999, allocations: 37.91 MB / 0.9281 GB, free: 26.97 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.999, allocations: 12.25 kB / 0.9281 GB, free: 26.97 MB / 0.592 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001224/2, allocations: 0.718 MB / 0.9288 GB, free: 26.92 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0247/2.025, allocations: 4.241 MB / 0.9329 GB, free: 24.11 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05506/2.08, allocations: 9.38 MB / 0.9421 GB, free: 19.33 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.063/2.143, allocations: 28.09 MB / 0.9695 GB, free: 8.457 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003025/2.146, allocations: 1.878 MB / 0.9713 GB, free: 6.68 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.017/2.163, allocations: 2.556 MB / 0.9738 GB, free: 4.227 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2237/2.387, allocations: 64.16 MB / 1.036 GB, free: 2.191 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002993/2.39, allocations: 263 kB / 1.037 GB, free: 2.016 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01945/2.409, allocations: 1.11 MB / 1.038 GB, free: 1.008 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02472/2.434, allocations: 7.512 MB / 1.045 GB, free: 9.605 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5665/3, allocations: 54.07 MB / 1.098 GB, free: 232.6 MB / 0.717 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.4074/3.408, allocations: 264.1 MB / 1.356 GB, free: 14.55 MB / 0.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4952/3.903, allocations: 29.8 MB / 1.385 GB, free: 224.7 MB / 0.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02692/3.93, allocations: 17.73 MB / 1.402 GB, free: 223.1 MB / 0.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/3.932, allocations: 1.313 MB / 1.404 GB, free: 222.1 MB / 0.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.07282/4.005, allocations: 21.94 MB / 1.425 GB, free: 216.3 MB / 0.717 GB Notification: Performance of pre-optimization done (n=964): time 3.055e-05/4.005, allocations: 2.656 kB / 1.425 GB, free: 216.3 MB / 0.717 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.droneChassis1.bodyShape.body.frame_a.r_0[1] + 0.25 * drone.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 8.10821042401949] Failed to read output from testmodel.py, exit status != 0: 5.064376594033092 5.078766897 3.232296887 Calling exit ...