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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06785/0.06785, allocations: 12.18 MB / 28.53 MB, free: 1.398 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.001753/0.001753, allocations: 110.6 kB / 34.41 MB, free: 2.34 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.001988/0.001988, allocations: 216 kB / 40.39 MB, free: 4.441 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.517/1.517, allocations: 230.5 MB / 276.8 MB, free: 15.84 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.06777/0.06777, allocations: 13.89 MB / 349.8 MB, free: 11.37 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers 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: 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: Performance of FrontEnd - loaded program: time 0.0285/0.0285, allocations: 21.73 MB / 0.4938 GB, free: 17.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1521, allocations: 59.64 MB / 0.5521 GB, free: 5.781 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.3923/0.5444, allocations: 63.57 MB / 0.6142 GB, free: 18.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04176/0.5861, allocations: 18.21 MB / 0.6319 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02362/0.6097, allocations: 0.5952 MB / 0.6325 GB, free: 6.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06318/0.6729, allocations: 32.25 MB / 0.664 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0304/0.7033, allocations: 8.695 MB / 0.6725 GB, free: 1.715 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.01643/0.7198, allocations: 6.066 MB / 0.6784 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.05733/0.7771, allocations: 30.38 MB / 0.7081 GB, free: 13.36 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08677/0.8639, allocations: 37.77 MB / 0.745 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.033/0.8969, allocations: 14.39 MB / 0.759 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03704/0.9339, allocations: 18.35 MB / 0.777 GB, free: 7.098 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.01822/0.9521, allocations: 4.965 MB / 0.7818 GB, free: 2.133 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.9748, allocations: 6.431 MB / 0.7881 GB, free: 11.7 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.03386/1.009, allocations: 16.83 MB / 0.8045 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.7862/1.795, allocations: 19.54 MB / 0.8236 GB, free: 69.93 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.1042/1.899, allocations: 69.46 MB / 0.8914 GB, free: 51.69 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.899, allocations: 0 / 0.8914 GB, free: 51.69 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.433e-06/1.899, allocations: 0 / 0.8914 GB, free: 51.69 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002734/1.902, allocations: 3.75 kB / 0.8914 GB, free: 51.69 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.1516/2.053, allocations: 37.9 MB / 0.9285 GB, free: 26.27 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/2.053, allocations: 9.75 kB / 0.9285 GB, free: 26.27 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02645/2.08, allocations: 4.249 MB / 0.9326 GB, free: 23.45 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05512/2.135, allocations: 9.376 MB / 0.9418 GB, free: 18.68 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06283/2.198, allocations: 28.08 MB / 0.9692 GB, free: 8.656 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002786/2.201, allocations: 1.886 MB / 0.971 GB, free: 6.871 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01644/2.217, allocations: 2.555 MB / 0.9735 GB, free: 4.418 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1978/2.415, allocations: 64.16 MB / 1.036 GB, free: 2.383 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002067/2.417, allocations: 264.4 kB / 1.036 GB, free: 2.207 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01379/2.431, allocations: 1.11 MB / 1.038 GB, free: 1.199 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01586/2.447, allocations: 7.515 MB / 1.045 GB, free: 9.797 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6312/3.078, allocations: 54.07 MB / 1.098 GB, free: 232 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.397/3.475, allocations: 264.1 MB / 1.356 GB, free: 14.77 MB / 0.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4386/3.913, allocations: 29.8 MB / 1.385 GB, free: 223.7 MB / 0.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02487/3.938, allocations: 17.74 MB / 1.402 GB, free: 222 MB / 0.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002095/3.94, allocations: 1.309 MB / 1.403 GB, free: 221 MB / 0.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06645/4.007, allocations: 21.94 MB / 1.425 GB, free: 215.2 MB / 0.717 GB Notification: Performance of pre-optimization done (n=964): time 2.277e-05/4.007, allocations: 0 / 1.425 GB, free: 215.2 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: 7.890442049130797] Failed to read output from testmodel.py, exit status != 0: 5.06377341831103 5.077437239 3.174998984 Calling exit ...