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.06728/0.06728, allocations: 12.02 MB / 27.25 MB, free: 2.148 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.001056/0.001056, allocations: 100.9 kB / 30.95 MB, free: 5.27 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.001493/0.001494, allocations: 192.3 kB / 34.76 MB, free: 1.473 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.16/1.16, allocations: 222.9 MB / 261.3 MB, free: 228 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05348/0.05348, allocations: 13.68 MB / 328 MB, free: 1.262 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.02055/0.02055, allocations: 18.45 MB / 414.1 MB, free: 26.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07871/0.09927, allocations: 55.42 MB / 469.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest2): time 0.6758/0.7751, allocations: 414.2 MB / 0.8629 GB, free: 160 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4598/1.235, allocations: 80.72 MB / 0.9418 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06796/1.303, allocations: 1.81 MB / 0.9435 GB, free: 1.156 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.0432/1.346, allocations: 30.29 MB / 0.9731 GB, free: 0.7227 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01674/1.363, allocations: 7.328 MB / 0.9803 GB, free: 216 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.009337/1.372, allocations: 5.135 MB / 0.9853 GB, free: 112 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.0333/1.406, allocations: 27.38 MB / 1.012 GB, free: 14.42 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0507/1.456, allocations: 46.34 MB / 1.057 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/1.475, allocations: 13.21 MB / 1.07 GB, free: 6.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0211/1.496, allocations: 17.54 MB / 1.087 GB, free: 6.336 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.007657/1.504, allocations: 4.071 MB / 1.091 GB, free: 2.266 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009461/1.514, allocations: 5.427 MB / 1.097 GB, free: 12.97 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.01275/1.526, allocations: 15.04 MB / 1.111 GB, free: 14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0216/1.548, allocations: 17.47 MB / 1.128 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04853/1.596, allocations: 58.41 MB / 1.185 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/1.596, allocations: 6.703 kB / 1.185 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.51e-07/1.596, allocations: 0 / 1.185 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0012/1.598, allocations: 0 / 1.185 GB, free: 2.977 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.07765/1.675, allocations: 34.29 MB / 1.219 GB, free: 0.7656 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/1.675, allocations: 8.031 kB / 1.219 GB, free: 0.7578 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01077/1.686, allocations: 3.979 MB / 1.223 GB, free: 12.86 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03659/1.723, allocations: 7.721 MB / 1.23 GB, free: 5.094 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6615/2.384, allocations: 25.11 MB / 1.255 GB, free: 136.5 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001618/2.386, allocations: 1.801 MB / 1.257 GB, free: 136.4 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008328/2.394, allocations: 2.448 MB / 1.259 GB, free: 136.4 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.114/2.508, allocations: 57.17 MB / 1.315 GB, free: 125 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001715/2.51, allocations: 232.1 kB / 1.315 GB, free: 125 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007256/2.517, allocations: 1.057 MB / 1.316 GB, free: 124.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008619/2.526, allocations: 6.494 MB / 1.322 GB, free: 121.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07471/2.601, allocations: 47.37 MB / 1.369 GB, free: 79.54 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.4752/3.076, allocations: 226.1 MB / 1.589 GB, free: 440.7 MB / 0.9514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05881/3.135, allocations: 27.8 MB / 1.617 GB, free: 439.6 MB / 0.9514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01708/3.152, allocations: 16.82 MB / 1.633 GB, free: 439.5 MB / 0.9514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/3.153, allocations: 1.302 MB / 1.634 GB, free: 438.7 MB / 0.9514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05206/3.206, allocations: 20.44 MB / 1.654 GB, free: 436.1 MB / 0.9514 GB Notification: Performance of pre-optimization done (n=901): time 1.777e-05/3.206, allocations: 0 / 1.654 GB, free: 436.1 MB / 0.9514 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