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.05049/0.05049, allocations: 12.17 MB / 31.02 MB, free: 0.9922 MB / 18.57 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.001338/0.001338, allocations: 118.7 kB / 37.24 MB, free: 1.336 MB / 24.77 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.001194/0.001194, allocations: 219.6 kB / 43.58 MB, free: 3.262 MB / 33.03 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.127/1.127, allocations: 230.6 MB / 280.4 MB, free: 7.125 MB / 202.7 MB " [Timeout remaining time 179] 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.0437/0.0437, allocations: 13.88 MB / 353.7 MB, free: 15.06 MB / 282.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me_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.03877/0.03877, allocations: 29.91 MB / 0.5081 GB, free: 1.5 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3482, allocations: 59.67 MB / 0.5664 GB, free: 10.15 MB / 378.8 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.03712/0.3853, allocations: 50.62 MB / 0.6158 GB, free: 7.348 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0338/0.4191, allocations: 15.88 MB / 0.6313 GB, free: 7.555 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01607/0.4352, allocations: 0.5753 MB / 0.6319 GB, free: 6.977 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03093/0.4661, allocations: 29.97 MB / 0.6612 GB, free: 8.945 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01958/0.4857, allocations: 8.019 MB / 0.669 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01045/0.4961, allocations: 5.485 MB / 0.6743 GB, free: 11.48 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.3714/0.8676, allocations: 27.49 MB / 0.7012 GB, free: 12.73 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05526/0.9228, allocations: 30.3 MB / 0.7308 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02391/0.9467, allocations: 13.08 MB / 0.7436 GB, free: 9.305 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02687/0.9736, allocations: 15.46 MB / 0.7587 GB, free: 4.879 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0133/0.9869, allocations: 4.059 MB / 0.7626 GB, free: 4.879 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/1.004, allocations: 5.294 MB / 0.7678 GB, free: 4.703 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02508/1.029, allocations: 15.32 MB / 0.7828 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.03387/1.063, allocations: 13.06 MB / 0.7955 GB, free: 12.89 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.07134/1.134, allocations: 58.88 MB / 0.853 GB, free: 2.988 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.134, allocations: 3.984 kB / 0.853 GB, free: 2.984 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.855e-06/1.134, allocations: 0.5312 kB / 0.853 GB, free: 2.984 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.002518/1.137, allocations: 1.906 kB / 0.853 GB, free: 2.984 MB / 0.573 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.09771/1.234, allocations: 35.28 MB / 0.8875 GB, free: 15.89 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 6.688e-05/1.234, allocations: 12.62 kB / 0.8875 GB, free: 15.88 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01797/1.252, allocations: 3.929 MB / 0.8913 GB, free: 12.02 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03084/1.283, allocations: 7.787 MB / 0.8989 GB, free: 4.27 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04343/1.327, allocations: 24.1 MB / 0.9225 GB, free: 13.18 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001762/1.328, allocations: 1.789 MB / 0.9242 GB, free: 11.46 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01227/1.341, allocations: 2.442 MB / 0.9266 GB, free: 9.105 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6689/2.01, allocations: 56.53 MB / 0.9818 GB, free: 207.8 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001888/2.012, allocations: 237.5 kB / 0.982 GB, free: 207.7 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01189/2.023, allocations: 1.046 MB / 0.983 GB, free: 207 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008687/2.032, allocations: 6.205 MB / 0.9891 GB, free: 204.6 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0783/2.11, allocations: 46.57 MB / 1.035 GB, free: 163.8 MB / 0.6669 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.6081/2.719, allocations: 205.9 MB / 1.236 GB, free: 122 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04685/2.765, allocations: 26.61 MB / 1.262 GB, free: 121.5 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01861/2.784, allocations: 16.11 MB / 1.277 GB, free: 117.8 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/2.785, allocations: 0.5787 MB / 1.278 GB, free: 117.7 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03908/2.824, allocations: 20.5 MB / 1.298 GB, free: 110.5 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=901): time 1.871e-05/2.824, allocations: 0 / 1.298 GB, free: 110.5 MB / 0.6825 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.405689673498273]