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.07786/0.07786, allocations: 12.18 MB / 31.81 MB, free: 1.461 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.001347/0.001347, allocations: 126.2 kB / 38.03 MB, free: 2.887 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.001766/0.001766, allocations: 207.5 kB / 44.36 MB, free: 5.301 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.537/1.537, allocations: 230.6 MB / 281.1 MB, free: 8.793 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.0846/0.0846, allocations: 13.9 MB / 354.5 MB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",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.06592/0.06592, allocations: 20.58 MB / 0.499 GB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.355, allocations: 59.67 MB / 0.5573 GB, free: 256 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.05852/0.4135, allocations: 50.05 MB / 0.6061 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04194/0.4555, allocations: 16.81 MB / 0.6226 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01552/0.471, allocations: 0.5675 MB / 0.6231 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05921/0.5302, allocations: 30 MB / 0.6524 GB, free: 14.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.5518, allocations: 8.21 MB / 0.6604 GB, free: 6.488 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01401/0.5658, allocations: 5.949 MB / 0.6662 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04331/0.6091, allocations: 28.97 MB / 0.6945 GB, free: 3.641 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3552/0.9643, allocations: 32.47 MB / 0.7262 GB, free: 19.24 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/0.9844, allocations: 13.84 MB / 0.7397 GB, free: 18.86 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02523/1.01, allocations: 17.49 MB / 0.7568 GB, free: 17.64 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01167/1.021, allocations: 4.866 MB / 0.7616 GB, free: 17.64 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01462/1.036, allocations: 6.109 MB / 0.7675 GB, free: 17.63 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02106/1.057, allocations: 16.12 MB / 0.7833 GB, free: 11.95 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02739/1.084, allocations: 13.91 MB / 0.7969 GB, free: 2.793 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.08046/1.165, allocations: 67.19 MB / 0.8625 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/1.165, allocations: 6.422 kB / 0.8625 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.385e-06/1.165, allocations: 0 / 0.8625 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.001787/1.167, allocations: 0 / 0.8625 GB, free: 3.359 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.111/1.278, allocations: 35.74 MB / 0.8974 GB, free: 15.8 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.278, allocations: 12.92 kB / 0.8974 GB, free: 15.79 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008205/1.278, allocations: 0.6689 MB / 0.8981 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01818/1.297, allocations: 3.92 MB / 0.9019 GB, free: 11.27 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04382/1.34, allocations: 7.876 MB / 0.9096 GB, free: 3.422 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06103/1.402, allocations: 27.43 MB / 0.9364 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002201/1.404, allocations: 1.787 MB / 0.9381 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01243/1.416, allocations: 2.438 MB / 0.9405 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6404/2.057, allocations: 59.79 MB / 0.9989 GB, free: 202 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001341/2.058, allocations: 231.2 kB / 0.9991 GB, free: 201.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01025/2.068, allocations: 1.043 MB / 1 GB, free: 201.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008729/2.077, allocations: 6.592 MB / 1.007 GB, free: 198.5 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08626/2.163, allocations: 50.07 MB / 1.055 GB, free: 148.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.6197/2.783, allocations: 225.3 MB / 1.275 GB, free: 129.4 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06127/2.844, allocations: 28.01 MB / 1.303 GB, free: 128.9 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01951/2.864, allocations: 17.36 MB / 1.32 GB, free: 123.4 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/2.865, allocations: 0.5891 MB / 1.32 GB, free: 123.3 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05581/2.921, allocations: 21.37 MB / 1.341 GB, free: 114.5 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=892): time 2.042e-05/2.921, allocations: 0 / 1.341 GB, free: 114.5 MB / 0.7014 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 6.322768969926983] Failed to read output from testmodel.py, exit status != 0: 3.41521426406689 3.64438097 2.47651578 Calling exit ...