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.0599/0.0599, allocations: 12.03 MB / 27.91 MB, free: 2.152 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.0009739/0.0009736, allocations: 128.6 kB / 31.62 MB, free: 5.238 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.00119/0.00119, allocations: 184.4 kB / 35.42 MB, free: 1.457 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.33/1.33, allocations: 222.9 MB / 262 MB, free: 240 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05713/0.05713, allocations: 13.68 MB / 328.7 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.02613/0.02613, allocations: 18.42 MB / 414.6 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1414, allocations: 55.41 MB / 470 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.9025/1.044, allocations: 407.6 MB / 0.8571 GB, free: 6.945 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2118/1.256, allocations: 78.98 MB / 0.9342 GB, free: 8.398 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09376/1.35, allocations: 1.781 MB / 0.9359 GB, free: 6.613 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.5155/1.865, allocations: 29.57 MB / 0.9648 GB, free: 2.887 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02613/1.891, allocations: 7.076 MB / 0.9717 GB, free: 2.441 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01202/1.903, allocations: 4.586 MB / 0.9762 GB, free: 2.348 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04396/1.947, allocations: 25.54 MB / 1.001 GB, free: 2.105 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07381/2.021, allocations: 44.32 MB / 1.044 GB, free: 0.4961 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0279/2.049, allocations: 12.51 MB / 1.057 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02635/2.076, allocations: 16.63 MB / 1.073 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01121/2.087, allocations: 3.844 MB / 1.077 GB, free: 3.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/2.104, allocations: 5.013 MB / 1.082 GB, free: 14.2 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.02443/2.128, allocations: 14.37 MB / 1.096 GB, free: 15.91 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.03197/2.16, allocations: 16.41 MB / 1.112 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.05296/2.213, allocations: 47.98 MB / 1.158 GB, free: 320 kB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/2.213, allocations: 0 / 1.158 GB, free: 320 kB / 0.7482 GB Notification: Performance of FrontEnd: time 2.124e-06/2.213, allocations: 0 / 1.158 GB, free: 320 kB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001815/2.215, allocations: 0 / 1.158 GB, free: 320 kB / 0.7482 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.08853/2.303, allocations: 30.36 MB / 1.188 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/2.304, allocations: 12.03 kB / 1.188 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02775/2.331, allocations: 5.589 MB / 1.194 GB, free: 12.46 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03932/2.371, allocations: 19.96 MB / 1.213 GB, free: 9.312 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001709/2.372, allocations: 1.694 MB / 1.215 GB, free: 7.703 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01066/2.383, allocations: 2.311 MB / 1.217 GB, free: 5.477 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5615/2.945, allocations: 54.65 MB / 1.27 GB, free: 427.6 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001471/2.946, allocations: 231 kB / 1.271 GB, free: 427.5 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008086/2.954, allocations: 0.9904 MB / 1.271 GB, free: 426.9 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01098/2.965, allocations: 6.319 MB / 1.278 GB, free: 424.5 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08818/3.053, allocations: 45.46 MB / 1.322 GB, free: 399.2 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.2499/3.303, allocations: 215.6 MB / 1.533 GB, free: 181.8 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05634/3.36, allocations: 25.93 MB / 1.558 GB, free: 155.7 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01642/3.376, allocations: 16.16 MB / 1.574 GB, free: 139.5 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/3.378, allocations: 1.273 MB / 1.575 GB, free: 138.1 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/3.378, allocations: 114.9 kB / 1.575 GB, free: 138 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=765): time 9.237e-06/3.378, allocations: 0 / 1.575 GB, free: 138 MB / 0.8264 GB [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed