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.08973/0.08973, allocations: 12.02 MB / 27.14 MB, free: 2.195 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.001334/0.001334, allocations: 115.4 kB / 30.83 MB, free: 5.34 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.002107/0.002107, allocations: 192.4 kB / 34.64 MB, free: 1.551 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.585/1.585, allocations: 222.9 MB / 261.2 MB, free: 8.551 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05935/0.05935, allocations: 13.67 MB / 327.9 MB, free: 0.6914 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.02555/0.02555, allocations: 18.45 MB / 413.9 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1468, allocations: 55.42 MB / 469.3 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.15/1.297, allocations: 407.6 MB / 0.8563 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2424/1.539, allocations: 79.08 MB / 0.9336 GB, free: 8.465 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1426/1.682, allocations: 1.785 MB / 0.9353 GB, free: 6.676 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.7004/2.382, allocations: 30.74 MB / 0.9653 GB, free: 2.598 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.03145/2.414, allocations: 7.283 MB / 0.9725 GB, free: 2.141 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01603/2.43, allocations: 4.474 MB / 0.9768 GB, free: 2.047 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.08166/2.512, allocations: 38.52 MB / 1.014 GB, free: 0 / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08085/2.593, allocations: 40.01 MB / 1.054 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0293/2.622, allocations: 10.15 MB / 1.063 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03254/2.655, allocations: 15.57 MB / 1.079 GB, free: 316 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01758/2.672, allocations: 2.168 MB / 1.081 GB, free: 14.14 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01889/2.691, allocations: 3.4 MB / 1.084 GB, free: 10.86 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02498/2.716, allocations: 12.69 MB / 1.096 GB, free: 14.27 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.0404/2.757, allocations: 14.55 MB / 1.111 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.07988/2.837, allocations: 54.47 MB / 1.164 GB, free: 10.04 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/2.837, allocations: 0 / 1.164 GB, free: 10.04 MB / 0.7638 GB Notification: Performance of FrontEnd: time 3.256e-06/2.837, allocations: 4 kB / 1.164 GB, free: 10.03 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.002595/2.839, allocations: 4 kB / 1.164 GB, free: 10.03 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.1311/2.97, allocations: 30.6 MB / 1.194 GB, free: 11.58 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 8.399e-05/2.97, allocations: 8.031 kB / 1.194 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02422/2.995, allocations: 3.778 MB / 1.197 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05129/3.046, allocations: 7.533 MB / 1.205 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06316/3.109, allocations: 24.28 MB / 1.229 GB, free: 8.984 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002506/3.112, allocations: 1.693 MB / 1.23 GB, free: 7.375 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01439/3.126, allocations: 2.31 MB / 1.232 GB, free: 5.148 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7406/3.867, allocations: 54.58 MB / 1.286 GB, free: 425.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00277/3.87, allocations: 232.7 kB / 1.286 GB, free: 425.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01455/3.884, allocations: 0.9877 MB / 1.287 GB, free: 424.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01521/3.9, allocations: 6.321 MB / 1.293 GB, free: 422.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1046/4.004, allocations: 45.32 MB / 1.337 GB, free: 382.1 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.3069/4.311, allocations: 215.2 MB / 1.547 GB, free: 165.1 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06028/4.372, allocations: 25.85 MB / 1.573 GB, free: 139.1 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01806/4.39, allocations: 16.11 MB / 1.588 GB, free: 123 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/4.392, allocations: 1.27 MB / 1.59 GB, free: 121.6 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.111e-05/4.392, allocations: 126.8 kB / 1.59 GB, free: 121.4 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 1.011e-05/4.392, allocations: 3.938 kB / 1.59 GB, free: 121.4 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed