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.07257/0.07257, allocations: 12.17 MB / 31 MB, free: 1.285 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.001259/0.001259, allocations: 115.8 kB / 37.24 MB, free: 3 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.001599/0.001599, allocations: 204.4 kB / 43.59 MB, free: 5.398 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.437/1.437, allocations: 230.6 MB / 280.4 MB, free: 7.938 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.06435/0.06435, allocations: 13.9 MB / 353.7 MB, free: 4.086 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: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) [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.03443/0.03443, allocations: 20.76 MB / 0.4985 GB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2647, allocations: 59.67 MB / 0.5568 GB, free: 416 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.06933/0.334, allocations: 63.64 MB / 0.6189 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03553/0.3695, allocations: 18.23 MB / 0.6367 GB, free: 14.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009993/0.3795, allocations: 0.5947 MB / 0.6373 GB, free: 13.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05722/0.4367, allocations: 32.4 MB / 0.6689 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01988/0.4566, allocations: 8.704 MB / 0.6774 GB, free: 4.652 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.01176/0.4684, allocations: 6.101 MB / 0.6834 GB, free: 14.57 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.2617/0.7301, allocations: 30.38 MB / 0.7131 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0336/0.7637, allocations: 33.48 MB / 0.7458 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.7807, allocations: 14.4 MB / 0.7598 GB, free: 9.707 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01946/0.8002, allocations: 18.37 MB / 0.7778 GB, free: 3.012 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.00815/0.8084, allocations: 4.963 MB / 0.7826 GB, free: 3.012 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/0.8192, allocations: 6.462 MB / 0.7889 GB, free: 2.754 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02045/0.8397, allocations: 16.86 MB / 0.8054 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.03028/0.87, allocations: 19.65 MB / 0.8246 GB, free: 0 / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07735/0.9473, allocations: 69.47 MB / 0.8924 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9473, allocations: 0 / 0.8924 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9473, allocations: 3.938 kB / 0.8924 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0015/0.9488, allocations: 0 / 0.8924 GB, free: 11.62 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.09831/1.047, allocations: 37.83 MB / 0.9294 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.047, allocations: 11.31 kB / 0.9294 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01304/1.06, allocations: 4.247 MB / 0.9335 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0453/1.105, allocations: 9.371 MB / 0.9427 GB, free: 8.477 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4633/1.569, allocations: 28.12 MB / 0.9701 GB, free: 233.1 MB / 0.6858 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001354/1.57, allocations: 1.883 MB / 0.972 GB, free: 233 MB / 0.6858 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008135/1.578, allocations: 2.553 MB / 0.9745 GB, free: 232.6 MB / 0.6858 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1056/1.684, allocations: 64.17 MB / 1.037 GB, free: 189.1 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001255/1.685, allocations: 264.4 kB / 1.037 GB, free: 188.9 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007777/1.693, allocations: 1.112 MB / 1.038 GB, free: 187.9 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009239/1.702, allocations: 7.511 MB / 1.046 GB, free: 180.4 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08583/1.788, allocations: 54.08 MB / 1.099 GB, free: 126.3 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.713/2.501, allocations: 264.3 MB / 1.357 GB, free: 100.5 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06004/2.561, allocations: 28.91 MB / 1.385 GB, free: 89.84 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01702/2.578, allocations: 17.79 MB / 1.402 GB, free: 79.77 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/2.579, allocations: 0.6409 MB / 1.403 GB, free: 79.56 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05194/2.631, allocations: 21.95 MB / 1.424 GB, free: 64.61 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 1.252e-05/2.631, allocations: 0 / 1.424 GB, free: 64.61 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 657] [Calling sys.exit(0), Time elapsed: 5.687448329059407] Failed to read output from testmodel.py, exit status != 0: 3.3090553891379386 3.318231407 2.368632539 Calling exit ...