Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest2.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.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest2,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest2",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.05669/0.05669, allocations: 12.03 MB / 26.99 MB, free: 188 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.0008646/0.0008644, allocations: 93.2 kB / 30.71 MB, free: 436 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.001124/0.001124, allocations: 179.3 kB / 34.55 MB, free: 3.184 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.374/1.374, allocations: 223.2 MB / 261.4 MB, free: 1.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05808/0.05808, allocations: 13.69 MB / 329.1 MB, free: 3.828 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.01778/0.01778, allocations: 17.45 MB / 414.9 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1335, allocations: 56.49 MB / 471.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.9751/1.109, allocations: 355.3 MB / 0.8074 GB, free: 13.09 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2014/1.31, allocations: 82.13 MB / 0.8876 GB, free: 10.83 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08532/1.395, allocations: 1.792 MB / 0.8893 GB, free: 9.031 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07139/1.467, allocations: 18.25 MB / 0.9071 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.7335/2.2, allocations: 49.12 MB / 0.9551 GB, free: 16.34 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.02943/2.23, allocations: 4.188 MB / 0.9592 GB, free: 16.29 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.05917/2.289, allocations: 36.11 MB / 0.9945 GB, free: 15.3 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07753/2.367, allocations: 48.82 MB / 1.042 GB, free: 7.242 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01775/2.384, allocations: 6.295 MB / 1.048 GB, free: 3.477 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0162/2.401, allocations: 8.035 MB / 1.056 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.009134/2.41, allocations: 0.9766 MB / 1.057 GB, free: 13.13 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/2.425, allocations: 2.098 MB / 1.059 GB, free: 11.29 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.01984/2.445, allocations: 10.26 MB / 1.069 GB, free: 3.938 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01595/2.461, allocations: 5.806 MB / 1.075 GB, free: 2.18 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05639/2.517, allocations: 48.48 MB / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/2.517, allocations: 0 / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.453e-06/2.517, allocations: 0 / 1.122 GB, free: 8.695 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002044/2.519, 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.09434/2.614, allocations: 28.69 MB / 1.15 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/2.614, allocations: 14.64 kB / 1.15 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0218/2.635, allocations: 3.976 MB / 1.154 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04976/2.685, allocations: 9.083 MB / 1.163 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05625/2.742, allocations: 22.13 MB / 1.185 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002404/2.744, allocations: 1.8 MB / 1.186 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01296/2.757, allocations: 2.452 MB / 1.189 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7024/3.459, allocations: 57.94 MB / 1.245 GB, free: 337.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00274/3.462, allocations: 238.3 kB / 1.246 GB, free: 337.2 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01137/3.474, allocations: 1.048 MB / 1.247 GB, free: 337.2 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01242/3.486, allocations: 6.497 MB / 1.253 GB, free: 337.1 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1101/3.596, allocations: 48.37 MB / 1.3 GB, free: 316.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.3235/3.92, allocations: 226.7 MB / 1.521 GB, free: 91.57 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06234/3.982, allocations: 28.51 MB / 1.549 GB, free: 62.91 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/3.984, allocations: 1.3 MB / 1.551 GB, free: 61.5 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05817/4.042, allocations: 21.09 MB / 1.571 GB, free: 40.32 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.367e-05/4.042, allocations: 0 / 1.571 GB, free: 40.32 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed