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.05874/0.05874, allocations: 12.03 MB / 26.99 MB, free: 196 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.0009687/0.0009683, allocations: 101.8 kB / 30.72 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.001071/0.001071, allocations: 189.7 kB / 34.56 MB, free: 3.176 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.45/1.45, allocations: 223.1 MB / 261.4 MB, free: 9.172 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06307/0.06307, allocations: 13.68 MB / 329.1 MB, free: 120 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.01917/0.01917, allocations: 17.45 MB / 414.9 MB, free: 28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1395, allocations: 56.49 MB / 471.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest_fmu_main): time 1.196/1.335, allocations: 355.1 MB / 0.8072 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2224/1.558, allocations: 86.69 MB / 0.8918 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1014/1.659, allocations: 1.796 MB / 0.8936 GB, free: 4.289 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07036/1.73, allocations: 18.24 MB / 0.9114 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6603/2.39, allocations: 49.13 MB / 0.9594 GB, free: 16.18 MB / 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.03339/2.424, allocations: 4.256 MB / 0.9635 GB, free: 16.13 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06787/2.491, allocations: 36.43 MB / 0.9991 GB, free: 15.13 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1028/2.594, allocations: 50.66 MB / 1.049 GB, free: 2.434 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02493/2.619, allocations: 6.376 MB / 1.055 GB, free: 14.55 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0188/2.638, allocations: 8.104 MB / 1.063 GB, free: 9.191 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.008354/2.647, allocations: 1.087 MB / 1.064 GB, free: 8.105 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01363/2.66, allocations: 2.262 MB / 1.066 GB, free: 6.121 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0271/2.687, allocations: 10.38 MB / 1.076 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0211/2.709, allocations: 6.441 MB / 1.082 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.07238/2.781, allocations: 55.02 MB / 1.136 GB, free: 14.51 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/2.781, allocations: 4 kB / 1.136 GB, free: 14.5 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.886e-06/2.781, allocations: 2.25 kB / 1.136 GB, free: 14.5 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.002274/2.783, allocations: 0 / 1.136 GB, free: 14.5 MB / 0.7013 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.1076/2.891, allocations: 28.7 MB / 1.164 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/2.891, allocations: 8.031 kB / 1.164 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02445/2.916, allocations: 3.976 MB / 1.168 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0513/2.967, allocations: 9.376 MB / 1.177 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06368/3.031, allocations: 25.39 MB / 1.202 GB, free: 11.61 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002236/3.033, allocations: 1.802 MB / 1.204 GB, free: 10.59 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01782/3.051, allocations: 2.448 MB / 1.206 GB, free: 8.953 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.745/3.796, allocations: 61.4 MB / 1.266 GB, free: 330.9 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002412/3.798, allocations: 234 kB / 1.266 GB, free: 330.8 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01676/3.815, allocations: 1.054 MB / 1.267 GB, free: 330.8 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01274/3.828, allocations: 6.891 MB / 1.274 GB, free: 328.8 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1205/3.948, allocations: 51.93 MB / 1.325 GB, free: 290.3 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.3563/4.305, allocations: 248.8 MB / 1.568 GB, free: 39.64 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06709/4.372, allocations: 30 MB / 1.597 GB, free: 9.527 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001961/4.374, allocations: 1.307 MB / 1.598 GB, free: 8.105 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3701/4.744, allocations: 22.06 MB / 1.62 GB, free: 312.6 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=901): time 2.507e-05/4.744, allocations: 0 / 1.62 GB, free: 312.6 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: 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed