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.06281/0.06281, allocations: 12.04 MB / 27.31 MB, free: 1.516 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.0007086/0.0007086, allocations: 89.19 kB / 31.05 MB, free: 6.363 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.0007924/0.0007924, allocations: 168.2 kB / 34.9 MB, free: 2.566 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.218/1.218, allocations: 223.2 MB / 261.9 MB, free: 6.926 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05552/0.05552, allocations: 13.7 MB / 329.6 MB, free: 6.301 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.02199/0.02199, allocations: 18.37 MB / 416.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3985, allocations: 56.48 MB / 473.1 MB, free: 50.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.01/1.409, allocations: 399.1 MB / 0.8518 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.202/1.611, allocations: 79 MB / 0.9289 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09885/1.71, allocations: 1.776 MB / 0.9306 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008438/1.718, allocations: 2.05 MB / 0.9326 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02145/1.74, allocations: 7.292 MB / 0.9398 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/1.75, allocations: 4.47 MB / 0.9441 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04492/1.795, allocations: 37.49 MB / 0.9807 GB, free: 9.73 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5857/2.381, allocations: 54.36 MB / 1.034 GB, free: 25.33 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01564/2.397, allocations: 6.991 MB / 1.041 GB, free: 25.33 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01948/2.416, allocations: 11.58 MB / 1.052 GB, free: 24.9 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.005594/2.422, allocations: 0.9266 MB / 1.053 GB, free: 24.9 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009346/2.431, allocations: 2.157 MB / 1.055 GB, free: 24.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01476/2.446, allocations: 10.7 MB / 1.065 GB, free: 23.84 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.023/2.469, allocations: 12.2 MB / 1.077 GB, free: 19.57 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.07236/2.541, allocations: 53.89 MB / 1.13 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/2.541, allocations: 128 / 1.13 GB, free: 0 / 0.67 GB Notification: Performance of FrontEnd: time 2.214e-06/2.541, allocations: 64 / 1.13 GB, free: 0 / 0.67 GB Notification: Performance of Transformations before backend: time 0.0019/2.543, allocations: 48 / 1.13 GB, free: 16 MB / 0.6857 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.07325/2.617, allocations: 24.3 MB / 1.154 GB, free: 2.355 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/2.617, allocations: 10.19 kB / 1.154 GB, free: 2.355 MB / 0.6857 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0159/2.633, allocations: 3.781 MB / 1.157 GB, free: 1.422 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04421/2.677, allocations: 7.735 MB / 1.165 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05/2.727, allocations: 24.28 MB / 1.189 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/2.728, allocations: 1.695 MB / 1.19 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01063/2.739, allocations: 2.313 MB / 1.193 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1352/2.874, allocations: 54.74 MB / 1.246 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00166/2.876, allocations: 233.6 kB / 1.246 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009576/2.885, allocations: 0.9853 MB / 1.247 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01068/2.896, allocations: 6.314 MB / 1.253 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09843/2.995, allocations: 45.51 MB / 1.298 GB, free: 11.67 MB / 0.8263 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.5838/3.579, allocations: 214.7 MB / 1.508 GB, free: 307.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0624/3.641, allocations: 25.99 MB / 1.533 GB, free: 281 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02022/3.661, allocations: 16.12 MB / 1.549 GB, free: 264.9 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/3.663, allocations: 1.28 MB / 1.55 GB, free: 263.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/3.663, allocations: 117 kB / 1.55 GB, free: 263.4 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=765): time 1.396e-05/3.663, allocations: 5.938 kB / 1.55 GB, free: 263.4 MB / 0.8419 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed