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.0632/0.0632, allocations: 12.01 MB / 27.13 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.0009797/0.0009797, allocations: 114.7 kB / 30.83 MB, free: 5.309 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.001214/0.001215, allocations: 200.3 kB / 34.64 MB, free: 1.512 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.424/1.424, allocations: 222.9 MB / 261.2 MB, free: 8.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.07714/0.07714, allocations: 13.67 MB / 327.9 MB, free: 0.6836 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.02344/0.02344, allocations: 17.47 MB / 412.8 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1314, allocations: 55.41 MB / 468.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.9917/1.123, allocations: 413.8 MB / 0.8614 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8013/1.924, allocations: 85 MB / 0.9444 GB, free: 1.078 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1163/2.041, allocations: 1.816 MB / 0.9461 GB, free: 1.078 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.06556/2.106, allocations: 31.55 MB / 0.977 GB, free: 272 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02829/2.135, allocations: 7.72 MB / 0.9845 GB, free: 15.75 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01636/2.151, allocations: 5.459 MB / 0.9898 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.06296/2.214, allocations: 40.27 MB / 1.029 GB, free: 7.648 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09245/2.307, allocations: 43.51 MB / 1.072 GB, free: 3.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0295/2.336, allocations: 10.77 MB / 1.082 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03704/2.373, allocations: 16.43 MB / 1.098 GB, free: 11.72 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01574/2.389, allocations: 2.381 MB / 1.101 GB, free: 9.344 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02142/2.411, allocations: 3.776 MB / 1.104 GB, free: 5.699 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02576/2.436, allocations: 13.34 MB / 1.117 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04443/2.481, allocations: 16.01 MB / 1.133 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.08969/2.571, allocations: 64.63 MB / 1.196 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/2.571, allocations: 4 kB / 1.196 GB, free: 8.625 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/2.571, allocations: 0 / 1.196 GB, free: 8.625 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002684/2.573, allocations: 0 / 1.196 GB, free: 8.625 MB / 0.795 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.1422/2.716, allocations: 34.5 MB / 1.23 GB, free: 6.188 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/2.716, allocations: 12.03 kB / 1.23 GB, free: 6.176 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03209/2.748, allocations: 5.841 MB / 1.235 GB, free: 304 kB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.61/3.358, allocations: 23.84 MB / 1.259 GB, free: 435 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002333/3.36, allocations: 1.796 MB / 1.26 GB, free: 434.2 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01612/3.377, allocations: 2.454 MB / 1.263 GB, free: 433.4 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1736/3.55, allocations: 60.58 MB / 1.322 GB, free: 389.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002939/3.553, allocations: 226 kB / 1.322 GB, free: 389.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01617/3.569, allocations: 1.05 MB / 1.323 GB, free: 388.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01106/3.58, allocations: 6.892 MB / 1.33 GB, free: 381.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1065/3.687, allocations: 50.99 MB / 1.38 GB, free: 330.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.3417/4.029, allocations: 248.2 MB / 1.622 GB, free: 79.18 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07259/4.101, allocations: 29.25 MB / 1.651 GB, free: 49.82 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02252/4.124, allocations: 18.15 MB / 1.668 GB, free: 31.64 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/4.126, allocations: 1.31 MB / 1.67 GB, free: 30.22 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06221/4.189, allocations: 21.39 MB / 1.691 GB, free: 8.75 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=892): time 3.025e-05/4.189, allocations: 5.875 kB / 1.691 GB, free: 8.746 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed