Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest_fmu_main.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_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest_fmu_main,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest_fmu_main",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.06709/0.06709, allocations: 12.02 MB / 27.25 MB, free: 2.152 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.0009524/0.0009524, allocations: 109.4 kB / 30.95 MB, free: 5.273 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.001161/0.001161, allocations: 196.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.237/1.237, allocations: 222.9 MB / 261.3 MB, free: 8.582 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05346/0.05346, allocations: 13.68 MB / 328 MB, free: 0.6602 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.02078/0.02078, allocations: 18.45 MB / 414.1 MB, free: 27.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07989/0.1007, allocations: 55.42 MB / 469.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.6811/0.7819, allocations: 414 MB / 0.8627 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4662/1.248, allocations: 85.31 MB / 0.946 GB, free: 1.098 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06879/1.317, allocations: 1.809 MB / 0.9478 GB, free: 1.098 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.04216/1.359, allocations: 30.36 MB / 0.9775 GB, free: 0.6602 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01666/1.376, allocations: 7.519 MB / 0.9848 GB, free: 156 kB / 0.6232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.009633/1.386, allocations: 5.708 MB / 0.9904 GB, free: 44 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03592/1.421, allocations: 29.16 MB / 1.019 GB, free: 14.39 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05556/1.477, allocations: 50.75 MB / 1.068 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02204/1.499, allocations: 14 MB / 1.082 GB, free: 12.11 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/1.521, allocations: 18.04 MB / 1.1 GB, free: 11.51 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.009513/1.531, allocations: 4.895 MB / 1.104 GB, free: 6.613 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/1.543, allocations: 6.324 MB / 1.111 GB, free: 440 kB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.01732/1.561, allocations: 15.86 MB / 1.126 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02535/1.586, allocations: 18.98 MB / 1.145 GB, free: 13.68 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.05714/1.643, allocations: 65.74 MB / 1.209 GB, free: 12.8 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.643, allocations: 4 kB / 1.209 GB, free: 12.8 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.443e-06/1.643, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.001461/1.645, allocations: 0 / 1.209 GB, free: 12.79 MB / 0.8107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8014 * Number of variables: 8014 Notification: Performance of Generate backend data structure: time 0.4001/2.045, allocations: 34.87 MB / 1.243 GB, free: 442 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/2.045, allocations: 10.34 kB / 1.243 GB, free: 442 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0117/2.056, allocations: 3.975 MB / 1.247 GB, free: 440.1 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03841/2.095, allocations: 7.853 MB / 1.255 GB, free: 438 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04341/2.138, allocations: 28.41 MB / 1.282 GB, free: 421.5 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00145/2.14, allocations: 1.794 MB / 1.284 GB, free: 420.7 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009319/2.149, allocations: 2.456 MB / 1.286 GB, free: 419.9 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1055/2.255, allocations: 60.53 MB / 1.346 GB, free: 363.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001272/2.256, allocations: 234 kB / 1.346 GB, free: 363.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007577/2.264, allocations: 1.052 MB / 1.347 GB, free: 362.3 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008533/2.272, allocations: 6.892 MB / 1.353 GB, free: 355.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08189/2.354, allocations: 50.86 MB / 1.403 GB, free: 304.6 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.2454/2.599, allocations: 248.1 MB / 1.645 GB, free: 53.26 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0554/2.655, allocations: 29.24 MB / 1.674 GB, free: 23.92 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01546/2.67, allocations: 18.1 MB / 1.692 GB, free: 5.797 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/2.672, allocations: 1.307 MB / 1.693 GB, free: 4.375 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2268/2.898, allocations: 21.37 MB / 1.714 GB, free: 406.4 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=901): time 1.734e-05/2.898, allocations: 0.6094 kB / 1.714 GB, free: 406.4 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: controlModuleTest_fmu_inputs2_1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs2_1.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs2_1.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