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.06751/0.06751, allocations: 12.17 MB / 28.52 MB, free: 1.062 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 114.9 kB / 34.4 MB, free: 2.195 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 199.9 kB / 40.37 MB, free: 4.457 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 225.6 MB / 271.8 MB, free: 4.707 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.06516/0.06516, allocations: 13.89 MB / 343.6 MB, free: 0.7656 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: 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.02908/0.02908, allocations: 20.57 MB / 496 MB, free: 25.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1703, allocations: 58.43 MB / 0.5415 GB, free: 14.76 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.4756/0.6459, allocations: 65.31 MB / 0.6052 GB, free: 17.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04955/0.6954, allocations: 18.56 MB / 0.6234 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02253/0.718, allocations: 0.5196 MB / 0.6239 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05736/0.7753, allocations: 32.45 MB / 0.6555 GB, free: 5.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03303/0.8084, allocations: 8.861 MB / 0.6642 GB, free: 12.32 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0179/0.8263, allocations: 6.039 MB / 0.6701 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05873/0.885, allocations: 29.86 MB / 0.6993 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08147/0.9665, allocations: 37.98 MB / 0.7364 GB, free: 2.777 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03385/1, allocations: 14.35 MB / 0.7504 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04319/1.044, allocations: 18.46 MB / 0.7684 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.02008/1.064, allocations: 4.992 MB / 0.7733 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0244/1.088, allocations: 6.453 MB / 0.7796 GB, free: 6.445 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.03824/1.126, allocations: 17 MB / 0.7962 GB, free: 5.41 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.05995/1.186, allocations: 19.75 MB / 0.8155 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.5702/1.756, allocations: 70.23 MB / 0.884 GB, free: 71.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.756, allocations: 0 / 0.884 GB, free: 71.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/1.756, allocations: 0 / 0.884 GB, free: 71.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002485/1.759, allocations: 1.156 kB / 0.884 GB, free: 71.36 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: 8755 * Number of variables: 8755 Notification: Performance of Generate backend data structure: time 0.1491/1.908, allocations: 37.68 MB / 0.9208 GB, free: 46.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.802e-05/1.908, allocations: 13.81 kB / 0.9208 GB, free: 46.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02829/1.936, allocations: 4.31 MB / 0.9251 GB, free: 43.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05115/1.988, allocations: 9.522 MB / 0.9344 GB, free: 38.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07298/2.06, allocations: 29.61 MB / 0.9633 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002026/2.063, allocations: 1.893 MB / 0.9651 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0184/2.081, allocations: 2.576 MB / 0.9676 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2241/2.305, allocations: 65.27 MB / 1.031 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002757/2.308, allocations: 262.9 kB / 1.032 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01768/2.325, allocations: 1.114 MB / 1.033 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01702/2.342, allocations: 7.876 MB / 1.04 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5394/2.882, allocations: 55 MB / 1.094 GB, free: 209.7 MB / 0.6857 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.941/3.823, allocations: 267.2 MB / 1.355 GB, free: 92.98 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07613/3.899, allocations: 29.74 MB / 1.384 GB, free: 91.27 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02887/3.928, allocations: 17.7 MB / 1.401 GB, free: 91.14 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/3.93, allocations: 1.31 MB / 1.403 GB, free: 90.29 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06855/3.999, allocations: 21.9 MB / 1.424 GB, free: 88.7 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=964): time 3.619e-05/3.999, allocations: 0 / 1.424 GB, free: 88.7 MB / 0.6857 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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.206680488307029] Failed to read output from testmodel.py, exit status != 0: 5.211096210870892 5.22747492 3.46792012 Calling exit ...