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.06745/0.06745, allocations: 12.05 MB / 27.32 MB, free: 1.473 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.0005688/0.0005689, allocations: 87.5 kB / 31.05 MB, free: 4.816 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.000866/0.0008657, allocations: 177.2 kB / 34.9 MB, free: 0.9766 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.31/1.31, allocations: 223.2 MB / 261.9 MB, free: 9.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05699/0.05699, allocations: 13.71 MB / 329.6 MB, free: 296 kB / 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.01871/0.01871, allocations: 18.38 MB / 416.6 MB, free: 26.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1306, allocations: 56.47 MB / 473.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 0.9509/1.082, allocations: 405.2 MB / 0.8578 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5691/1.651, allocations: 85.34 MB / 0.9411 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09174/1.742, allocations: 1.804 MB / 0.9429 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.008357/1.751, allocations: 2.24 MB / 0.9451 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02235/1.773, allocations: 7.744 MB / 0.9526 GB, free: 0.6992 MB / 0.6075 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.01188/1.785, allocations: 5.541 MB / 0.958 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05642/1.842, allocations: 40.71 MB / 0.9978 GB, free: 12.13 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07958/1.921, allocations: 59.17 MB / 1.056 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01518/1.936, allocations: 7.505 MB / 1.063 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01916/1.956, allocations: 12.32 MB / 1.075 GB, free: 9.82 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00484/1.96, allocations: 1.086 MB / 1.076 GB, free: 8.734 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008735/1.969, allocations: 2.592 MB / 1.079 GB, free: 6.285 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01408/1.983, allocations: 11.28 MB / 1.09 GB, free: 11.07 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.02393/2.007, allocations: 13.65 MB / 1.103 GB, free: 13.45 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.06496/2.072, allocations: 61.1 MB / 1.163 GB, free: 1.172 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/2.072, allocations: 0 / 1.163 GB, free: 1.172 MB / 0.7482 GB Notification: Performance of FrontEnd: time 3.456e-06/2.072, allocations: 0 / 1.163 GB, free: 1.172 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.001894/2.074, allocations: 3.938 kB / 1.163 GB, free: 1.168 MB / 0.7482 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.07464/2.149, allocations: 27.61 MB / 1.19 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/2.149, allocations: 8.031 kB / 1.19 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01816/2.167, allocations: 3.982 MB / 1.193 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04385/2.211, allocations: 7.971 MB / 1.201 GB, free: 9.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5298/2.741, allocations: 28.39 MB / 1.229 GB, free: 419.3 MB / 0.8108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002105/2.743, allocations: 1.801 MB / 1.231 GB, free: 419.3 MB / 0.8108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01277/2.756, allocations: 2.447 MB / 1.233 GB, free: 419.3 MB / 0.8108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1467/2.902, allocations: 60.72 MB / 1.292 GB, free: 391.2 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001243/2.904, allocations: 227.2 kB / 1.293 GB, free: 391.1 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007634/2.911, allocations: 1.055 MB / 1.294 GB, free: 390.4 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009671/2.921, allocations: 6.886 MB / 1.3 GB, free: 385.1 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09832/3.019, allocations: 51.09 MB / 1.35 GB, free: 334.1 MB / 0.8108 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.3011/3.321, allocations: 247.8 MB / 1.592 GB, free: 83.73 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0658/3.386, allocations: 29.39 MB / 1.621 GB, free: 54.22 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01994/3.406, allocations: 18.13 MB / 1.639 GB, free: 36.07 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001681/3.408, allocations: 1.31 MB / 1.64 GB, free: 34.64 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05846/3.467, allocations: 21.48 MB / 1.661 GB, free: 13.07 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=901): time 2.257e-05/3.467, allocations: 0 / 1.661 GB, free: 13.07 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed