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.07541/0.07541, allocations: 12.18 MB / 31.76 MB, free: 1.383 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.001376/0.001376, allocations: 113.7 kB / 37.99 MB, free: 2.949 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.001683/0.001683, allocations: 204.4 kB / 44.34 MB, free: 5.348 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.546/1.546, allocations: 230.6 MB / 281.1 MB, free: 7.883 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.07097/0.07097, allocations: 13.89 MB / 354.5 MB, free: 4.109 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.03615/0.03615, allocations: 20.75 MB / 0.4997 GB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.3121, allocations: 59.67 MB / 0.558 GB, free: 340 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.07945/0.3915, allocations: 63.63 MB / 0.6201 GB, free: 480 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0393/0.4308, allocations: 18.24 MB / 0.6379 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01202/0.4429, allocations: 0.6012 MB / 0.6385 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06348/0.5063, allocations: 32.41 MB / 0.6702 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02206/0.5284, allocations: 8.705 MB / 0.6787 GB, free: 4.57 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.01337/0.5418, allocations: 6.097 MB / 0.6846 GB, free: 14.49 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.3182/0.86, allocations: 30.38 MB / 0.7143 GB, free: 13.72 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04708/0.907, allocations: 33.47 MB / 0.747 GB, free: 12.26 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02405/0.9311, allocations: 14.4 MB / 0.761 GB, free: 9.633 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02711/0.9582, allocations: 18.37 MB / 0.779 GB, free: 2.934 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01328/0.9715, allocations: 4.964 MB / 0.7838 GB, free: 2.934 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.9891, allocations: 6.466 MB / 0.7901 GB, free: 2.68 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02879/1.018, allocations: 16.83 MB / 0.8066 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.03983/1.058, allocations: 19.57 MB / 0.8257 GB, free: 0 / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.09453/1.152, allocations: 69.15 MB / 0.8932 GB, free: 11.93 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.152, allocations: 0 / 0.8932 GB, free: 11.93 MB / 0.6232 GB Notification: Performance of FrontEnd: time 3.036e-06/1.152, allocations: 0 / 0.8932 GB, free: 11.93 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002174/1.154, allocations: 0 / 0.8932 GB, free: 11.93 MB / 0.6232 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.1346/1.289, allocations: 37.56 MB / 0.9299 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.289, allocations: 12.09 kB / 0.9299 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/1.327, allocations: 7.387 MB / 0.9371 GB, free: 15.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05876/1.386, allocations: 24.63 MB / 0.9612 GB, free: 7.492 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002357/1.388, allocations: 1.879 MB / 0.963 GB, free: 5.719 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01238/1.4, allocations: 2.551 MB / 0.9655 GB, free: 3.27 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7145/2.115, allocations: 64.25 MB / 1.028 GB, free: 200 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001593/2.116, allocations: 260.1 kB / 1.028 GB, free: 199.8 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009475/2.126, allocations: 1.105 MB / 1.03 GB, free: 198.8 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01042/2.136, allocations: 7.519 MB / 1.037 GB, free: 191.3 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1004/2.237, allocations: 54.24 MB / 1.09 GB, free: 137.1 MB / 0.6858 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.9441/3.181, allocations: 264.8 MB / 1.348 GB, free: 100.2 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06947/3.25, allocations: 28.99 MB / 1.377 GB, free: 91.48 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02217/3.272, allocations: 17.88 MB / 1.394 GB, free: 81.36 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/3.274, allocations: 0.6446 MB / 1.395 GB, free: 81.16 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05983/3.334, allocations: 22.03 MB / 1.416 GB, free: 67.51 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 2.171e-05/3.334, allocations: 0 / 1.416 GB, free: 67.51 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.804267153143883] Failed to read output from testmodel.py, exit status != 0: 4.1836155080236495 4.194797352 3.0394956890000002 Calling exit ...