Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") translateModel(DroneLibrary.Tests.controlModuleTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05705/0.05705, allocations: 12.02 MB / 26.98 MB, free: 200 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009194, allocations: 96.91 kB / 30.71 MB, free: 432 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 184.3 kB / 34.55 MB, free: 3.172 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.462/1.462, allocations: 223.2 MB / 261.4 MB, free: 8.945 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05513/0.05513, allocations: 13.69 MB / 329.1 MB, free: 132 kB / 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.02159/0.02159, allocations: 17.45 MB / 414.8 MB, free: 27.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1412, allocations: 56.49 MB / 471.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.025/1.166, allocations: 355.3 MB / 0.8073 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2234/1.389, allocations: 82.12 MB / 0.8875 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08928/1.479, allocations: 1.8 MB / 0.8892 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.06788/1.547, allocations: 18.25 MB / 0.9071 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6479/2.194, allocations: 49.12 MB / 0.955 GB, free: 16.39 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02908/2.224, allocations: 4.19 MB / 0.9591 GB, free: 16.34 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06618/2.29, allocations: 36.11 MB / 0.9944 GB, free: 15.35 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08727/2.377, allocations: 48.61 MB / 1.042 GB, free: 7.273 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01636/2.393, allocations: 6.291 MB / 1.048 GB, free: 3.441 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01672/2.41, allocations: 8.034 MB / 1.056 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007883/2.418, allocations: 0.9766 MB / 1.057 GB, free: 13.09 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/2.43, allocations: 2.097 MB / 1.059 GB, free: 11.25 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.02037/2.45, allocations: 10.26 MB / 1.069 GB, free: 3.902 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01518/2.465, allocations: 5.803 MB / 1.075 GB, free: 2.148 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05858/2.524, allocations: 48.48 MB / 1.122 GB, free: 8.66 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/2.524, allocations: 4 kB / 1.122 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.983e-06/2.524, allocations: 3.344 kB / 1.122 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.00219/2.526, allocations: 0 / 1.122 GB, free: 8.656 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8015 * Number of variables: 8015 Notification: Performance of Generate backend data structure: time 0.08517/2.611, allocations: 28.69 MB / 1.15 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/2.611, allocations: 8.031 kB / 1.15 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04862/2.66, allocations: 9.084 MB / 1.159 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05169/2.712, allocations: 22.13 MB / 1.18 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00188/2.714, allocations: 1.804 MB / 1.182 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01392/2.728, allocations: 2.452 MB / 1.185 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4876/3.215, allocations: 57.95 MB / 1.241 GB, free: 346.7 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003425/3.219, allocations: 229.5 kB / 1.241 GB, free: 346.7 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01618/3.235, allocations: 1.053 MB / 1.242 GB, free: 346.7 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01384/3.249, allocations: 6.495 MB / 1.249 GB, free: 346.6 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1121/3.361, allocations: 48.37 MB / 1.296 GB, free: 326 MB / 0.7482 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.3178/3.679, allocations: 226.6 MB / 1.517 GB, free: 102.6 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06384/3.743, allocations: 28.53 MB / 1.545 GB, free: 73.93 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/3.745, allocations: 1.296 MB / 1.546 GB, free: 72.52 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05923/3.804, allocations: 21.09 MB / 1.567 GB, free: 51.34 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=901): time 2.258e-05/3.804, allocations: 0 / 1.567 GB, free: 51.34 MB / 0.7482 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed