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.06176/0.06176, allocations: 12.03 MB / 27.91 MB, free: 2.141 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.001006/0.001006, allocations: 101.8 kB / 31.6 MB, free: 5.242 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.001153/0.001153, allocations: 188.4 kB / 35.42 MB, free: 1.445 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.409/1.409, allocations: 222.9 MB / 262 MB, free: 8.125 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05804/0.05804, allocations: 13.66 MB / 328.7 MB, free: 324 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.02546/0.02547, allocations: 18.42 MB / 414.6 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.128, allocations: 55.42 MB / 470 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.8857/1.014, allocations: 414.2 MB / 0.8635 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6457/1.659, allocations: 80.72 MB / 0.9423 GB, free: 1.168 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09664/1.756, allocations: 1.81 MB / 0.944 GB, free: 1.168 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05421/1.81, allocations: 30.29 MB / 0.9736 GB, free: 0.7305 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02359/1.834, allocations: 7.331 MB / 0.9808 GB, free: 224 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/1.846, allocations: 5.132 MB / 0.9858 GB, free: 124 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04267/1.889, allocations: 27.26 MB / 1.012 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07639/1.965, allocations: 46.27 MB / 1.058 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02445/1.989, allocations: 13.21 MB / 1.071 GB, free: 7.105 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02893/2.018, allocations: 17.53 MB / 1.088 GB, free: 7.098 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01348/2.032, allocations: 4.071 MB / 1.092 GB, free: 3.027 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/2.049, allocations: 5.429 MB / 1.097 GB, free: 13.73 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02243/2.071, allocations: 15.05 MB / 1.112 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0389/2.11, allocations: 17.37 MB / 1.129 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05371/2.164, allocations: 50.11 MB / 1.178 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/2.164, allocations: 0 / 1.178 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/2.164, allocations: 0 / 1.178 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001994/2.166, allocations: 0 / 1.178 GB, free: 12.13 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.09827/2.264, allocations: 34.04 MB / 1.211 GB, free: 10.16 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/2.264, allocations: 8.031 kB / 1.211 GB, free: 10.16 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/2.293, allocations: 5.792 MB / 1.216 GB, free: 4.328 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04483/2.338, allocations: 20.79 MB / 1.237 GB, free: 416 kB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.4293/2.767, allocations: 1.803 MB / 1.238 GB, free: 446.8 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01358/2.78, allocations: 2.451 MB / 1.241 GB, free: 446.8 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1812/2.962, allocations: 57.24 MB / 1.297 GB, free: 421 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002084/2.964, allocations: 235 kB / 1.297 GB, free: 421 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01152/2.975, allocations: 1.05 MB / 1.298 GB, free: 420.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01057/2.986, allocations: 6.492 MB / 1.304 GB, free: 415.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1018/3.088, allocations: 47.51 MB / 1.351 GB, free: 367.8 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.3103/3.398, allocations: 226.5 MB / 1.572 GB, free: 139.4 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06367/3.462, allocations: 27.89 MB / 1.599 GB, free: 111.4 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01965/3.482, allocations: 16.88 MB / 1.616 GB, free: 94.54 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002253/3.484, allocations: 1.294 MB / 1.617 GB, free: 93.13 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.058/3.542, allocations: 20.53 MB / 1.637 GB, free: 72.52 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.846e-05/3.542, allocations: 0 / 1.637 GB, free: 72.52 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed