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.06649/0.06649, allocations: 12.04 MB / 27.02 MB, free: 2.344 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.000815/0.0008149, allocations: 102.1 kB / 30.73 MB, free: 5.57 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.001061/0.001061, allocations: 180.5 kB / 34.58 MB, free: 1.746 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.416/1.416, allocations: 223.2 MB / 261.5 MB, free: 9.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05641/0.05641, allocations: 13.69 MB / 329.3 MB, free: 436 kB / 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.02435/0.02435, allocations: 17.44 MB / 415.1 MB, free: 28.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1444, allocations: 56.49 MB / 471.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.8645/1.009, allocations: 370.6 MB / 0.8224 GB, free: 10.18 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1923/1.201, allocations: 76.57 MB / 0.8971 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07591/1.277, allocations: 1.773 MB / 0.8989 GB, free: 5.109 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.04852/1.326, allocations: 17.43 MB / 0.9159 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.5913/1.917, allocations: 49.21 MB / 0.964 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02571/1.943, allocations: 3.733 MB / 0.9676 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07069/2.014, allocations: 57.45 MB / 1.024 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07465/2.088, allocations: 47.21 MB / 1.07 GB, free: 5.898 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02031/2.109, allocations: 7.463 MB / 1.077 GB, free: 1.016 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02145/2.13, allocations: 11.45 MB / 1.088 GB, free: 9 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006325/2.136, allocations: 0.9219 MB / 1.089 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/2.147, allocations: 1.91 MB / 1.091 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01882/2.166, allocations: 10.63 MB / 1.101 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0153/2.181, allocations: 5.497 MB / 1.107 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05838/2.24, allocations: 46.49 MB / 1.152 GB, free: 4.066 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/2.24, allocations: 2.641 kB / 1.152 GB, free: 4.066 MB / 0.7013 GB Notification: Performance of FrontEnd: time 3.046e-06/2.24, allocations: 0 / 1.152 GB, free: 4.066 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.001966/2.242, allocations: 0 / 1.152 GB, free: 4.066 MB / 0.7013 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.08409/2.326, allocations: 24.58 MB / 1.176 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/2.326, allocations: 16.02 kB / 1.176 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02059/2.347, allocations: 3.77 MB / 1.18 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04098/2.388, allocations: 7.647 MB / 1.187 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04721/2.435, allocations: 23.96 MB / 1.211 GB, free: 4.867 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001867/2.437, allocations: 1.696 MB / 1.212 GB, free: 3.914 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01166/2.448, allocations: 2.309 MB / 1.215 GB, free: 2.375 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5926/3.041, allocations: 54.56 MB / 1.268 GB, free: 348 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001776/3.043, allocations: 229.1 kB / 1.268 GB, free: 347.9 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01148/3.054, allocations: 0.9888 MB / 1.269 GB, free: 347.2 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009785/3.064, allocations: 6.322 MB / 1.275 GB, free: 344.8 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08926/3.154, allocations: 45.31 MB / 1.32 GB, free: 303.3 MB / 0.7483 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.2651/3.419, allocations: 214.6 MB / 1.529 GB, free: 86.81 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05574/3.474, allocations: 25.95 MB / 1.554 GB, free: 60.73 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01877/3.493, allocations: 16.09 MB / 1.57 GB, free: 44.61 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/3.495, allocations: 1.27 MB / 1.571 GB, free: 43.22 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.84e-05/3.495, allocations: 130.8 kB / 1.572 GB, free: 43.08 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=765): time 1.145e-05/3.495, allocations: 0 / 1.572 GB, free: 43.08 MB / 0.7483 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed