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.09695/0.09695, allocations: 12.04 MB / 27.31 MB, free: 1.461 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.0008026/0.0008034, allocations: 95.48 kB / 31.05 MB, free: 4.805 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.001096/0.001096, allocations: 176.5 kB / 34.9 MB, free: 0.9727 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.568/1.568, allocations: 223.2 MB / 261.9 MB, free: 9.195 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05773/0.05774, allocations: 13.69 MB / 329.6 MB, free: 15.9 MB / 270.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.01903/0.01903, allocations: 17.4 MB / 415.6 MB, free: 27.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1633, allocations: 56.49 MB / 472.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.201/1.365, allocations: 405.5 MB / 0.8569 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8539/2.219, allocations: 80.72 MB / 0.9358 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1166/2.335, allocations: 1.8 MB / 0.9375 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/2.345, allocations: 2.196 MB / 0.9397 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02972/2.375, allocations: 7.551 MB / 0.947 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01524/2.391, allocations: 5.014 MB / 0.9519 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.09028/2.481, allocations: 40.55 MB / 0.9915 GB, free: 0 / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1265/2.607, allocations: 56.13 MB / 1.046 GB, free: 1.367 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02354/2.631, allocations: 7.428 MB / 1.054 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02608/2.657, allocations: 12.24 MB / 1.066 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006865/2.664, allocations: 0.9805 MB / 1.067 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01401/2.678, allocations: 2.395 MB / 1.069 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02181/2.7, allocations: 11.17 MB / 1.08 GB, free: 2.988 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.03164/2.732, allocations: 12.83 MB / 1.092 GB, free: 6.168 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.07516/2.807, allocations: 54.29 MB / 1.145 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/2.807, allocations: 0 / 1.145 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/2.807, allocations: 0 / 1.145 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002145/2.809, allocations: 4 kB / 1.145 GB, free: 0.6953 MB / 0.7325 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.08329/2.892, allocations: 27.49 MB / 1.172 GB, free: 5.094 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/2.892, allocations: 12.02 kB / 1.172 GB, free: 5.082 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/2.923, allocations: 5.895 MB / 1.178 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04929/2.972, allocations: 20.8 MB / 1.198 GB, free: 11.22 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002324/2.974, allocations: 1.8 MB / 1.2 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0112/2.985, allocations: 2.443 MB / 1.202 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7089/3.694, allocations: 57.45 MB / 1.259 GB, free: 409.4 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001819/3.696, allocations: 233.1 kB / 1.259 GB, free: 409.3 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01072/3.707, allocations: 1.049 MB / 1.26 GB, free: 408.6 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01102/3.718, allocations: 6.496 MB / 1.266 GB, free: 406.1 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1138/3.832, allocations: 47.76 MB / 1.313 GB, free: 377.3 MB / 0.8108 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.3374/4.169, allocations: 226.1 MB / 1.534 GB, free: 148.7 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06705/4.236, allocations: 28.07 MB / 1.561 GB, free: 120.5 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02188/4.258, allocations: 16.93 MB / 1.577 GB, free: 103.5 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001822/4.26, allocations: 1.295 MB / 1.579 GB, free: 102.1 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06037/4.321, allocations: 20.64 MB / 1.599 GB, free: 81.35 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 2.264e-05/4.321, allocations: 0 / 1.599 GB, free: 81.35 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed