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.07497/0.07497, allocations: 12.02 MB / 26.98 MB, free: 1.91 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.001186/0.001186, allocations: 98.62 kB / 30.71 MB, free: 5.375 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.001871/0.001871, allocations: 177.1 kB / 34.54 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.502/1.502, allocations: 223.2 MB / 261.4 MB, free: 9.578 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05576/0.05576, allocations: 13.69 MB / 329.2 MB, free: 484 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.01962/0.01962, allocations: 17.45 MB / 414.8 MB, free: 28.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1374, allocations: 56.48 MB / 471.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.012/1.149, allocations: 349.6 MB / 0.8017 GB, free: 13.29 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2207/1.37, allocations: 80.37 MB / 0.8802 GB, free: 1.039 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08944/1.459, allocations: 1.758 MB / 0.8819 GB, free: 15.27 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0675/1.527, allocations: 18 MB / 0.8995 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6429/2.17, allocations: 48.48 MB / 0.9468 GB, free: 16.02 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02551/2.195, allocations: 3.796 MB / 0.9505 GB, free: 15.97 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06471/2.26, allocations: 35.26 MB / 0.9849 GB, free: 14.98 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07936/2.34, allocations: 46.88 MB / 1.031 GB, free: 11.16 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/2.356, allocations: 5.886 MB / 1.036 GB, free: 8.574 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01653/2.373, allocations: 7.473 MB / 1.044 GB, free: 5.238 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.006659/2.38, allocations: 0.9219 MB / 1.045 GB, free: 4.316 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/2.39, allocations: 1.887 MB / 1.047 GB, free: 2.895 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.01853/2.409, allocations: 9.813 MB / 1.056 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01381/2.422, allocations: 5.493 MB / 1.061 GB, free: 10.95 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.0575/2.48, allocations: 46.45 MB / 1.107 GB, free: 3.145 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/2.48, allocations: 0 / 1.107 GB, free: 3.145 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.278e-06/2.48, allocations: 0 / 1.107 GB, free: 3.145 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.00201/2.482, allocations: 0.5469 kB / 1.107 GB, free: 3.145 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.0823/2.564, allocations: 25.24 MB / 1.131 GB, free: 12.13 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/2.564, allocations: 8.031 kB / 1.131 GB, free: 12.12 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04612/2.611, allocations: 8.889 MB / 1.14 GB, free: 3.883 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05248/2.663, allocations: 21.33 MB / 1.161 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002126/2.665, allocations: 1.694 MB / 1.163 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.013/2.678, allocations: 2.314 MB / 1.165 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6922/3.371, allocations: 55.4 MB / 1.219 GB, free: 343 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002135/3.373, allocations: 227.2 kB / 1.219 GB, free: 342.9 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01292/3.386, allocations: 0.9884 MB / 1.22 GB, free: 342.9 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01381/3.4, allocations: 6.317 MB / 1.226 GB, free: 342.8 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1074/3.507, allocations: 46.26 MB / 1.272 GB, free: 332.2 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.2942/3.801, allocations: 215.6 MB / 1.482 GB, free: 126.9 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05968/3.861, allocations: 26.52 MB / 1.508 GB, free: 100.3 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/3.863, allocations: 1.282 MB / 1.509 GB, free: 98.88 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.093e-05/3.863, allocations: 115 kB / 1.509 GB, free: 98.76 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=765): time 8.957e-06/3.863, allocations: 0 / 1.509 GB, free: 98.76 MB / 0.7483 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed