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.06292/0.06292, allocations: 12.03 MB / 26.99 MB, free: 188 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.0008857, allocations: 93.2 kB / 30.71 MB, free: 436 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.3 kB / 34.55 MB, free: 3.184 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.479/1.479, allocations: 223.2 MB / 261.4 MB, free: 9.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05896/0.05896, allocations: 13.69 MB / 329.1 MB, free: 0.5117 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.01937/0.01937, allocations: 17.45 MB / 414.9 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1485, allocations: 56.49 MB / 471.4 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.022/1.17, allocations: 349.6 MB / 0.8018 GB, free: 13.33 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.197/1.367, allocations: 80.37 MB / 0.8803 GB, free: 1.004 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1021/1.469, allocations: 1.761 MB / 0.882 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07174/1.541, allocations: 18 MB / 0.8996 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.7348/2.276, allocations: 48.48 MB / 0.9469 GB, free: 15.95 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02877/2.305, allocations: 3.795 MB / 0.9506 GB, free: 15.9 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06028/2.365, allocations: 35.25 MB / 0.985 GB, free: 14.9 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07084/2.436, allocations: 46.88 MB / 1.031 GB, free: 11.09 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01657/2.453, allocations: 5.885 MB / 1.037 GB, free: 8.504 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01621/2.469, allocations: 7.469 MB / 1.044 GB, free: 5.168 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.007287/2.476, allocations: 0.9219 MB / 1.045 GB, free: 4.246 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/2.487, allocations: 1.891 MB / 1.047 GB, free: 2.824 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01778/2.505, allocations: 9.821 MB / 1.056 GB, free: 12.5 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01475/2.52, allocations: 5.489 MB / 1.062 GB, free: 10.85 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05881/2.578, allocations: 46.45 MB / 1.107 GB, free: 3.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/2.579, allocations: 0.6562 kB / 1.107 GB, free: 3.047 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.385e-06/2.579, allocations: 0 / 1.107 GB, free: 3.047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.002035/2.581, allocations: 0 / 1.107 GB, free: 3.047 MB / 0.67 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.08643/2.667, allocations: 25.22 MB / 1.132 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/2.667, allocations: 9.016 kB / 1.132 GB, free: 12.04 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02005/2.687, allocations: 3.782 MB / 1.135 GB, free: 9.914 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04768/2.735, allocations: 8.884 MB / 1.144 GB, free: 1.676 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05378/2.789, allocations: 21.33 MB / 1.165 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002342/2.791, allocations: 1.696 MB / 1.166 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01458/2.806, allocations: 2.311 MB / 1.169 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7499/3.556, allocations: 55.32 MB / 1.223 GB, free: 339.5 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002041/3.558, allocations: 235.8 kB / 1.223 GB, free: 339.4 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01261/3.57, allocations: 0.9859 MB / 1.224 GB, free: 339.4 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01261/3.583, allocations: 6.322 MB / 1.23 GB, free: 339.3 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1048/3.688, allocations: 46.26 MB / 1.275 GB, free: 327.7 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.3129/4.001, allocations: 215.6 MB / 1.486 GB, free: 122.9 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0616/4.062, allocations: 26.53 MB / 1.512 GB, free: 96.33 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001954/4.064, allocations: 1.28 MB / 1.513 GB, free: 94.93 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/4.064, allocations: 125.9 kB / 1.513 GB, free: 94.8 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=765): time 1.034e-05/4.065, allocations: 0 / 1.513 GB, free: 94.8 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed