Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.07279/0.07279, allocations: 12.19 MB / 31.82 MB, free: 1.418 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.001283/0.001283, allocations: 113.8 kB / 38.03 MB, free: 2.906 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.00161/0.00161, allocations: 216.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.482/1.482, allocations: 230.6 MB / 281.1 MB, free: 8.766 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.06347/0.06347, allocations: 13.9 MB / 354.5 MB, free: 3.93 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.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",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.06797/0.06797, allocations: 20.59 MB / 0.499 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3883, 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 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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.05873/0.447, allocations: 50.34 MB / 0.6064 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0382/0.4852, allocations: 15.85 MB / 0.6219 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01311/0.4983, allocations: 0.5778 MB / 0.6225 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05756/0.5559, allocations: 29.91 MB / 0.6517 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02119/0.5771, allocations: 8.02 MB / 0.6595 GB, free: 7.422 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01277/0.5899, allocations: 5.495 MB / 0.6649 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04154/0.6314, allocations: 27.49 MB / 0.6917 GB, free: 6.5 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3393/0.9707, allocations: 30.53 MB / 0.7215 GB, free: 19.01 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02214/0.9929, allocations: 13.08 MB / 0.7343 GB, free: 18.71 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02577/1.019, allocations: 17.02 MB / 0.7509 GB, free: 17.47 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01336/1.032, allocations: 4.06 MB / 0.7549 GB, free: 17.47 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01652/1.049, allocations: 5.31 MB / 0.7601 GB, free: 17.47 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02214/1.071, allocations: 15.32 MB / 0.7751 GB, free: 14.09 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02805/1.099, allocations: 13.05 MB / 0.7878 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.07347/1.172, allocations: 58.9 MB / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.172, allocations: 0 / 0.8453 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.214e-06/1.172, allocations: 4 kB / 0.8453 GB, free: 2.406 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002159/1.174, allocations: 0 / 0.8453 GB, free: 2.406 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.1219/1.296, allocations: 35.29 MB / 0.8798 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/1.296, allocations: 12.92 kB / 0.8798 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.001173/1.297, allocations: 0.669 MB / 0.8805 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02249/1.32, allocations: 3.925 MB / 0.8843 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04487/1.365, allocations: 7.788 MB / 0.8919 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05477/1.42, allocations: 24.1 MB / 0.9154 GB, free: 11.93 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002334/1.422, allocations: 1.795 MB / 0.9172 GB, free: 10.22 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01243/1.434, allocations: 2.433 MB / 0.9196 GB, free: 7.867 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6313/2.066, allocations: 56.54 MB / 0.9748 GB, free: 217.1 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001778/2.067, allocations: 234.1 kB / 0.975 GB, free: 217 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009115/2.077, allocations: 1.042 MB / 0.976 GB, free: 216.3 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00929/2.086, allocations: 6.207 MB / 0.9821 GB, free: 214.8 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08844/2.174, allocations: 46.67 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.6184/2.793, allocations: 205.9 MB / 1.229 GB, free: 185.8 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06272/2.855, allocations: 26.62 MB / 1.255 GB, free: 185.2 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02229/2.878, allocations: 16.11 MB / 1.27 GB, free: 184.1 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/2.88, allocations: 0.5817 MB / 1.271 GB, free: 184 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05783/2.937, allocations: 20.5 MB / 1.291 GB, free: 178.4 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.768e-05/2.937, allocations: 0 / 1.291 GB, free: 178.4 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.307568397023715] Failed to read output from testmodel.py, exit status != 0: 3.7647656820481643 3.775100023 2.600195614 Calling exit ...