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.07625/0.07625, allocations: 12.17 MB / 31.02 MB, free: 1.422 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.001387/0.001387, allocations: 115.3 kB / 37.24 MB, free: 2.914 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.00184/0.00184, allocations: 212 kB / 43.58 MB, free: 5.316 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.643/1.643, allocations: 230.6 MB / 280.3 MB, free: 8.758 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.06809/0.06809, allocations: 13.89 MB / 353.7 MB, free: 3.93 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.07268/0.07268, allocations: 20.96 MB / 0.4991 GB, free: 14.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.4676, allocations: 59.68 MB / 0.5574 GB, free: 104 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.06599/0.5336, allocations: 53.87 MB / 0.61 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04665/0.5803, allocations: 17.91 MB / 0.6275 GB, free: 8.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01921/0.5995, allocations: 0.5947 MB / 0.628 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05968/0.6592, allocations: 30.94 MB / 0.6583 GB, free: 8.621 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03054/0.6897, allocations: 8.735 MB / 0.6668 GB, free: 15.92 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.01728/0.707, allocations: 6.096 MB / 0.6727 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05188/0.7589, allocations: 30.38 MB / 0.7024 GB, free: 11.5 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4298/1.189, allocations: 33.19 MB / 0.7348 GB, free: 17.5 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03038/1.219, allocations: 14.4 MB / 0.7489 GB, free: 17.07 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03181/1.251, allocations: 16.69 MB / 0.7652 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01606/1.267, allocations: 4.965 MB / 0.77 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01896/1.286, allocations: 6.299 MB / 0.7762 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02795/1.314, allocations: 16.83 MB / 0.7926 GB, free: 8.09 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0412/1.355, allocations: 14.46 MB / 0.8067 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.1087/1.464, allocations: 69.45 MB / 0.8746 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/1.464, allocations: 2.469 kB / 0.8746 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.765e-06/1.464, allocations: 0 / 0.8746 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002596/1.466, allocations: 0 / 0.8746 GB, free: 5.297 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.1551/1.621, allocations: 37.57 MB / 0.9112 GB, free: 15.93 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.622, allocations: 8.922 kB / 0.9113 GB, free: 15.92 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03985/1.661, allocations: 7.383 MB / 0.9185 GB, free: 8.527 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06597/1.727, allocations: 24.67 MB / 0.9426 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002686/1.73, allocations: 1.88 MB / 0.9444 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0156/1.746, allocations: 2.55 MB / 0.9469 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8571/2.603, allocations: 64.45 MB / 1.01 GB, free: 191.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002149/2.605, allocations: 255.7 kB / 1.01 GB, free: 191.6 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01261/2.618, allocations: 1.11 MB / 1.011 GB, free: 190.6 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01239/2.63, allocations: 7.519 MB / 1.018 GB, free: 183.1 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1188/2.749, allocations: 54.14 MB / 1.071 GB, free: 129 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.185/3.933, allocations: 240.3 MB / 1.306 GB, free: 111.7 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.074/4.007, allocations: 28.95 MB / 1.334 GB, free: 106.1 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02805/4.035, allocations: 17.88 MB / 1.352 GB, free: 97.57 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002337/4.038, allocations: 0.5944 MB / 1.352 GB, free: 97.46 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06604/4.104, allocations: 22.01 MB / 1.374 GB, free: 84.86 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 3.456e-05/4.104, allocations: 0 / 1.374 GB, free: 84.86 MB / 0.7017 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/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: 7.959473421797156] Failed to read output from testmodel.py, exit status != 0: 5.119820276275277 5.132460663 3.665327385 Calling exit ...