Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07151/0.07151, allocations: 12.04 MB / 27.31 MB, free: 1.328 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.000733/0.0007334, allocations: 102.4 kB / 31.05 MB, free: 4.812 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.001017/0.001018, allocations: 176.5 kB / 34.9 MB, free: 0.9766 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.643/1.643, allocations: 223.3 MB / 261.9 MB, free: 9.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1006/0.1006, allocations: 13.7 MB / 329.6 MB, free: 316 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.02069/0.02069, allocations: 17.39 MB / 415.6 MB, free: 27.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1688, allocations: 56.49 MB / 472 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 1.489/1.657, allocations: 405.6 MB / 0.8571 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8948/2.552, allocations: 84.93 MB / 0.94 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1454/2.698, allocations: 1.8 MB / 0.9418 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01229/2.71, allocations: 2.233 MB / 0.944 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.03215/2.742, allocations: 7.735 MB / 0.9515 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01738/2.76, allocations: 5.455 MB / 0.9568 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07984/2.84, allocations: 40.63 MB / 0.9965 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09447/2.934, allocations: 58.24 MB / 1.053 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02298/2.957, allocations: 7.488 MB / 1.061 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02713/2.984, allocations: 12.29 MB / 1.073 GB, free: 11.6 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007825/2.992, allocations: 1.082 MB / 1.074 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0155/3.008, allocations: 2.488 MB / 1.076 GB, free: 8.16 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0247/3.033, allocations: 11.26 MB / 1.087 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.04076/3.073, allocations: 13.54 MB / 1.1 GB, free: 15.44 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.09202/3.166, allocations: 61.81 MB / 1.161 GB, free: 2.438 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/3.166, allocations: 4 kB / 1.161 GB, free: 2.434 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.815e-06/3.166, allocations: 0 / 1.161 GB, free: 2.434 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.002892/3.168, allocations: 0 / 1.161 GB, free: 2.434 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.1023/3.271, allocations: 27.31 MB / 1.187 GB, free: 7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/3.271, allocations: 11.97 kB / 1.187 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03418/3.305, allocations: 5.944 MB / 1.193 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05833/3.363, allocations: 23.85 MB / 1.217 GB, free: 10.03 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003052/3.367, allocations: 1.796 MB / 1.218 GB, free: 8.316 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01541/3.382, allocations: 2.445 MB / 1.221 GB, free: 5.957 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8977/4.28, allocations: 60.76 MB / 1.28 GB, free: 396.9 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003793/4.284, allocations: 227.8 kB / 1.28 GB, free: 396.9 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0165/4.3, allocations: 1.047 MB / 1.281 GB, free: 396.1 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01386/4.314, allocations: 6.896 MB / 1.288 GB, free: 393.4 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1251/4.439, allocations: 51.21 MB / 1.338 GB, free: 345.8 MB / 0.8108 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.389/4.828, allocations: 247.9 MB / 1.58 GB, free: 95.3 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06912/4.898, allocations: 29.41 MB / 1.609 GB, free: 65.77 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02524/4.923, allocations: 18.19 MB / 1.627 GB, free: 47.55 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002742/4.926, allocations: 1.302 MB / 1.628 GB, free: 46.14 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06439/4.99, allocations: 21.51 MB / 1.649 GB, free: 24.54 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=892): time 2.608e-05/4.99, allocations: 0 / 1.649 GB, free: 24.54 MB / 0.8108 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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