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.06493/0.06493, allocations: 12.02 MB / 27.14 MB, free: 2.199 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.001077/0.001077, allocations: 119.3 kB / 30.83 MB, free: 5.32 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.001598/0.001598, allocations: 196.4 kB / 34.64 MB, free: 1.531 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.473/1.473, allocations: 222.9 MB / 261.2 MB, free: 8.512 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05696/0.05696, allocations: 13.67 MB / 327.9 MB, free: 0.7188 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.02438/0.02438, allocations: 17.47 MB / 412.8 MB, free: 28.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1485, allocations: 55.41 MB / 468.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 1.038/1.186, allocations: 407.6 MB / 0.8553 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.214/1.4, allocations: 79.08 MB / 0.9325 GB, free: 8.977 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1269/1.527, allocations: 1.781 MB / 0.9343 GB, free: 7.191 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.6507/2.178, allocations: 30.74 MB / 0.9643 GB, free: 2.633 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02896/2.207, allocations: 7.283 MB / 0.9714 GB, free: 2.176 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/2.22, allocations: 4.47 MB / 0.9757 GB, free: 2.082 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06997/2.29, allocations: 38.48 MB / 1.013 GB, free: 0 / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07708/2.367, allocations: 40.02 MB / 1.052 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02755/2.395, allocations: 10.14 MB / 1.062 GB, free: 14.7 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03501/2.43, allocations: 15.57 MB / 1.078 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01337/2.443, allocations: 2.172 MB / 1.08 GB, free: 14.62 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/2.461, allocations: 3.399 MB / 1.083 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02455/2.486, allocations: 12.69 MB / 1.095 GB, free: 14.73 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.03598/2.522, allocations: 14.48 MB / 1.109 GB, free: 272 kB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.05804/2.58, allocations: 54.21 MB / 1.162 GB, free: 10.83 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/2.58, allocations: 2.531 kB / 1.162 GB, free: 10.83 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.332e-06/2.58, allocations: 4 kB / 1.162 GB, free: 10.82 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.00192/2.582, allocations: 0 / 1.162 GB, free: 10.82 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.09966/2.681, allocations: 30.35 MB / 1.192 GB, free: 12.62 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/2.681, allocations: 8.031 kB / 1.192 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02841/2.71, allocations: 5.599 MB / 1.198 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06517/2.775, allocations: 19.96 MB / 1.217 GB, free: 3.828 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002059/2.777, allocations: 1.695 MB / 1.219 GB, free: 2.219 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01154/2.789, allocations: 2.306 MB / 1.221 GB, free: 15.99 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6635/3.452, allocations: 54.65 MB / 1.274 GB, free: 427.9 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002204/3.455, allocations: 234.5 kB / 1.275 GB, free: 427.8 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01244/3.467, allocations: 0.9925 MB / 1.276 GB, free: 427.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0123/3.479, allocations: 6.313 MB / 1.282 GB, free: 424.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1005/3.58, allocations: 45.47 MB / 1.326 GB, free: 393.8 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.2718/3.852, allocations: 215.6 MB / 1.537 GB, free: 176.2 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05716/3.909, allocations: 25.92 MB / 1.562 GB, free: 150.1 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/3.926, allocations: 16.16 MB / 1.578 GB, free: 134 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/3.928, allocations: 1.273 MB / 1.579 GB, free: 132.6 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.729e-05/3.928, allocations: 118.9 kB / 1.579 GB, free: 132.4 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 1.064e-05/3.928, allocations: 0 / 1.579 GB, free: 132.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed