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.05674/0.05674, allocations: 12.17 MB / 31.02 MB, free: 0.9961 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.0008928/0.0008928, allocations: 118.2 kB / 37.24 MB, free: 1.34 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.001121/0.001121, allocations: 214.4 kB / 43.58 MB, free: 3.273 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.176/1.176, allocations: 230.6 MB / 280.4 MB, free: 7.141 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.05549/0.05549, allocations: 13.89 MB / 353.7 MB, free: 15.08 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.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",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.03865/0.03865, allocations: 29.91 MB / 0.5081 GB, free: 1.52 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.3356, allocations: 59.68 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 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.03476/0.3704, allocations: 50.61 MB / 0.6158 GB, free: 7.352 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.03042/0.4008, allocations: 15.89 MB / 0.6313 GB, free: 7.555 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01132/0.4121, allocations: 0.5714 MB / 0.6319 GB, free: 6.98 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02934/0.4415, allocations: 29.96 MB / 0.6611 GB, free: 8.957 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01997/0.4615, allocations: 8.025 MB / 0.669 GB, free: 0.957 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0114/0.4728, allocations: 5.489 MB / 0.6743 GB, free: 11.48 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.3569/0.8298, allocations: 27.5 MB / 0.7012 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0477/0.8775, allocations: 30.3 MB / 0.7308 GB, free: 11.67 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02466/0.9021, allocations: 13.08 MB / 0.7436 GB, free: 9.668 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.024/0.9261, allocations: 15.46 MB / 0.7586 GB, free: 5.242 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.01252/0.9386, allocations: 4.058 MB / 0.7626 GB, free: 5.242 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01781/0.9564, allocations: 5.294 MB / 0.7678 GB, free: 5.066 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.02362/0.9801, allocations: 15.33 MB / 0.7827 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0328/1.013, allocations: 13.05 MB / 0.7955 GB, free: 13.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.06509/1.078, allocations: 58.88 MB / 0.853 GB, free: 3.191 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/1.078, allocations: 0 / 0.853 GB, free: 3.191 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.366e-06/1.078, allocations: 2.562 kB / 0.853 GB, free: 3.191 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.002143/1.08, allocations: 0 / 0.853 GB, free: 3.191 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.1002/1.18, allocations: 35.28 MB / 0.8875 GB, free: 100 kB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.18, allocations: 8.625 kB / 0.8875 GB, free: 92 kB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01569/1.196, allocations: 3.935 MB / 0.8913 GB, free: 12.23 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02775/1.224, allocations: 7.788 MB / 0.8989 GB, free: 4.473 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/1.27, allocations: 24.1 MB / 0.9224 GB, free: 13.39 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001831/1.272, allocations: 1.784 MB / 0.9242 GB, free: 11.68 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01121/1.283, allocations: 2.448 MB / 0.9266 GB, free: 9.316 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6928/1.976, allocations: 56.52 MB / 0.9818 GB, free: 207.8 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001963/1.978, allocations: 238.1 kB / 0.982 GB, free: 207.8 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01195/1.99, allocations: 1.045 MB / 0.983 GB, free: 207 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006563/1.997, allocations: 6.212 MB / 0.9891 GB, free: 204.7 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08475/2.081, allocations: 46.57 MB / 1.035 GB, free: 164 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.6536/2.735, allocations: 205.8 MB / 1.236 GB, free: 122.5 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04383/2.779, allocations: 26.64 MB / 1.262 GB, free: 121.9 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01882/2.798, allocations: 16.09 MB / 1.277 GB, free: 118 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/2.799, allocations: 0.5737 MB / 1.278 GB, free: 117.9 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04481/2.844, allocations: 20.5 MB / 1.298 GB, free: 110.8 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=901): time 3.4e-05/2.844, allocations: 0 / 1.298 GB, free: 110.8 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.474740056321025]