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.07503/0.07503, allocations: 12.18 MB / 31.82 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.001261/0.001261, allocations: 116.4 kB / 38.03 MB, free: 2.91 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.001831/0.001831, allocations: 220.3 kB / 44.37 MB, free: 5.312 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.531/1.531, allocations: 230.6 MB / 281.1 MB, free: 8.695 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.06514/0.06514, allocations: 13.89 MB / 354.5 MB, free: 3.918 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.06779/0.06779, allocations: 20.58 MB / 0.499 GB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3815, allocations: 59.67 MB / 0.5573 GB, free: 260 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.06437/0.4459, allocations: 53.57 MB / 0.6096 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04286/0.4887, allocations: 17.86 MB / 0.627 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01745/0.5062, allocations: 0.5948 MB / 0.6276 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06135/0.5676, allocations: 30.9 MB / 0.6578 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02593/0.5935, allocations: 8.737 MB / 0.6663 GB, free: 468 kB / 478.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.0147/0.6082, allocations: 6.106 MB / 0.6723 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04633/0.6545, allocations: 30.38 MB / 0.7019 GB, free: 12.04 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3842/1.039, allocations: 33.47 MB / 0.7346 GB, free: 17.48 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02595/1.065, allocations: 14.4 MB / 0.7487 GB, free: 17.05 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03095/1.096, allocations: 18.36 MB / 0.7666 GB, free: 15.15 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01629/1.112, allocations: 4.965 MB / 0.7715 GB, free: 15.15 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/1.131, allocations: 6.322 MB / 0.7776 GB, free: 14.93 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0226/1.154, allocations: 16.85 MB / 0.7941 GB, free: 6.363 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.04076/1.194, allocations: 14.54 MB / 0.8083 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.09944/1.294, allocations: 69.78 MB / 0.8764 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.294, allocations: 0 / 0.8764 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.765e-06/1.294, allocations: 0 / 0.8764 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002444/1.296, allocations: 0 / 0.8764 GB, free: 3.191 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.1349/1.431, allocations: 37.83 MB / 0.9134 GB, free: 13.56 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.715e-05/1.431, allocations: 8.922 kB / 0.9134 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001034/1.432, allocations: 0.7142 MB / 0.9141 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01891/1.451, allocations: 4.251 MB / 0.9182 GB, free: 8.68 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05074/1.502, allocations: 9.372 MB / 0.9274 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06503/1.567, allocations: 28.16 MB / 0.9549 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002702/1.57, allocations: 1.874 MB / 0.9567 GB, free: 2.492 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01377/1.583, allocations: 2.559 MB / 0.9592 GB, free: 36 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7367/2.32, allocations: 64.37 MB / 1.022 GB, free: 179.2 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002174/2.322, allocations: 264.3 kB / 1.022 GB, free: 178.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01691/2.339, allocations: 1.111 MB / 1.023 GB, free: 177.9 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01548/2.355, allocations: 7.508 MB / 1.031 GB, free: 170.4 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1046/2.459, allocations: 54.08 MB / 1.084 GB, free: 116.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.9925/3.452, allocations: 244.9 MB / 1.323 GB, free: 112.8 MB / 0.7017 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06745/3.519, allocations: 28.87 MB / 1.351 GB, free: 103.1 MB / 0.7017 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02233/3.541, allocations: 17.79 MB / 1.368 GB, free: 93.04 MB / 0.7017 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/3.543, allocations: 0.5872 MB / 1.369 GB, free: 92.84 MB / 0.7017 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05889/3.602, allocations: 21.95 MB / 1.39 GB, free: 73.93 MB / 0.7017 GB Notification: Performance of pre-optimization done (n=964): time 2.345e-05/3.602, allocations: 0 / 1.39 GB, free: 73.93 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.1077096740482375] Failed to read output from testmodel.py, exit status != 0: 4.472107809968293 4.484123929 3.187436913 Calling exit ...