Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06382/0.06382, allocations: 12.02 MB / 27.13 MB, free: 2.156 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.001028/0.001028, allocations: 114.6 kB / 30.83 MB, free: 5.312 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.001414/0.001414, allocations: 196.3 kB / 34.64 MB, free: 1.52 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.417/1.417, allocations: 222.9 MB / 261.2 MB, free: 8.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05684/0.05684, allocations: 13.67 MB / 327.9 MB, free: 304 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.02352/0.02352, allocations: 17.46 MB / 412.8 MB, free: 28.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1333, allocations: 55.42 MB / 468.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.9535/1.087, allocations: 414.2 MB / 0.8617 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2048/1.292, allocations: 80.82 MB / 0.9406 GB, free: 0.6289 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5276/1.819, allocations: 1.813 MB / 0.9424 GB, free: 1.234 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0498/1.869, allocations: 31.48 MB / 0.9731 GB, free: 412 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02022/1.89, allocations: 7.532 MB / 0.9805 GB, free: 15.9 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/1.901, allocations: 5.023 MB / 0.9854 GB, free: 15.79 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05193/1.953, allocations: 39.16 MB / 1.024 GB, free: 8.359 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06715/2.02, allocations: 41.7 MB / 1.064 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02681/2.047, allocations: 10.73 MB / 1.075 GB, free: 0.793 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03049/2.077, allocations: 16.38 MB / 1.091 GB, free: 1.938 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01087/2.088, allocations: 2.27 MB / 1.093 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/2.105, allocations: 3.695 MB / 1.097 GB, free: 12.11 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02355/2.129, allocations: 13.25 MB / 1.11 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03821/2.167, allocations: 15.31 MB / 1.125 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07122/2.238, allocations: 56.74 MB / 1.18 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.238, allocations: 3.938 kB / 1.18 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/2.238, allocations: 0 / 1.18 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002318/2.241, allocations: 0 / 1.18 GB, free: 7.73 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.1134/2.354, allocations: 34.03 MB / 1.213 GB, free: 5.77 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/2.354, allocations: 8.031 kB / 1.213 GB, free: 5.762 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03191/2.386, allocations: 5.8 MB / 1.219 GB, free: 15.92 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5326/2.919, allocations: 20.79 MB / 1.239 GB, free: 444.7 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001752/2.92, allocations: 1.8 MB / 1.241 GB, free: 444.7 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01168/2.932, allocations: 2.453 MB / 1.243 GB, free: 444.7 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1365/3.068, allocations: 57.24 MB / 1.299 GB, free: 416.8 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001754/3.07, allocations: 233.6 kB / 1.299 GB, free: 416.7 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01012/3.08, allocations: 1.049 MB / 1.3 GB, free: 416 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009619/3.09, allocations: 6.491 MB / 1.307 GB, free: 410 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09378/3.184, allocations: 47.52 MB / 1.353 GB, free: 362.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.3026/3.487, allocations: 226.6 MB / 1.574 GB, free: 134.1 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06214/3.549, allocations: 27.87 MB / 1.602 GB, free: 106.2 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01946/3.568, allocations: 16.89 MB / 1.618 GB, free: 89.25 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/3.57, allocations: 1.301 MB / 1.619 GB, free: 87.84 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05698/3.627, allocations: 20.52 MB / 1.639 GB, free: 67.24 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.091e-05/3.627, allocations: 0 / 1.639 GB, free: 67.24 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed