Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") translateModel(DroneLibrary.Tests.controlModuleTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.controlModuleTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06139/0.06139, allocations: 12.01 MB / 27.24 MB, free: 2.125 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.0009019/0.0009019, allocations: 123 kB / 30.94 MB, free: 5.273 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.001099/0.001099, allocations: 188.4 kB / 34.75 MB, free: 1.48 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.365/1.365, allocations: 222.9 MB / 261.3 MB, free: 200 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0564/0.0564, allocations: 13.68 MB / 328 MB, free: 3.906 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.04307/0.04307, allocations: 18.42 MB / 413.9 MB, free: 26.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1834, allocations: 55.42 MB / 469.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 1.031/1.214, allocations: 414.2 MB / 0.8628 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7363/1.95, allocations: 80.72 MB / 0.9416 GB, free: 1.16 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1139/2.064, allocations: 1.812 MB / 0.9434 GB, free: 1.16 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.06399/2.128, allocations: 30.29 MB / 0.973 GB, free: 0.7227 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02741/2.156, allocations: 7.328 MB / 0.9801 GB, free: 212 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01531/2.171, allocations: 5.135 MB / 0.9852 GB, free: 108 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04931/2.221, allocations: 27.36 MB / 1.012 GB, free: 14.42 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09861/2.319, allocations: 46.34 MB / 1.057 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02822/2.348, allocations: 13.22 MB / 1.07 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03037/2.378, allocations: 17.53 MB / 1.087 GB, free: 6.93 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0151/2.393, allocations: 4.07 MB / 1.091 GB, free: 2.859 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02057/2.414, allocations: 5.422 MB / 1.096 GB, free: 13.57 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02587/2.44, allocations: 15.05 MB / 1.111 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04513/2.485, allocations: 17.37 MB / 1.128 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07617/2.561, allocations: 58.15 MB / 1.185 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/2.561, allocations: 1.688 kB / 1.185 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/2.561, allocations: 0 / 1.185 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002273/2.563, allocations: 0 / 1.185 GB, free: 3.93 MB / 0.7794 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.1065/2.67, allocations: 34.03 MB / 1.218 GB, free: 1.965 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/2.67, allocations: 12.02 kB / 1.218 GB, free: 1.953 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/2.699, allocations: 5.787 MB / 1.224 GB, free: 12.13 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5527/3.252, allocations: 20.79 MB / 1.244 GB, free: 443.7 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002152/3.254, allocations: 1.796 MB / 1.246 GB, free: 443.7 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01402/3.268, allocations: 2.454 MB / 1.248 GB, free: 443.7 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1467/3.415, allocations: 57.25 MB / 1.304 GB, free: 413.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001908/3.417, allocations: 228.5 kB / 1.304 GB, free: 413.4 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01059/3.427, allocations: 1.054 MB / 1.305 GB, free: 412.4 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009404/3.437, allocations: 6.492 MB / 1.312 GB, free: 406 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1019/3.539, allocations: 47.52 MB / 1.358 GB, free: 359.1 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.277/3.816, allocations: 226.5 MB / 1.579 GB, free: 130.7 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05954/3.875, allocations: 27.87 MB / 1.607 GB, free: 102.7 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01726/3.893, allocations: 16.9 MB / 1.623 GB, free: 85.79 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/3.894, allocations: 1.295 MB / 1.624 GB, free: 84.38 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05395/3.948, allocations: 20.51 MB / 1.644 GB, free: 63.79 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 1.907e-05/3.948, allocations: 0 / 1.644 GB, free: 63.79 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: 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed