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-master/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-master/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-master/package.mo): time 0.06867/0.06867, allocations: 12.03 MB / 27.53 MB, free: 1.316 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.001108/0.001108, allocations: 104 kB / 31.23 MB, free: 4.578 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.001147/0.001147, allocations: 188.5 kB / 35.06 MB, free: 0.7656 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.432/1.432, allocations: 222.9 MB / 261.6 MB, free: 24 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05938/0.05938, allocations: 13.67 MB / 328.4 MB, free: 1.098 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.02993/0.02993, allocations: 19.59 MB / 415.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1484, allocations: 55.41 MB / 471.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.3285/0.477, allocations: 57.93 MB / 0.5167 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04045/0.5175, allocations: 15.27 MB / 0.5316 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01721/0.5348, allocations: 484.9 kB / 0.5321 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0491/0.5839, allocations: 30.37 MB / 0.5617 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02197/0.606, allocations: 7.563 MB / 0.5691 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01256/0.6186, allocations: 4.831 MB / 0.5738 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04062/0.6592, allocations: 25.38 MB / 0.5986 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0658/0.7251, allocations: 42.13 MB / 0.6398 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02297/0.7481, allocations: 12.28 MB / 0.6518 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02454/0.7727, allocations: 15.24 MB / 0.6666 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0121/0.7848, allocations: 3.844 MB / 0.6704 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01665/0.8015, allocations: 4.995 MB / 0.6753 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02464/0.8262, allocations: 14.23 MB / 0.6892 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.6831/1.509, allocations: 16.44 MB / 0.7052 GB, free: 67.15 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.07656/1.586, allocations: 55.69 MB / 0.7596 GB, free: 56.5 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/1.586, allocations: 0 / 0.7596 GB, free: 56.5 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.338e-06/1.586, allocations: 0 / 0.7596 GB, free: 56.5 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.004212/1.59, allocations: 0 / 0.7596 GB, free: 56.5 MB / 0.4983 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.1343/1.725, allocations: 30.61 MB / 0.7895 GB, free: 36.94 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.725, allocations: 11.12 kB / 0.7895 GB, free: 36.94 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02257/1.747, allocations: 3.772 MB / 0.7932 GB, free: 34.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04573/1.793, allocations: 7.536 MB / 0.8006 GB, free: 30.7 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05195/1.845, allocations: 24.29 MB / 0.8243 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/1.847, allocations: 1.692 MB / 0.8259 GB, free: 11.99 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01661/1.863, allocations: 2.31 MB / 0.8282 GB, free: 9.766 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1644/2.028, allocations: 54.57 MB / 0.8815 GB, free: 1.668 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002165/2.03, allocations: 227.8 kB / 0.8817 GB, free: 1.512 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01549/2.045, allocations: 0.9926 MB / 0.8827 GB, free: 0.6055 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01321/2.059, allocations: 6.317 MB / 0.8888 GB, free: 10.36 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.461/2.52, allocations: 45.32 MB / 0.9331 GB, free: 178.4 MB / 0.5764 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.6498/3.169, allocations: 215.1 MB / 1.143 GB, free: 141.4 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07322/3.243, allocations: 25.85 MB / 1.168 GB, free: 140.3 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02279/3.266, allocations: 16.09 MB / 1.184 GB, free: 140.2 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002322/3.268, allocations: 1.28 MB / 1.185 GB, free: 139.4 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/3.268, allocations: 119.6 kB / 1.186 GB, free: 139.3 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=765): time 2.834e-05/3.268, allocations: 0 / 1.186 GB, free: 139.3 MB / 0.5764 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed