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.07619/0.07619, allocations: 12.17 MB / 31.02 MB, free: 1.43 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.001565/0.001565, allocations: 114.2 kB / 37.24 MB, free: 2.914 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.001703/0.001703, allocations: 212.3 kB / 43.58 MB, free: 5.32 MB / 34.91 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.54/1.54, allocations: 230.6 MB / 280.3 MB, free: 8.84 MB / 206.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.06451/0.06451, allocations: 13.88 MB / 353.7 MB, free: 3.949 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="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: 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) 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.06782/0.06782, allocations: 20.96 MB / 0.4986 GB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.3542, allocations: 59.68 MB / 0.5569 GB, free: 144 kB / 366.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.06654/0.4207, allocations: 53.87 MB / 0.6095 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04162/0.4623, allocations: 17.9 MB / 0.627 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01575/0.4781, allocations: 0.5986 MB / 0.6275 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05897/0.537, allocations: 30.94 MB / 0.6578 GB, free: 8.668 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02315/0.5602, allocations: 8.743 MB / 0.6663 GB, free: 15.96 MB / 494.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.01336/0.5735, allocations: 6.102 MB / 0.6723 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04205/0.6156, allocations: 30.38 MB / 0.7019 GB, free: 11.54 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3597/0.9753, allocations: 33.19 MB / 0.7343 GB, free: 17.42 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02764/1.003, allocations: 14.4 MB / 0.7484 GB, free: 17 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0288/1.032, allocations: 16.69 MB / 0.7647 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01381/1.046, allocations: 4.965 MB / 0.7695 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/1.065, allocations: 6.291 MB / 0.7757 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02147/1.086, allocations: 16.85 MB / 0.7921 GB, free: 8.066 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03022/1.117, allocations: 14.54 MB / 0.8064 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.08801/1.205, allocations: 69.77 MB / 0.8745 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.205, allocations: 2.5 kB / 0.8745 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/1.205, allocations: 0 / 0.8745 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00206/1.207, allocations: 3.938 kB / 0.8745 GB, free: 4.887 MB / 0.5919 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.117/1.324, allocations: 37.82 MB / 0.9114 GB, free: 15.26 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/1.324, allocations: 12.91 kB / 0.9114 GB, free: 15.25 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01874/1.343, allocations: 4.246 MB / 0.9156 GB, free: 11.09 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0493/1.392, allocations: 9.38 MB / 0.9247 GB, free: 1.746 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06301/1.455, allocations: 28.16 MB / 0.9522 GB, free: 6.672 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002582/1.457, allocations: 1.879 MB / 0.9541 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01184/1.469, allocations: 2.556 MB / 0.9566 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6341/2.103, allocations: 64.37 MB / 1.019 GB, free: 180.3 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002465/2.106, allocations: 259.1 kB / 1.02 GB, free: 180.1 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01108/2.117, allocations: 1.11 MB / 1.021 GB, free: 179.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01003/2.127, allocations: 7.504 MB / 1.028 GB, free: 171.6 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09606/2.223, allocations: 53.99 MB / 1.081 GB, free: 117.6 MB / 0.6702 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.9746/3.198, allocations: 244.9 MB / 1.32 GB, free: 111.5 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06645/3.264, allocations: 28.87 MB / 1.348 GB, free: 102 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02089/3.285, allocations: 17.79 MB / 1.366 GB, free: 92.3 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/3.287, allocations: 0.5919 MB / 1.366 GB, free: 92.1 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05991/3.347, allocations: 21.94 MB / 1.388 GB, free: 73.99 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 2.189e-05/3.347, allocations: 0 / 1.388 GB, free: 73.99 MB / 0.7017 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.764141518622637] Failed to read output from testmodel.py, exit status != 0: 4.18371110316366 4.194783211 2.98735761 Calling exit ...