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.06524/0.06524, allocations: 12.03 MB / 29 MB, free: 1.328 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.001207/0.001207, allocations: 110.7 kB / 34.72 MB, free: 4.738 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.001383/0.001383, allocations: 192.5 kB / 40.57 MB, free: 7.648 MB / 34.91 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.453/1.453, allocations: 222.9 MB / 269.1 MB, free: 7.293 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.06257/0.06257, allocations: 13.68 MB / 337.9 MB, free: 14.41 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.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: 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: 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.03811/0.03811, allocations: 20.54 MB / 484.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4426, allocations: 55.4 MB / 0.5275 GB, free: 22.25 MB / 382.1 MB [/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.06758/0.5102, allocations: 65.05 MB / 0.591 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04719/0.5574, allocations: 18.53 MB / 0.6091 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02076/0.5782, allocations: 0.518 MB / 0.6096 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05925/0.6375, allocations: 32.13 MB / 0.641 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02871/0.6663, allocations: 8.586 MB / 0.6494 GB, free: 8.68 MB / 478.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.01596/0.6823, allocations: 6.041 MB / 0.6553 GB, free: 2.656 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04693/0.7292, allocations: 29.93 MB / 0.6845 GB, free: 4.801 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.38/1.109, allocations: 48.47 MB / 0.7318 GB, free: 29.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02612/1.135, allocations: 14.33 MB / 0.7458 GB, free: 29.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02858/1.164, allocations: 17.4 MB / 0.7628 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01426/1.178, allocations: 4.987 MB / 0.7677 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/1.196, allocations: 6.374 MB / 0.7739 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02401/1.221, allocations: 16.46 MB / 0.79 GB, free: 23.6 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.03499/1.256, allocations: 19.68 MB / 0.8092 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0859/1.342, allocations: 69.92 MB / 0.8775 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.342, allocations: 0 / 0.8775 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.863e-06/1.342, allocations: 0 / 0.8775 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002391/1.344, allocations: 0 / 0.8775 GB, free: 10.33 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.1163/1.46, allocations: 37.41 MB / 0.914 GB, free: 5.109 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.46, allocations: 8.031 kB / 0.914 GB, free: 5.102 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03503/1.495, allocations: 7.531 MB / 0.9214 GB, free: 13.56 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05213/1.548, allocations: 25.08 MB / 0.9459 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002256/1.55, allocations: 1.892 MB / 0.9477 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01263/1.563, allocations: 2.577 MB / 0.9502 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6926/2.255, allocations: 65.35 MB / 1.014 GB, free: 202.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001762/2.257, allocations: 254.5 kB / 1.014 GB, free: 202.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01123/2.268, allocations: 1.12 MB / 1.015 GB, free: 202.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01187/2.28, allocations: 7.871 MB / 1.023 GB, free: 198.9 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1042/2.384, allocations: 55.16 MB / 1.077 GB, free: 150.4 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.9134/3.298, allocations: 267.7 MB / 1.338 GB, free: 82.01 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06849/3.366, allocations: 30.62 MB / 1.368 GB, free: 71.97 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02202/3.388, allocations: 18.62 MB / 1.386 GB, free: 61.56 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/3.391, allocations: 1.309 MB / 1.388 GB, free: 60.51 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06037/3.451, allocations: 21.97 MB / 1.409 GB, free: 47.29 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 2.715e-05/3.451, allocations: 3.938 kB / 1.409 GB, free: 47.29 MB / 0.6704 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.896732467925176] Failed to read output from testmodel.py, exit status != 0: 4.3518852239940315 4.359484726 3.016183346 Calling exit ...