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.06604/0.06604, allocations: 12.03 MB / 27.53 MB, free: 1.398 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.0009737/0.0009737, allocations: 109.6 kB / 31.24 MB, free: 4.594 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.001179/0.001179, allocations: 192.4 kB / 35.07 MB, free: 0.7812 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.303/1.303, allocations: 222.9 MB / 261.6 MB, free: 20 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08108/0.08108, allocations: 13.67 MB / 328.3 MB, free: 3.703 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.02631/0.02631, allocations: 19.58 MB / 415.6 MB, free: 25.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.1215, allocations: 55.41 MB / 471.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.2398/0.3613, allocations: 60.7 MB / 0.5193 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03328/0.3947, allocations: 17.44 MB / 0.5363 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01309/0.4078, allocations: 0.4934 MB / 0.5368 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04568/0.4535, allocations: 31.2 MB / 0.5673 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01985/0.4734, allocations: 8.037 MB / 0.5751 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01168/0.4851, allocations: 5.889 MB / 0.5809 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03446/0.5196, allocations: 28.42 MB / 0.6086 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06598/0.5856, allocations: 47.4 MB / 0.6549 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02155/0.6072, allocations: 13.74 MB / 0.6683 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02303/0.6303, allocations: 16.58 MB / 0.6845 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01079/0.6411, allocations: 4.883 MB / 0.6893 GB, free: 13.62 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01501/0.6561, allocations: 6.192 MB / 0.6954 GB, free: 7.516 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.4286/1.085, allocations: 15.7 MB / 0.7107 GB, free: 68.35 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.03252/1.117, allocations: 18.78 MB / 0.729 GB, free: 64.91 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.05775/1.175, allocations: 66.32 MB / 0.7938 GB, free: 33.06 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.175, allocations: 0 / 0.7938 GB, free: 33.06 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.703e-06/1.175, allocations: 0 / 0.7938 GB, free: 33.06 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001723/1.177, allocations: 0 / 0.7938 GB, free: 33.06 MB / 0.4983 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.09345/1.27, allocations: 34.5 MB / 0.8275 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/1.27, allocations: 12.44 kB / 0.8275 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02823/1.299, allocations: 5.842 MB / 0.8332 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04396/1.343, allocations: 23.84 MB / 0.8565 GB, free: 0.5859 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001905/1.345, allocations: 1.799 MB / 0.8583 GB, free: 14.87 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01002/1.355, allocations: 2.448 MB / 0.8606 GB, free: 12.52 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.374/1.729, allocations: 60.57 MB / 0.9198 GB, free: 161.1 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002014/1.731, allocations: 231.5 kB / 0.92 GB, free: 161.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009672/1.74, allocations: 1.05 MB / 0.921 GB, free: 161.1 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01223/1.753, allocations: 6.896 MB / 0.9278 GB, free: 161 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1107/1.863, allocations: 50.98 MB / 0.9776 GB, free: 146.9 MB / 0.5764 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.6116/2.475, allocations: 248.3 MB / 1.22 GB, free: 76.41 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06851/2.544, allocations: 29.24 MB / 1.249 GB, free: 75.3 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02029/2.564, allocations: 18.15 MB / 1.266 GB, free: 71.52 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/2.566, allocations: 1.295 MB / 1.268 GB, free: 70.57 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05988/2.626, allocations: 21.4 MB / 1.288 GB, free: 60.93 MB / 0.592 GB Notification: Performance of pre-optimization done (n=892): time 1.804e-05/2.626, allocations: 0 / 1.288 GB, free: 60.93 MB / 0.592 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed