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.0619/0.0619, allocations: 12.02 MB / 27.8 MB, free: 2.145 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.0009243/0.0009243, allocations: 111.2 kB / 31.48 MB, free: 5.285 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.001129/0.001129, allocations: 192.3 kB / 35.29 MB, free: 1.5 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.275/1.275, allocations: 222.9 MB / 261.8 MB, free: 344 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05955/0.05955, allocations: 13.67 MB / 328.5 MB, free: 3.969 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.02885/0.02885, allocations: 17.46 MB / 413.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1503, allocations: 55.41 MB / 468.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.906/1.056, allocations: 414.2 MB / 0.8623 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1952/1.252, allocations: 80.82 MB / 0.9412 GB, free: 1.094 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5711/1.823, allocations: 1.815 MB / 0.943 GB, free: 1.621 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0563/1.879, allocations: 31.48 MB / 0.9738 GB, free: 0.793 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02566/1.905, allocations: 7.54 MB / 0.9811 GB, free: 288 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01398/1.919, allocations: 5.016 MB / 0.986 GB, free: 180 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.0669/1.986, allocations: 40.3 MB / 1.025 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08165/2.067, allocations: 41.71 MB / 1.066 GB, free: 9.285 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02575/2.093, allocations: 10.73 MB / 1.077 GB, free: 320 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02849/2.122, allocations: 16.38 MB / 1.093 GB, free: 1.453 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01075/2.133, allocations: 2.273 MB / 1.095 GB, free: 15.18 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/2.148, allocations: 3.699 MB / 1.098 GB, free: 11.61 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02079/2.169, allocations: 13.24 MB / 1.111 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03211/2.201, allocations: 15.3 MB / 1.126 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04831/2.249, allocations: 49.78 MB / 1.175 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/2.249, allocations: 4 kB / 1.175 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/2.249, allocations: 2.25 kB / 1.175 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001972/2.251, allocations: 0 / 1.175 GB, free: 14.21 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.09179/2.343, allocations: 34.04 MB / 1.208 GB, free: 12.27 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.343, allocations: 8.031 kB / 1.208 GB, free: 12.26 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/2.37, allocations: 5.796 MB / 1.214 GB, free: 6.426 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04055/2.41, allocations: 20.79 MB / 1.234 GB, free: 2.5 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00175/2.412, allocations: 1.795 MB / 1.236 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4689/2.881, allocations: 2.454 MB / 1.238 GB, free: 446.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1244/3.005, allocations: 57.24 MB / 1.294 GB, free: 420.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001235/3.007, allocations: 236.2 kB / 1.294 GB, free: 420.3 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007329/3.014, allocations: 1.05 MB / 1.295 GB, free: 419.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008338/3.022, allocations: 6.493 MB / 1.302 GB, free: 417.1 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08411/3.106, allocations: 47.52 MB / 1.348 GB, free: 370.2 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.2776/3.384, allocations: 226.6 MB / 1.569 GB, free: 141.6 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06088/3.445, allocations: 27.87 MB / 1.597 GB, free: 113.7 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01924/3.464, allocations: 16.89 MB / 1.613 GB, free: 96.73 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/3.466, allocations: 1.297 MB / 1.614 GB, free: 95.32 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05557/3.522, allocations: 20.52 MB / 1.634 GB, free: 74.72 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.245e-05/3.522, allocations: 4 kB / 1.634 GB, free: 74.72 MB / 0.8264 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 * accelerometer.relativeAngles.R_rel.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