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.06383/0.06383, allocations: 12.03 MB / 27.01 MB, free: 2.332 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.0006812/0.0006813, allocations: 105.8 kB / 30.74 MB, free: 5.562 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.0008559/0.000856, allocations: 179.5 kB / 34.57 MB, free: 1.734 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: 223.2 MB / 261.5 MB, free: 9.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05513/0.05513, allocations: 13.7 MB / 329.3 MB, free: 424 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.01703/0.01703, allocations: 17.46 MB / 415.1 MB, free: 28.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1273, allocations: 56.48 MB / 471.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.8644/0.9917, allocations: 376.5 MB / 0.8281 GB, free: 7.996 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1674/1.159, allocations: 78.29 MB / 0.9046 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07404/1.233, allocations: 1.8 MB / 0.9063 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.06246/1.296, allocations: 17.74 MB / 0.9237 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.5974/1.893, allocations: 49.92 MB / 0.9724 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02004/1.913, allocations: 4.135 MB / 0.9765 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07049/1.984, allocations: 58.96 MB / 1.034 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07819/2.062, allocations: 48.93 MB / 1.082 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02034/2.082, allocations: 7.908 MB / 1.09 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02359/2.106, allocations: 12.08 MB / 1.101 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006972/2.113, allocations: 0.9775 MB / 1.102 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01186/2.125, allocations: 2.138 MB / 1.104 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01744/2.142, allocations: 11.09 MB / 1.115 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01447/2.157, allocations: 5.807 MB / 1.121 GB, free: 14.64 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05496/2.212, allocations: 48.53 MB / 1.168 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/2.212, allocations: 3 kB / 1.168 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/2.212, allocations: 0 / 1.168 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.00195/2.214, allocations: 0 / 1.168 GB, free: 5.078 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.07789/2.292, allocations: 27.98 MB / 1.196 GB, free: 11.2 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/2.292, allocations: 12.03 kB / 1.196 GB, free: 11.18 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01886/2.311, allocations: 3.981 MB / 1.2 GB, free: 8.953 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04633/2.357, allocations: 7.842 MB / 1.207 GB, free: 1.52 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5128/2.87, allocations: 24.75 MB / 1.231 GB, free: 360.1 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002523/2.872, allocations: 1.799 MB / 1.233 GB, free: 360.1 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01503/2.888, allocations: 2.455 MB / 1.235 GB, free: 360.1 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1349/3.022, allocations: 57.18 MB / 1.291 GB, free: 322.8 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00163/3.024, allocations: 228.7 kB / 1.292 GB, free: 322.6 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01073/3.035, allocations: 1.054 MB / 1.293 GB, free: 321.7 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009124/3.044, allocations: 6.486 MB / 1.299 GB, free: 315.2 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09556/3.14, allocations: 47.4 MB / 1.345 GB, free: 267.9 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.3153/3.455, allocations: 225.6 MB / 1.565 GB, free: 39.91 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06101/3.516, allocations: 27.95 MB / 1.593 GB, free: 11.8 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.309/3.825, allocations: 16.83 MB / 1.609 GB, free: 328.1 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/3.827, allocations: 1.293 MB / 1.61 GB, free: 327.2 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05993/3.887, allocations: 20.54 MB / 1.631 GB, free: 326.9 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.065e-05/3.887, allocations: 2.281 kB / 1.631 GB, free: 326.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