Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06836/0.06836, allocations: 12.02 MB / 27.25 MB, free: 2.133 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.001175/0.001175, allocations: 112 kB / 30.94 MB, free: 5.281 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.001678/0.001677, allocations: 183.5 kB / 34.75 MB, free: 1.492 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.366/1.366, allocations: 222.9 MB / 261.3 MB, free: 224 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05715/0.05715, allocations: 13.67 MB / 328 MB, free: 3.898 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.0272/0.0272, allocations: 18.42 MB / 413.9 MB, free: 26.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.147, allocations: 55.42 MB / 469.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.083/1.231, allocations: 414.2 MB / 0.8628 GB, free: 380 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8099/2.04, allocations: 80.71 MB / 0.9416 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1166/2.157, allocations: 1.811 MB / 0.9434 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05651/2.214, allocations: 30.3 MB / 0.973 GB, free: 0.7227 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02571/2.239, allocations: 7.321 MB / 0.9801 GB, free: 220 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01473/2.254, allocations: 5.136 MB / 0.9852 GB, free: 112 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04919/2.303, allocations: 27.27 MB / 1.012 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1019/2.405, allocations: 46.27 MB / 1.057 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02831/2.434, allocations: 13.21 MB / 1.07 GB, free: 6.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03397/2.468, allocations: 17.54 MB / 1.087 GB, free: 6.742 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01591/2.484, allocations: 4.07 MB / 1.091 GB, free: 2.672 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/2.504, allocations: 5.417 MB / 1.096 GB, free: 13.39 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.03379/2.538, allocations: 15.05 MB / 1.111 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04022/2.578, allocations: 17.37 MB / 1.128 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07996/2.658, allocations: 58.16 MB / 1.185 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.658, allocations: 0 / 1.185 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.915e-06/2.658, allocations: 3.938 kB / 1.185 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002196/2.66, allocations: 0 / 1.185 GB, free: 3.738 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.1202/2.78, allocations: 34.04 MB / 1.218 GB, free: 1.77 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/2.78, allocations: 8.031 kB / 1.218 GB, free: 1.762 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03106/2.812, allocations: 5.787 MB / 1.224 GB, free: 11.94 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5264/3.338, allocations: 20.79 MB / 1.244 GB, free: 443.3 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002243/3.34, allocations: 1.799 MB / 1.246 GB, free: 443.3 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0139/3.354, allocations: 2.456 MB / 1.248 GB, free: 443.3 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1569/3.511, allocations: 57.24 MB / 1.304 GB, free: 413.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001825/3.513, allocations: 227.5 kB / 1.304 GB, free: 413.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01261/3.526, allocations: 1.059 MB / 1.305 GB, free: 412.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01043/3.536, allocations: 6.499 MB / 1.312 GB, free: 405.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1047/3.641, allocations: 47.51 MB / 1.358 GB, free: 358.9 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.3205/3.961, allocations: 226.5 MB / 1.579 GB, free: 130.4 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06131/4.023, allocations: 27.9 MB / 1.606 GB, free: 102.4 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01882/4.042, allocations: 16.88 MB / 1.623 GB, free: 85.53 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/4.044, allocations: 1.299 MB / 1.624 GB, free: 84.11 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0593/4.103, allocations: 20.51 MB / 1.644 GB, free: 63.53 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.73e-05/4.103, allocations: 0 / 1.644 GB, free: 63.53 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 * accelerometer.relativeAngles.R_rel.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