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.07388/0.07388, allocations: 12.04 MB / 27.31 MB, free: 1.371 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.0006528/0.0006528, allocations: 94.36 kB / 31.05 MB, free: 6.344 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.0007623/0.0007623, allocations: 180.2 kB / 34.9 MB, free: 2.535 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.268/1.268, allocations: 223.2 MB / 261.9 MB, free: 6.918 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05744/0.05744, allocations: 13.71 MB / 329.6 MB, free: 6.297 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.024/0.024, allocations: 18.35 MB / 416.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4474, allocations: 56.48 MB / 473.1 MB, free: 50.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.9862/1.434, allocations: 405.5 MB / 0.858 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1655/1.599, allocations: 80.75 MB / 0.9368 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08887/1.688, allocations: 1.804 MB / 0.9386 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00829/1.696, allocations: 2.195 MB / 0.9408 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.02066/1.717, allocations: 7.547 MB / 0.9481 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.729, allocations: 5.011 MB / 0.953 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.04581/1.774, allocations: 39.16 MB / 0.9913 GB, free: 2.781 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5049/2.279, allocations: 56.12 MB / 1.046 GB, free: 19.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02106/2.301, allocations: 7.43 MB / 1.053 GB, free: 19.08 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02365/2.324, allocations: 12.24 MB / 1.065 GB, free: 18.46 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006534/2.331, allocations: 0.9761 MB / 1.066 GB, free: 18.46 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009738/2.341, allocations: 2.393 MB / 1.069 GB, free: 18.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01521/2.356, allocations: 11.18 MB / 1.079 GB, free: 17.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02474/2.381, allocations: 12.91 MB / 1.092 GB, free: 12.81 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.09633/2.477, allocations: 58.16 MB / 1.149 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/2.477, allocations: 0 / 1.149 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of FrontEnd: time 3.246e-06/2.477, allocations: 0 / 1.149 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002195/2.479, allocations: 0 / 1.149 GB, free: 12.25 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.08201/2.561, allocations: 27.67 MB / 1.176 GB, free: 9.879 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/2.561, allocations: 9.781 kB / 1.176 GB, free: 9.879 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01772/2.579, allocations: 3.977 MB / 1.18 GB, free: 6 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04591/2.625, allocations: 7.844 MB / 1.187 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0548/2.68, allocations: 25.11 MB / 1.212 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002098/2.682, allocations: 1.803 MB / 1.214 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01453/2.696, allocations: 2.45 MB / 1.216 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.155/2.852, allocations: 57.37 MB / 1.272 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002408/2.854, allocations: 228 kB / 1.272 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01404/2.868, allocations: 1.054 MB / 1.273 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0126/2.881, allocations: 6.488 MB / 1.28 GB, free: 15.23 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.12/3.001, allocations: 47.62 MB / 1.326 GB, free: 216 kB / 0.8419 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.589/3.59, allocations: 225.7 MB / 1.547 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06146/3.651, allocations: 27.99 MB / 1.574 GB, free: 237.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01964/3.671, allocations: 16.86 MB / 1.59 GB, free: 220.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/3.673, allocations: 1.299 MB / 1.592 GB, free: 218.9 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05874/3.731, allocations: 20.57 MB / 1.612 GB, free: 198.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=901): time 2.446e-05/3.731, allocations: 4 kB / 1.612 GB, free: 198.2 MB / 0.8419 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