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.06417/0.06417, allocations: 12.03 MB / 26.99 MB, free: 200 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008916, allocations: 96.08 kB / 30.71 MB, free: 428 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 190.5 kB / 34.56 MB, free: 3.172 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.487/1.487, allocations: 223.1 MB / 261.4 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05893/0.05893, allocations: 13.69 MB / 329.1 MB, free: 108 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.01978/0.01978, allocations: 17.45 MB / 414.9 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1474, allocations: 56.49 MB / 471.4 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 1.18/1.327, allocations: 355.3 MB / 0.8073 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2194/1.547, allocations: 82.12 MB / 0.8875 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1112/1.658, allocations: 1.792 MB / 0.8893 GB, free: 8.738 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07864/1.737, allocations: 18.24 MB / 0.9071 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6775/2.414, allocations: 49.13 MB / 0.9551 GB, free: 16.37 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02499/2.439, allocations: 4.19 MB / 0.9591 GB, free: 16.32 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06459/2.504, allocations: 36.11 MB / 0.9944 GB, free: 15.32 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07615/2.58, allocations: 48.6 MB / 1.042 GB, free: 7.266 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/2.596, allocations: 6.295 MB / 1.048 GB, free: 3.5 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01671/2.613, allocations: 8.035 MB / 1.056 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00728/2.621, allocations: 0.9766 MB / 1.057 GB, free: 13.15 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01205/2.633, allocations: 2.102 MB / 1.059 GB, free: 11.31 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.02352/2.656, allocations: 10.26 MB / 1.069 GB, free: 3.957 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01694/2.673, allocations: 5.812 MB / 1.075 GB, free: 2.191 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.06996/2.743, allocations: 48.49 MB / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/2.743, allocations: 0 / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of FrontEnd: time 4.709e-06/2.743, allocations: 0 / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002494/2.746, allocations: 0 / 1.122 GB, free: 8.695 MB / 0.6857 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.09701/2.843, allocations: 28.69 MB / 1.15 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/2.843, allocations: 8.031 kB / 1.15 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02352/2.866, allocations: 3.98 MB / 1.154 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0506/2.917, allocations: 9.08 MB / 1.163 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06254/2.98, allocations: 22.12 MB / 1.184 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002518/2.982, allocations: 1.804 MB / 1.186 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0153/2.997, allocations: 2.451 MB / 1.188 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4883/3.486, allocations: 57.95 MB / 1.245 GB, free: 344.4 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002896/3.489, allocations: 234.6 kB / 1.245 GB, free: 344.3 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01554/3.504, allocations: 1.051 MB / 1.246 GB, free: 344.3 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01412/3.518, allocations: 6.493 MB / 1.253 GB, free: 344.2 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1102/3.629, allocations: 48.37 MB / 1.3 GB, free: 323.7 MB / 0.7482 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.3494/3.978, allocations: 226.6 MB / 1.521 GB, free: 97.85 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06613/4.044, allocations: 28.54 MB / 1.549 GB, free: 69.16 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/4.047, allocations: 1.296 MB / 1.55 GB, free: 67.75 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0603/4.107, allocations: 21.08 MB / 1.571 GB, free: 46.58 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=901): time 2.062e-05/4.107, allocations: 4 kB / 1.571 GB, free: 46.57 MB / 0.7482 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed