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.09427/0.09427, allocations: 12.17 MB / 31.02 MB, free: 1.43 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.001296/0.001296, allocations: 110.2 kB / 37.24 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.002043/0.002043, allocations: 216.3 kB / 43.58 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.539/1.539, allocations: 230.6 MB / 280.3 MB, free: 8.777 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.08389/0.08389, allocations: 13.88 MB / 353.7 MB, free: 3.949 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.06764/0.06764, allocations: 20.97 MB / 0.4986 GB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3777, allocations: 59.67 MB / 0.5569 GB, free: 184 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.0599/0.4376, allocations: 50.33 MB / 0.606 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04086/0.4784, allocations: 16.85 MB / 0.6225 GB, free: 12.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01404/0.4925, allocations: 0.5714 MB / 0.623 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06391/0.5564, allocations: 30.03 MB / 0.6524 GB, free: 14.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02516/0.5815, allocations: 8.216 MB / 0.6604 GB, free: 6.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.5955, allocations: 5.953 MB / 0.6662 GB, free: 124 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04514/0.6406, allocations: 28.95 MB / 0.6945 GB, free: 3.219 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3725/1.013, allocations: 32.22 MB / 0.7259 GB, free: 18.58 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02619/1.039, allocations: 13.84 MB / 0.7394 GB, free: 18.19 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02628/1.066, allocations: 15.84 MB / 0.7549 GB, free: 16.96 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01183/1.077, allocations: 4.869 MB / 0.7597 GB, free: 16.96 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/1.093, allocations: 6.088 MB / 0.7656 GB, free: 16.96 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02363/1.117, allocations: 16.11 MB / 0.7814 GB, free: 12.97 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02798/1.145, allocations: 13.92 MB / 0.7949 GB, free: 3.812 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.09173/1.237, allocations: 67.16 MB / 0.8605 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.237, allocations: 0 / 0.8605 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.375e-06/1.237, allocations: 0 / 0.8605 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002062/1.239, allocations: 0 / 0.8605 GB, free: 4.637 MB / 0.5763 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.1387/1.378, allocations: 35.73 MB / 0.8954 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.896e-05/1.378, allocations: 12.92 kB / 0.8954 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02442/1.402, allocations: 3.927 MB / 0.8993 GB, free: 13.21 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04693/1.449, allocations: 7.872 MB / 0.907 GB, free: 5.371 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06748/1.516, allocations: 27.43 MB / 0.9338 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002535/1.519, allocations: 1.787 MB / 0.9355 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01412/1.533, allocations: 2.435 MB / 0.9379 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4381/1.971, allocations: 59.78 MB / 0.9963 GB, free: 208.1 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001865/1.973, allocations: 238.2 kB / 0.9965 GB, free: 208 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01072/1.984, allocations: 1.049 MB / 0.9975 GB, free: 207.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01053/1.994, allocations: 6.587 MB / 1.004 GB, free: 204.6 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1017/2.096, allocations: 49.97 MB / 1.053 GB, free: 157.4 MB / 0.67 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.661/2.757, allocations: 225.3 MB / 1.273 GB, free: 120 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06953/2.827, allocations: 28 MB / 1.3 GB, free: 119.4 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02121/2.848, allocations: 17.36 MB / 1.317 GB, free: 111.9 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/2.849, allocations: 0.5863 MB / 1.318 GB, free: 111.8 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05946/2.909, allocations: 21.37 MB / 1.339 GB, free: 102.4 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=892): time 2.613e-05/2.909, allocations: 0 / 1.339 GB, free: 102.4 MB / 0.6857 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.447604402899742] Failed to read output from testmodel.py, exit status != 0: 3.7438747282139957 3.753846119 2.514398017 Calling exit ...