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.07729/0.07729, 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.001352/0.001352, allocations: 105.4 kB / 37.23 MB, free: 2.91 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.001713/0.001713, allocations: 210.3 kB / 43.57 MB, free: 5.312 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.571/1.571, allocations: 230.6 MB / 280.3 MB, free: 8.797 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.1023/0.1023, allocations: 13.89 MB / 353.7 MB, free: 3.898 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.06773/0.06773, allocations: 20.95 MB / 0.4986 GB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.4113, allocations: 59.69 MB / 0.5569 GB, free: 116 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.07182/0.4832, allocations: 53.87 MB / 0.6095 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04272/0.5259, allocations: 17.9 MB / 0.627 GB, free: 8.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01611/0.542, allocations: 0.5947 MB / 0.6275 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05879/0.6008, allocations: 30.94 MB / 0.6578 GB, free: 8.641 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02193/0.6227, allocations: 8.733 MB / 0.6663 GB, free: 15.94 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.01359/0.6363, allocations: 6.109 MB / 0.6723 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04382/0.6801, allocations: 30.38 MB / 0.7019 GB, free: 11.51 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5992/1.279, allocations: 33.19 MB / 0.7343 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02912/1.308, allocations: 14.4 MB / 0.7484 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03062/1.339, allocations: 16.69 MB / 0.7647 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01363/1.353, allocations: 4.964 MB / 0.7695 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/1.371, allocations: 6.306 MB / 0.7757 GB, free: 13 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.02678/1.398, allocations: 16.84 MB / 0.7922 GB, free: 7.496 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03669/1.435, allocations: 14.55 MB / 0.8064 GB, free: 9.5 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0957/1.531, allocations: 69.76 MB / 0.8745 GB, free: 4.82 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.531, allocations: 4 kB / 0.8745 GB, free: 4.816 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.074e-06/1.531, allocations: 0 / 0.8745 GB, free: 4.816 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002269/1.533, allocations: 0 / 0.8745 GB, free: 4.816 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.1289/1.662, allocations: 37.82 MB / 0.9114 GB, free: 15.19 MB / 0.6389 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.662, allocations: 19.52 kB / 0.9115 GB, free: 15.18 MB / 0.6389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01782/1.68, allocations: 4.245 MB / 0.9156 GB, free: 11.02 MB / 0.6389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04946/1.729, allocations: 9.377 MB / 0.9248 GB, free: 1.676 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0644/1.793, allocations: 28.16 MB / 0.9523 GB, free: 6.598 MB / 0.6702 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002458/1.796, allocations: 1.881 MB / 0.9541 GB, free: 4.816 MB / 0.6702 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01222/1.808, allocations: 2.547 MB / 0.9566 GB, free: 2.371 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7132/2.521, allocations: 64.37 MB / 1.019 GB, free: 180.4 MB / 0.6704 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001616/2.523, allocations: 262.9 kB / 1.02 GB, free: 180.2 MB / 0.6704 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0111/2.534, allocations: 1.11 MB / 1.021 GB, free: 179.2 MB / 0.6704 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01014/2.544, allocations: 7.509 MB / 1.028 GB, free: 171.7 MB / 0.6704 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09429/2.638, allocations: 53.98 MB / 1.081 GB, free: 117.8 MB / 0.6704 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.6444/3.283, allocations: 244.9 MB / 1.32 GB, free: 111.8 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06438/3.347, allocations: 28.87 MB / 1.348 GB, free: 102.2 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01934/3.367, allocations: 17.79 MB / 1.366 GB, free: 92.53 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/3.368, allocations: 0.5841 MB / 1.366 GB, free: 92.33 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05896/3.427, allocations: 21.96 MB / 1.388 GB, free: 73.96 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 2.133e-05/3.427, allocations: 0 / 1.388 GB, free: 73.96 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.973541136831045] Failed to read output from testmodel.py, exit status != 0: 4.272447963245213 4.283694511 2.750271416 Calling exit ...