Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.simpleHoverTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.simpleHoverTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_simpleHoverTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06545/0.06545, allocations: 12.01 MB / 27.24 MB, free: 2.145 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 113.6 kB / 30.95 MB, free: 5.27 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 188.3 kB / 34.75 MB, free: 1.48 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 261.3 MB, free: 8.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0571/0.0571, allocations: 13.67 MB / 328 MB, free: 0.6602 MB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02609/0.02609, allocations: 18.45 MB / 414.1 MB, free: 26.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1493, allocations: 55.42 MB / 469.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.9442/1.094, allocations: 407.6 MB / 0.8565 GB, free: 6.766 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1786/1.272, allocations: 78.98 MB / 0.9337 GB, free: 8.215 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09141/1.364, allocations: 1.777 MB / 0.9354 GB, free: 6.434 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.4447/1.808, allocations: 29.57 MB / 0.9643 GB, free: 2.805 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02091/1.829, allocations: 7.076 MB / 0.9712 GB, free: 2.367 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01106/1.84, allocations: 4.584 MB / 0.9757 GB, free: 2.277 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03628/1.877, allocations: 25.53 MB / 1.001 GB, free: 1.992 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06532/1.942, allocations: 44.3 MB / 1.044 GB, free: 328 kB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02134/1.963, allocations: 12.52 MB / 1.056 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02427/1.988, allocations: 16.63 MB / 1.072 GB, free: 6.766 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00979/1.998, allocations: 3.844 MB / 1.076 GB, free: 2.922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/2.01, allocations: 5.016 MB / 1.081 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02268/2.033, allocations: 14.36 MB / 1.095 GB, free: 15.75 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.03165/2.065, allocations: 16.5 MB / 1.111 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.05899/2.124, allocations: 55.79 MB / 1.166 GB, free: 8.266 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/2.124, allocations: 0 / 1.166 GB, free: 8.266 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.994e-06/2.124, allocations: 0 / 1.166 GB, free: 8.266 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.001558/2.125, allocations: 0 / 1.166 GB, free: 8.266 MB / 0.7638 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7613 * Number of variables: 7613 Notification: Performance of Generate backend data structure: time 0.07887/2.204, allocations: 30.6 MB / 1.195 GB, free: 9.809 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/2.204, allocations: 12.03 kB / 1.196 GB, free: 9.797 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01316/2.217, allocations: 3.774 MB / 1.199 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04232/2.26, allocations: 7.538 MB / 1.207 GB, free: 14.52 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03999/2.3, allocations: 24.28 MB / 1.23 GB, free: 7.203 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00141/2.301, allocations: 1.695 MB / 1.232 GB, free: 5.594 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008691/2.31, allocations: 2.315 MB / 1.234 GB, free: 3.363 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5313/2.841, allocations: 54.57 MB / 1.287 GB, free: 425.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001899/2.843, allocations: 224.9 kB / 1.288 GB, free: 425 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008676/2.852, allocations: 0.9937 MB / 1.289 GB, free: 424.4 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01035/2.862, allocations: 6.322 MB / 1.295 GB, free: 422 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07873/2.941, allocations: 45.31 MB / 1.339 GB, free: 380.3 MB / 0.8264 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.2293/3.17, allocations: 215.2 MB / 1.549 GB, free: 163.4 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05461/3.225, allocations: 25.87 MB / 1.574 GB, free: 137.4 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01574/3.241, allocations: 16.09 MB / 1.59 GB, free: 121.2 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/3.242, allocations: 1.276 MB / 1.591 GB, free: 119.8 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.955e-05/3.242, allocations: 122.8 kB / 1.592 GB, free: 119.7 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 9.928e-06/3.242, allocations: 0 / 1.592 GB, free: 119.7 MB / 0.8264 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 * propellerRev2.Airframe.R.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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed