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: translateModel(DroneLibrary.Tests.simpleHoverTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.simpleHoverTest") translateModel(DroneLibrary.Tests.simpleHoverTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.simpleHoverTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06244/0.06244, allocations: 12.02 MB / 27.25 MB, free: 2.16 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.001004/0.001004, allocations: 115.6 kB / 30.94 MB, free: 5.277 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.001108/0.001108, allocations: 184.4 kB / 34.75 MB, free: 1.48 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.324/1.324, allocations: 222.9 MB / 261.3 MB, free: 220 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05689/0.05689, allocations: 13.68 MB / 328 MB, free: 3.883 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.02625/0.02625, allocations: 18.42 MB / 413.9 MB, free: 26.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1358, allocations: 55.42 MB / 469.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.034/1.17, allocations: 407.6 MB / 0.8564 GB, free: 6.859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2181/1.388, allocations: 78.97 MB / 0.9335 GB, free: 8.32 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1305/1.519, allocations: 1.784 MB / 0.9353 GB, free: 6.535 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.6149/2.134, allocations: 29.57 MB / 0.9642 GB, free: 2.816 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02767/2.162, allocations: 7.078 MB / 0.9711 GB, free: 2.371 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01394/2.176, allocations: 4.591 MB / 0.9756 GB, free: 2.277 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04898/2.225, allocations: 25.53 MB / 1 GB, free: 2.031 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08903/2.314, allocations: 44.32 MB / 1.044 GB, free: 408 kB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02832/2.342, allocations: 12.5 MB / 1.056 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02752/2.37, allocations: 16.64 MB / 1.072 GB, free: 6.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01399/2.384, allocations: 3.844 MB / 1.076 GB, free: 2.996 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/2.403, allocations: 5.009 MB / 1.081 GB, free: 14.11 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02494/2.428, allocations: 14.37 MB / 1.095 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.04112/2.469, allocations: 16.41 MB / 1.111 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.07021/2.539, allocations: 55.53 MB / 1.165 GB, free: 8.672 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/2.539, allocations: 0 / 1.165 GB, free: 8.672 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.883e-06/2.539, allocations: 0 / 1.165 GB, free: 8.672 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.002183/2.541, allocations: 4 kB / 1.165 GB, free: 8.668 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.1168/2.658, allocations: 30.36 MB / 1.195 GB, free: 10.45 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/2.658, allocations: 13.72 kB / 1.195 GB, free: 10.44 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03122/2.689, allocations: 5.59 MB / 1.2 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05742/2.747, allocations: 19.96 MB / 1.22 GB, free: 1.668 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002334/2.749, allocations: 1.695 MB / 1.221 GB, free: 60 kB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01328/2.763, allocations: 2.306 MB / 1.224 GB, free: 13.84 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6519/3.414, allocations: 54.65 MB / 1.277 GB, free: 425.7 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0021/3.417, allocations: 230.4 kB / 1.277 GB, free: 425.7 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01144/3.428, allocations: 0.9878 MB / 1.278 GB, free: 425 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009914/3.438, allocations: 6.318 MB / 1.284 GB, free: 422.6 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09332/3.531, allocations: 45.47 MB / 1.329 GB, free: 391.6 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.3047/3.836, allocations: 215.6 MB / 1.539 GB, free: 174.2 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05898/3.895, allocations: 25.93 MB / 1.565 GB, free: 148.1 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01768/3.913, allocations: 16.16 MB / 1.58 GB, free: 131.9 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/3.915, allocations: 1.27 MB / 1.582 GB, free: 130.5 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/3.915, allocations: 118.9 kB / 1.582 GB, free: 130.4 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 1.702e-05/3.915, allocations: 0 / 1.582 GB, free: 130.4 MB / 0.8264 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed