Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.07181/0.07181, allocations: 12.18 MB / 31.01 MB, free: 1.312 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.001196/0.001196, allocations: 105 kB / 37.23 MB, free: 3.031 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.001459/0.001459, allocations: 216 kB / 43.59 MB, free: 5.422 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.433/1.433, allocations: 230.6 MB / 280.3 MB, free: 7.906 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.0901/0.0901, allocations: 13.89 MB / 353.7 MB, free: 4.105 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.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",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.03048/0.03048, allocations: 20.76 MB / 0.4985 GB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2562, allocations: 59.67 MB / 0.5568 GB, free: 108 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. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.06289/0.3191, allocations: 59.42 MB / 0.6148 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03268/0.3518, allocations: 17.17 MB / 0.6316 GB, free: 3.391 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009427/0.3612, allocations: 0.5636 MB / 0.6321 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05372/0.415, allocations: 31.47 MB / 0.6628 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01842/0.4334, allocations: 8.184 MB / 0.6708 GB, free: 11.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01087/0.4443, allocations: 5.931 MB / 0.6766 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.03731/0.4816, allocations: 28.98 MB / 0.7049 GB, free: 8.293 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2633/0.7448, allocations: 32.48 MB / 0.7366 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01653/0.7614, allocations: 13.84 MB / 0.7501 GB, free: 13.13 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02016/0.7815, allocations: 17.49 MB / 0.7672 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.008618/0.7901, allocations: 4.865 MB / 0.772 GB, free: 11.38 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.8017, allocations: 6.249 MB / 0.7781 GB, free: 11.15 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01632/0.8181, allocations: 16.11 MB / 0.7938 GB, free: 0.5547 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03219/0.8503, allocations: 18.87 MB / 0.8122 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07695/0.9272, allocations: 66.87 MB / 0.8775 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9272, allocations: 2.438 kB / 0.8775 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9272, allocations: 0 / 0.8775 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001412/0.9286, allocations: 0 / 0.8775 GB, free: 12.8 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.09375/1.022, allocations: 35.74 MB / 0.9125 GB, free: 9.238 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.022, allocations: 12.62 kB / 0.9125 GB, free: 9.227 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01202/1.034, allocations: 3.922 MB / 0.9163 GB, free: 5.371 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04012/1.075, allocations: 7.875 MB / 0.924 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05148/1.126, allocations: 27.39 MB / 0.9507 GB, free: 3.148 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001542/1.128, allocations: 1.79 MB / 0.9525 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4195/1.547, allocations: 2.426 MB / 0.9549 GB, free: 226.2 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09647/1.644, allocations: 59.59 MB / 1.013 GB, free: 187.6 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008631/1.644, allocations: 241.3 kB / 1.013 GB, free: 187.4 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004592/1.649, allocations: 1.044 MB / 1.014 GB, free: 186.5 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007456/1.656, allocations: 6.592 MB / 1.021 GB, free: 179.9 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0797/1.736, allocations: 50.07 MB / 1.07 GB, free: 129.9 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.5/2.236, allocations: 244.2 MB / 1.308 GB, free: 106.7 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05958/2.296, allocations: 28.04 MB / 1.336 GB, free: 98.51 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01729/2.313, allocations: 17.36 MB / 1.352 GB, free: 88.65 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/2.314, allocations: 0.6381 MB / 1.353 GB, free: 88.45 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05166/2.366, allocations: 21.37 MB / 1.374 GB, free: 74.73 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=892): time 1.253e-05/2.366, allocations: 3.188 kB / 1.374 GB, free: 74.73 MB / 0.6858 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.propellerRev.blades.bodyShape4.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.418183849193156] Failed to read output from testmodel.py, exit status != 0: 3.0344051169231534 3.044368117 2.114788508 Calling exit ...