Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.07339/0.07339, allocations: 12.18 MB / 31.82 MB, free: 1.426 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.001289/0.001289, allocations: 118.4 kB / 38.03 MB, free: 2.898 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.001541/0.001541, allocations: 212.1 kB / 44.36 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.569/1.569, allocations: 230.6 MB / 281.1 MB, free: 8.707 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.06427/0.06427, allocations: 13.91 MB / 354.5 MB, free: 3.895 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.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",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.06788/0.06788, allocations: 20.57 MB / 0.499 GB, free: 15.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.4402, allocations: 59.68 MB / 0.5573 GB, free: 244 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 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 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 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 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/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter 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 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 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 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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.06071/0.5009, allocations: 50.34 MB / 0.6064 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03747/0.5383, allocations: 15.86 MB / 0.6219 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01661/0.555, allocations: 0.5739 MB / 0.6225 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05744/0.6124, allocations: 29.91 MB / 0.6517 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02318/0.6356, allocations: 8.02 MB / 0.6595 GB, free: 7.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.6487, allocations: 5.486 MB / 0.6649 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04373/0.6924, allocations: 27.5 MB / 0.6917 GB, free: 6.496 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.376/1.068, allocations: 30.53 MB / 0.7215 GB, free: 18.93 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02662/1.095, allocations: 13.08 MB / 0.7343 GB, free: 18.63 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02631/1.121, allocations: 17.03 MB / 0.7509 GB, free: 17.39 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01464/1.136, allocations: 4.059 MB / 0.7549 GB, free: 17.39 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/1.152, allocations: 5.309 MB / 0.7601 GB, free: 17.39 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02181/1.174, allocations: 15.32 MB / 0.775 GB, free: 13.96 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02693/1.2, allocations: 13.06 MB / 0.7878 GB, free: 5.805 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.079/1.279, allocations: 58.91 MB / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.279, allocations: 0 / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.463e-06/1.279, allocations: 0 / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001719/1.281, allocations: 0 / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.1116/1.393, allocations: 35.29 MB / 0.8798 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.393, allocations: 11.58 kB / 0.8798 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001036/1.394, allocations: 0.6729 MB / 0.8805 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01849/1.412, allocations: 3.924 MB / 0.8843 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04498/1.457, allocations: 7.787 MB / 0.8919 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05699/1.514, allocations: 24.09 MB / 0.9154 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002099/1.516, allocations: 1.795 MB / 0.9172 GB, free: 10.22 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01153/1.528, allocations: 2.438 MB / 0.9196 GB, free: 7.863 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6528/2.181, allocations: 56.53 MB / 0.9748 GB, free: 217.2 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001937/2.183, allocations: 236.4 kB / 0.975 GB, free: 217.1 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009186/2.192, allocations: 1.046 MB / 0.976 GB, free: 216.4 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009814/2.202, allocations: 6.214 MB / 0.9821 GB, free: 214.9 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09188/2.294, allocations: 46.66 MB / 1.028 GB, free: 182.7 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.6306/2.924, allocations: 205.8 MB / 1.229 GB, free: 185.6 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06445/2.989, allocations: 26.64 MB / 1.255 GB, free: 185.1 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02184/3.01, allocations: 16.1 MB / 1.27 GB, free: 184 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/3.012, allocations: 0.5827 MB / 1.271 GB, free: 183.9 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05845/3.071, allocations: 20.48 MB / 1.291 GB, free: 178.3 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.442e-05/3.071, allocations: 0 / 1.291 GB, free: 178.3 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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: 6.551177237997763] Failed to read output from testmodel.py, exit status != 0: 3.879497530986555 3.889427181 2.607241775 Calling exit ...