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.06963/0.06963, allocations: 12.04 MB / 27.65 MB, free: 2.312 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.0008396/0.0008402, allocations: 92 kB / 31.36 MB, free: 5.469 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.00116/0.00116, allocations: 176.5 kB / 35.21 MB, free: 1.645 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.674/1.674, allocations: 223.2 MB / 262.1 MB, free: 9.484 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06894/0.06894, allocations: 13.69 MB / 329.9 MB, free: 436 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.03234/0.03234, allocations: 17.45 MB / 415.6 MB, free: 28.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1821, allocations: 56.48 MB / 472.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.222/1.404, allocations: 376.5 MB / 0.8287 GB, free: 7.914 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2549/1.659, allocations: 78.28 MB / 0.9051 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1318/1.791, allocations: 1.804 MB / 0.9069 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.07204/1.863, allocations: 17.73 MB / 0.9242 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.8594/2.723, allocations: 49.93 MB / 0.9729 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03301/2.756, allocations: 4.135 MB / 0.977 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.09173/2.847, allocations: 58.96 MB / 1.035 GB, free: 14.7 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1055/2.953, allocations: 48.94 MB / 1.082 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02654/2.98, allocations: 7.912 MB / 1.09 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02917/3.009, allocations: 12.08 MB / 1.102 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009328/3.018, allocations: 0.9766 MB / 1.103 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/3.033, allocations: 2.132 MB / 1.105 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02491/3.058, allocations: 11.09 MB / 1.116 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01905/3.077, allocations: 5.791 MB / 1.121 GB, free: 14.39 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.07515/3.153, allocations: 48.29 MB / 1.169 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/3.153, allocations: 0 / 1.169 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.166e-06/3.153, allocations: 0 / 1.169 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002747/3.155, allocations: 0 / 1.169 GB, free: 5.035 MB / 0.7169 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.1133/3.269, allocations: 27.79 MB / 1.196 GB, free: 11.31 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/3.269, allocations: 8.031 kB / 1.196 GB, free: 11.3 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03586/3.305, allocations: 5.892 MB / 1.201 GB, free: 5.578 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7783/4.083, allocations: 20.45 MB / 1.221 GB, free: 360.2 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003634/4.087, allocations: 1.802 MB / 1.223 GB, free: 360.1 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01814/4.105, allocations: 2.448 MB / 1.226 GB, free: 360.1 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.183/4.288, allocations: 57.25 MB / 1.281 GB, free: 333.8 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002296/4.29, allocations: 228.3 kB / 1.282 GB, free: 333.6 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01819/4.309, allocations: 1.058 MB / 1.283 GB, free: 332.6 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01247/4.321, allocations: 6.488 MB / 1.289 GB, free: 326.2 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.137/4.458, allocations: 47.55 MB / 1.336 GB, free: 278.7 MB / 0.7483 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.3343/4.793, allocations: 226 MB / 1.556 GB, free: 50.39 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0621/4.855, allocations: 28.02 MB / 1.584 GB, free: 22.23 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02389/4.879, allocations: 16.9 MB / 1.6 GB, free: 5.301 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/4.881, allocations: 1.295 MB / 1.601 GB, free: 3.891 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4964/5.377, allocations: 20.63 MB / 1.621 GB, free: 327.9 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 7.538e-05/5.378, allocations: 3.625 kB / 1.621 GB, free: 327.9 MB / 0.7483 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed