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.06834/0.06834, allocations: 12.04 MB / 27.97 MB, free: 2.188 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.0007249/0.0007251, allocations: 91.23 kB / 31.7 MB, free: 5.328 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.0009738/0.0009738, allocations: 180.5 kB / 35.56 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.308/1.308, allocations: 223.2 MB / 262.5 MB, free: 0.9023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05539/0.05539, allocations: 13.69 MB / 330.3 MB, free: 1.043 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.01882/0.01882, allocations: 17.39 MB / 416.2 MB, free: 27.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1427, allocations: 56.48 MB / 472.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.simpleHoverTest): time 0.9946/1.137, allocations: 399.1 MB / 0.8513 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.2012/1.339, allocations: 79 MB / 0.9285 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1133/1.452, allocations: 1.765 MB / 0.9302 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009108/1.461, allocations: 2.071 MB / 0.9322 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.5575/2.019, allocations: 7.276 MB / 0.9393 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01204/2.031, allocations: 4.47 MB / 0.9437 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05161/2.082, allocations: 37.48 MB / 0.9803 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0792/2.162, allocations: 54.4 MB / 1.033 GB, free: 11.79 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01836/2.18, allocations: 6.989 MB / 1.04 GB, free: 7.477 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02147/2.202, allocations: 11.58 MB / 1.052 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005952/2.208, allocations: 0.9219 MB / 1.052 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/2.218, allocations: 2.156 MB / 1.055 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01687/2.235, allocations: 10.7 MB / 1.065 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.02613/2.261, allocations: 12.12 MB / 1.077 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05546/2.316, allocations: 46.26 MB / 1.122 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/2.316, allocations: 0 / 1.122 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/2.316, allocations: 0 / 1.122 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001913/2.318, allocations: 4 kB / 1.122 GB, free: 11.03 MB / 0.7169 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.06947/2.388, allocations: 24.1 MB / 1.146 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/2.388, allocations: 8.031 kB / 1.146 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02727/2.415, allocations: 5.696 MB / 1.151 GB, free: 13.15 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04157/2.457, allocations: 19.95 MB / 1.171 GB, free: 10.01 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001645/2.458, allocations: 1.693 MB / 1.172 GB, free: 8.402 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01033/2.469, allocations: 2.313 MB / 1.175 GB, free: 6.176 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6478/3.117, allocations: 54.81 MB / 1.228 GB, free: 415.2 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002107/3.119, allocations: 232.7 kB / 1.228 GB, free: 415.1 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01043/3.129, allocations: 0.9929 MB / 1.229 GB, free: 415.1 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01267/3.142, allocations: 6.314 MB / 1.235 GB, free: 415 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1015/3.243, allocations: 45.66 MB / 1.28 GB, free: 397 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.2678/3.511, allocations: 215.1 MB / 1.49 GB, free: 191.5 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05748/3.569, allocations: 26.06 MB / 1.516 GB, free: 165.2 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01711/3.586, allocations: 16.18 MB / 1.531 GB, free: 149 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/3.588, allocations: 1.279 MB / 1.533 GB, free: 147.6 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/3.588, allocations: 115 kB / 1.533 GB, free: 147.5 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=765): time 1.101e-05/3.588, allocations: 0 / 1.533 GB, free: 147.5 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed