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.07882/0.07882, allocations: 12.18 MB / 31.78 MB, free: 1.473 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.001424/0.001424, allocations: 110.5 kB / 37.98 MB, free: 2.906 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.00191/0.00191, allocations: 216.2 kB / 44.33 MB, free: 5.309 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.742/1.742, allocations: 230.6 MB / 281.1 MB, free: 8.82 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.06739/0.06739, allocations: 13.89 MB / 354.4 MB, free: 3.918 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: translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") [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.0728/0.0728, allocations: 20.96 MB / 0.4998 GB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.4576, allocations: 59.68 MB / 0.5581 GB, free: 64 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.07113/0.5287, allocations: 53.86 MB / 0.6107 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05304/0.5817, allocations: 17.92 MB / 0.6282 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02732/0.6091, allocations: 0.5947 MB / 0.6288 GB, free: 7.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06452/0.6736, allocations: 30.94 MB / 0.659 GB, free: 8.59 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0296/0.7032, allocations: 8.739 MB / 0.6675 GB, free: 15.88 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.01883/0.722, allocations: 6.094 MB / 0.6735 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05261/0.7746, allocations: 30.38 MB / 0.7031 GB, free: 11.47 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5166/1.291, allocations: 33.19 MB / 0.7356 GB, free: 14.55 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03456/1.326, allocations: 14.4 MB / 0.7496 GB, free: 14.12 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03554/1.361, allocations: 16.69 MB / 0.7659 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01834/1.38, allocations: 4.965 MB / 0.7708 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02851/1.408, allocations: 6.294 MB / 0.7769 GB, free: 12.8 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0275/1.436, allocations: 16.83 MB / 0.7933 GB, free: 7.305 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.04832/1.484, allocations: 14.46 MB / 0.8075 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.1189/1.603, allocations: 69.45 MB / 0.8753 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.603, allocations: 0 / 0.8753 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.194e-06/1.603, allocations: 0 / 0.8753 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002453/1.605, allocations: 0 / 0.8753 GB, free: 5.059 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.1646/1.77, allocations: 37.57 MB / 0.912 GB, free: 15.69 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.77, allocations: 11.58 kB / 0.912 GB, free: 15.68 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03894/1.809, allocations: 7.377 MB / 0.9192 GB, free: 8.289 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06767/1.877, allocations: 24.67 MB / 0.9433 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003039/1.88, allocations: 1.88 MB / 0.9451 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01554/1.895, allocations: 2.546 MB / 0.9476 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8776/2.773, allocations: 64.46 MB / 1.011 GB, free: 191.5 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002667/2.775, allocations: 256.2 kB / 1.011 GB, free: 191.3 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01441/2.79, allocations: 1.11 MB / 1.012 GB, free: 190.3 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01153/2.801, allocations: 7.513 MB / 1.019 GB, free: 182.8 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1107/2.912, allocations: 54.15 MB / 1.072 GB, free: 128.7 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 1.228/4.14, allocations: 240.3 MB / 1.307 GB, free: 111.6 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07016/4.21, allocations: 28.94 MB / 1.335 GB, free: 106 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02399/4.234, allocations: 17.87 MB / 1.353 GB, free: 97.56 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/4.236, allocations: 0.5988 MB / 1.353 GB, free: 97.45 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06238/4.298, allocations: 22.01 MB / 1.375 GB, free: 84.71 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 1.901e-05/4.298, allocations: 0 / 1.375 GB, free: 84.71 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 655] [Calling sys.exit(0), Time elapsed: 8.333946597762406] Failed to read output from testmodel.py, exit status != 0: 5.367122188210487 5.380002731 3.773809125 Calling exit ...