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.06516/0.06516, allocations: 12.17 MB / 29.19 MB, free: 1 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.001331/0.001331, allocations: 107.2 kB / 35.06 MB, free: 2.336 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.001422/0.001422, allocations: 198.6 kB / 41.04 MB, free: 4.449 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.465/1.465, allocations: 225.6 MB / 272.5 MB, free: 4.746 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.06441/0.06441, allocations: 13.89 MB / 344.3 MB, free: 0.7773 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: 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.0284/0.0284, allocations: 20.56 MB / 497.2 MB, free: 24.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.141, allocations: 58.46 MB / 0.5426 GB, free: 14.27 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.3969/0.538, allocations: 65.29 MB / 0.6064 GB, free: 17.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04599/0.5839, allocations: 18.57 MB / 0.6245 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02042/0.6044, allocations: 0.5191 MB / 0.625 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05348/0.6579, allocations: 32.44 MB / 0.6567 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03142/0.6893, allocations: 8.861 MB / 0.6653 GB, free: 12.04 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.01657/0.7058, allocations: 6.036 MB / 0.6712 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05185/0.7577, allocations: 29.87 MB / 0.7004 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06625/0.8239, allocations: 37.98 MB / 0.7375 GB, free: 2.496 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02815/0.8521, allocations: 14.35 MB / 0.7515 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03374/0.8858, allocations: 18.46 MB / 0.7695 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01408/0.8999, allocations: 4.988 MB / 0.7744 GB, free: 12.62 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02203/0.9219, allocations: 6.458 MB / 0.7807 GB, free: 6.16 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.03178/0.9537, allocations: 16.97 MB / 0.7973 GB, free: 5.148 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.04304/0.9968, allocations: 19.65 MB / 0.8165 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.394/1.391, allocations: 69.91 MB / 0.8848 GB, free: 71.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.391, allocations: 0 / 0.8848 GB, free: 71.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.033e-06/1.391, allocations: 0 / 0.8848 GB, free: 71.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002676/1.393, allocations: 0 / 0.8848 GB, free: 71.54 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.1348/1.528, allocations: 37.42 MB / 0.9213 GB, free: 47.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.528, allocations: 9.281 kB / 0.9213 GB, free: 47.1 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03726/1.566, allocations: 7.532 MB / 0.9287 GB, free: 43.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0538/1.619, allocations: 25.08 MB / 0.9532 GB, free: 26 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001621/1.621, allocations: 1.887 MB / 0.955 GB, free: 24.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01774/1.639, allocations: 2.577 MB / 0.9575 GB, free: 21.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.192/1.831, allocations: 65.34 MB / 1.021 GB, free: 2.527 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002341/1.833, allocations: 265.8 kB / 1.022 GB, free: 2.352 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01792/1.851, allocations: 1.116 MB / 1.023 GB, free: 1.344 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02296/1.874, allocations: 7.871 MB / 1.03 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5463/2.42, allocations: 55.16 MB / 1.084 GB, free: 208.5 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.804/3.224, allocations: 267.7 MB / 1.346 GB, free: 163.8 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06838/3.293, allocations: 29.81 MB / 1.375 GB, free: 162 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02227/3.315, allocations: 17.78 MB / 1.392 GB, free: 161.9 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/3.317, allocations: 1.311 MB / 1.393 GB, free: 161.1 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06535/3.382, allocations: 21.98 MB / 1.415 GB, free: 160.1 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=964): time 2.821e-05/3.382, allocations: 1.344 kB / 1.415 GB, free: 160.1 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 656] [Calling sys.exit(0), Time elapsed: 7.132911262102425] Failed to read output from testmodel.py, exit status != 0: 4.433415269944817 4.444336336 3.050752715 Calling exit ...