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.06507/0.06507, allocations: 12.02 MB / 27.25 MB, free: 2.125 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.001009/0.001009, allocations: 115.4 kB / 30.94 MB, free: 5.277 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.001269/0.001269, allocations: 188.3 kB / 34.75 MB, free: 1.48 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.242/1.242, allocations: 222.9 MB / 261.3 MB, free: 252 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05536/0.05536, allocations: 13.67 MB / 328 MB, free: 1.305 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.02508/0.02508, allocations: 18.45 MB / 414 MB, free: 26.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.1142, allocations: 55.43 MB / 469.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.7731/0.8874, allocations: 414.2 MB / 0.8629 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4601/1.348, allocations: 80.71 MB / 0.9418 GB, free: 1.148 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06669/1.414, allocations: 1.811 MB / 0.9435 GB, free: 1.148 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.04311/1.457, allocations: 30.29 MB / 0.9731 GB, free: 0.7148 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01603/1.473, allocations: 7.328 MB / 0.9803 GB, free: 208 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.008471/1.482, allocations: 5.135 MB / 0.9853 GB, free: 104 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03202/1.514, allocations: 27.28 MB / 1.012 GB, free: 14.12 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0565/1.571, allocations: 46.27 MB / 1.057 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02054/1.591, allocations: 13.21 MB / 1.07 GB, free: 6.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02217/1.613, allocations: 17.54 MB / 1.087 GB, free: 6.57 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.009777/1.623, allocations: 4.07 MB / 1.091 GB, free: 2.5 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/1.636, allocations: 5.424 MB / 1.096 GB, free: 13.21 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.01762/1.654, allocations: 15.04 MB / 1.111 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02744/1.681, allocations: 17.47 MB / 1.128 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05191/1.733, allocations: 58.41 MB / 1.185 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.733, allocations: 0 / 1.185 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/1.733, allocations: 1.969 kB / 1.185 GB, free: 3.223 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001525/1.735, allocations: 0 / 1.185 GB, free: 3.223 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.08148/1.816, allocations: 34.29 MB / 1.219 GB, free: 1.008 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.816, allocations: 12.03 kB / 1.219 GB, free: 0.9961 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01277/1.829, allocations: 3.979 MB / 1.223 GB, free: 13.09 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03902/1.868, allocations: 7.721 MB / 1.23 GB, free: 5.332 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3745/2.243, allocations: 25.11 MB / 1.255 GB, free: 441 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001277/2.244, allocations: 1.804 MB / 1.256 GB, free: 440.3 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007658/2.252, allocations: 2.451 MB / 1.259 GB, free: 439.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1086/2.36, allocations: 57.16 MB / 1.315 GB, free: 402.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001445/2.362, allocations: 236.6 kB / 1.315 GB, free: 402.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007769/2.37, allocations: 1.054 MB / 1.316 GB, free: 401.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008396/2.378, allocations: 6.498 MB / 1.322 GB, free: 394.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08016/2.458, allocations: 47.36 MB / 1.368 GB, free: 347.5 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.2417/2.7, allocations: 226.1 MB / 1.589 GB, free: 118.5 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05694/2.757, allocations: 27.82 MB / 1.616 GB, free: 90.6 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01595/2.773, allocations: 16.8 MB / 1.633 GB, free: 73.77 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001557/2.774, allocations: 1.3 MB / 1.634 GB, free: 72.36 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04972/2.824, allocations: 20.45 MB / 1.654 GB, free: 51.82 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 1.658e-05/2.824, allocations: 4 kB / 1.654 GB, free: 51.82 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