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.07486/0.07486, allocations: 12.18 MB / 31.8 MB, free: 1.352 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.00124/0.00124, allocations: 115.6 kB / 38.03 MB, free: 2.98 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.001564/0.001564, allocations: 208.4 kB / 44.38 MB, free: 5.375 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.541/1.541, allocations: 230.6 MB / 281.1 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.06376/0.06376, allocations: 13.88 MB / 354.5 MB, free: 4.117 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="cs",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.03358/0.03358, allocations: 20.59 MB / 0.4991 GB, free: 15.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.324, allocations: 59.66 MB / 0.5574 GB, free: 464 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.07232/0.3963, allocations: 63.63 MB / 0.6195 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04397/0.4403, allocations: 18.24 MB / 0.6373 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01701/0.4573, allocations: 0.5986 MB / 0.6379 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0591/0.5164, allocations: 32.4 MB / 0.6695 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02494/0.5413, allocations: 8.712 MB / 0.678 GB, free: 4.688 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.01386/0.5552, allocations: 6.084 MB / 0.684 GB, free: 14.61 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.3804/0.9356, allocations: 30.39 MB / 0.7137 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05662/0.9922, allocations: 33.47 MB / 0.7463 GB, free: 12.24 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02738/1.02, allocations: 14.4 MB / 0.7604 GB, free: 9.676 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03328/1.053, allocations: 18.36 MB / 0.7783 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01396/1.067, allocations: 4.966 MB / 0.7832 GB, free: 2.977 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01925/1.086, allocations: 6.464 MB / 0.7895 GB, free: 2.723 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02847/1.115, allocations: 16.85 MB / 0.806 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.04454/1.159, allocations: 19.67 MB / 0.8252 GB, free: 0 / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.09841/1.257, allocations: 69.47 MB / 0.893 GB, free: 11.63 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/1.257, allocations: 4 kB / 0.893 GB, free: 11.63 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.375e-06/1.257, allocations: 0 / 0.893 GB, free: 11.63 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.002369/1.26, allocations: 6.438 kB / 0.893 GB, free: 11.63 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.124/1.384, allocations: 37.82 MB / 0.93 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/1.384, allocations: 19.27 kB / 0.93 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00109/1.385, allocations: 0.7142 MB / 0.9307 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0177/1.403, allocations: 4.245 MB / 0.9348 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05148/1.454, allocations: 9.373 MB / 0.944 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5509/2.005, allocations: 28.12 MB / 0.9714 GB, free: 232.1 MB / 0.6858 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001824/2.007, allocations: 1.878 MB / 0.9733 GB, free: 232 MB / 0.6858 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01025/2.017, allocations: 2.552 MB / 0.9758 GB, free: 231.7 MB / 0.6858 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1361/2.153, allocations: 64.17 MB / 1.038 GB, free: 187.6 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002001/2.155, allocations: 261.4 kB / 1.039 GB, free: 187.3 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01158/2.167, allocations: 1.113 MB / 1.04 GB, free: 186.3 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01127/2.178, allocations: 7.511 MB / 1.047 GB, free: 178.9 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.102/2.28, allocations: 54.08 MB / 1.1 GB, free: 124.8 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.9592/3.239, allocations: 264.3 MB / 1.358 GB, free: 101.2 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06502/3.304, allocations: 28.93 MB / 1.386 GB, free: 90.17 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02/3.324, allocations: 17.79 MB / 1.404 GB, free: 80.11 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/3.326, allocations: 0.6328 MB / 1.404 GB, free: 79.91 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05921/3.386, allocations: 21.95 MB / 1.426 GB, free: 64.35 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 2.235e-05/3.386, allocations: 0 / 1.426 GB, free: 64.35 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.870359209016897] Failed to read output from testmodel.py, exit status != 0: 4.264345686067827 4.274190587 3.014052921 Calling exit ...