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: "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08569/0.08569, allocations: 12.02 MB / 27.14 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.001023/0.001023, allocations: 111.9 kB / 30.83 MB, free: 5.305 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.001312/0.001312, allocations: 196.3 kB / 34.64 MB, free: 1.516 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.468/1.468, allocations: 222.9 MB / 261.2 MB, free: 284 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0604/0.0604, allocations: 13.67 MB / 327.9 MB, free: 3.961 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.0487/0.0487, allocations: 18.45 MB / 413.9 MB, free: 26.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.2083, allocations: 55.43 MB / 469.3 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.189/1.397, allocations: 414.2 MB / 0.8627 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.9008/2.298, allocations: 80.82 MB / 0.9417 GB, free: 1.172 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1365/2.435, allocations: 1.818 MB / 0.9434 GB, free: 1.172 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.06656/2.501, allocations: 31.48 MB / 0.9742 GB, free: 384 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02644/2.528, allocations: 7.545 MB / 0.9816 GB, free: 15.86 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01418/2.542, allocations: 5.013 MB / 0.9865 GB, free: 15.76 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.06793/2.61, allocations: 39.16 MB / 1.025 GB, free: 8.289 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0819/2.692, allocations: 41.62 MB / 1.065 GB, free: 9.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02972/2.722, allocations: 10.72 MB / 1.076 GB, free: 336 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03147/2.753, allocations: 16.39 MB / 1.092 GB, free: 1.465 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01158/2.765, allocations: 2.273 MB / 1.094 GB, free: 15.19 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01791/2.783, allocations: 3.695 MB / 1.098 GB, free: 11.63 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02674/2.81, allocations: 13.24 MB / 1.111 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03912/2.849, allocations: 15.39 MB / 1.126 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07124/2.92, allocations: 57 MB / 1.181 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/2.92, allocations: 8 kB / 1.181 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/2.92, allocations: 0 / 1.181 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002931/2.923, allocations: 0 / 1.181 GB, free: 6.922 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.1348/3.058, allocations: 34.29 MB / 1.215 GB, free: 4.707 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/3.058, allocations: 8.031 kB / 1.215 GB, free: 4.699 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02028/3.078, allocations: 3.98 MB / 1.219 GB, free: 0.7969 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05081/3.129, allocations: 7.728 MB / 1.226 GB, free: 9.023 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5896/3.719, allocations: 25.1 MB / 1.251 GB, free: 441 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002088/3.721, allocations: 1.802 MB / 1.252 GB, free: 440.2 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01247/3.733, allocations: 2.456 MB / 1.255 GB, free: 439.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1497/3.883, allocations: 57.17 MB / 1.311 GB, free: 405.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002215/3.885, allocations: 229.9 kB / 1.311 GB, free: 405.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01266/3.898, allocations: 1.057 MB / 1.312 GB, free: 404.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009823/3.908, allocations: 6.493 MB / 1.318 GB, free: 397.7 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1004/4.008, allocations: 47.37 MB / 1.365 GB, free: 350.4 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.3165/4.325, allocations: 226.1 MB / 1.585 GB, free: 121.8 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0631/4.388, allocations: 27.8 MB / 1.613 GB, free: 93.86 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02183/4.41, allocations: 16.81 MB / 1.629 GB, free: 77.03 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/4.412, allocations: 1.303 MB / 1.63 GB, free: 75.61 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05769/4.47, allocations: 20.45 MB / 1.65 GB, free: 55.08 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 2.847e-05/4.47, allocations: 0 / 1.65 GB, free: 55.08 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