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.06151/0.06151, allocations: 12.02 MB / 27.25 MB, free: 2.137 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.001038/0.001038, allocations: 119.8 kB / 30.94 MB, free: 5.273 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.00115/0.00115, allocations: 188.3 kB / 34.75 MB, free: 1.48 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.428/1.428, allocations: 222.9 MB / 261.3 MB, free: 8.605 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05904/0.05904, allocations: 13.68 MB / 328 MB, free: 0.6562 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.02263/0.02263, allocations: 18.42 MB / 413.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1238, allocations: 55.41 MB / 469.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.9435/1.067, allocations: 413.8 MB / 0.8625 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7366/1.804, allocations: 84.9 MB / 0.9454 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1238/1.928, allocations: 1.808 MB / 0.9472 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05582/1.984, allocations: 30.37 MB / 0.9768 GB, free: 0.6914 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02775/2.011, allocations: 7.52 MB / 0.9842 GB, free: 188 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01622/2.028, allocations: 5.608 MB / 0.9896 GB, free: 84 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05174/2.08, allocations: 28.85 MB / 1.018 GB, free: 13.81 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08447/2.164, allocations: 49.78 MB / 1.066 GB, free: 9.711 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03177/2.196, allocations: 13.97 MB / 1.08 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03107/2.227, allocations: 18 MB / 1.098 GB, free: 13.19 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01437/2.241, allocations: 4.888 MB / 1.102 GB, free: 8.305 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02075/2.262, allocations: 6.218 MB / 1.108 GB, free: 2.219 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.03173/2.294, allocations: 15.85 MB / 1.124 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04353/2.338, allocations: 18.85 MB / 1.142 GB, free: 15.61 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.08912/2.427, allocations: 66.43 MB / 1.207 GB, free: 14.02 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/2.427, allocations: 4 kB / 1.207 GB, free: 14.01 MB / 0.8107 GB Notification: Performance of FrontEnd: time 3.085e-06/2.427, allocations: 3.094 kB / 1.207 GB, free: 14.01 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.002501/2.429, allocations: 0 / 1.207 GB, free: 14.01 MB / 0.8107 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.6599/3.089, allocations: 34.49 MB / 1.241 GB, free: 441.6 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/3.089, allocations: 7.906 kB / 1.241 GB, free: 441.6 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03341/3.123, allocations: 5.844 MB / 1.247 GB, free: 440 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0651/3.188, allocations: 23.85 MB / 1.27 GB, free: 427.9 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006149/3.194, allocations: 1.803 MB / 1.272 GB, free: 427.1 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01581/3.21, allocations: 2.439 MB / 1.274 GB, free: 426.4 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1468/3.357, allocations: 60.58 MB / 1.333 GB, free: 374.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00194/3.359, allocations: 234 kB / 1.333 GB, free: 374.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01285/3.372, allocations: 1.051 MB / 1.334 GB, free: 373.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01016/3.382, allocations: 6.89 MB / 1.341 GB, free: 366.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09543/3.477, allocations: 50.99 MB / 1.391 GB, free: 315.4 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.3256/3.803, allocations: 248.2 MB / 1.633 GB, free: 64.15 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06311/3.866, allocations: 29.25 MB / 1.662 GB, free: 34.79 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02134/3.887, allocations: 18.15 MB / 1.68 GB, free: 16.61 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001756/3.889, allocations: 1.303 MB / 1.681 GB, free: 15.19 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3935/4.283, allocations: 21.39 MB / 1.702 GB, free: 405.7 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=892): time 4.344e-05/4.283, allocations: 0.5 kB / 1.702 GB, free: 405.7 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: 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed