Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload.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.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",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.06564/0.06564, allocations: 12.01 MB / 27.25 MB, free: 2.137 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.001002/0.001002, allocations: 121.2 kB / 30.95 MB, free: 5.262 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.001128/0.001128, allocations: 196.3 kB / 34.75 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.279/1.279, allocations: 222.9 MB / 261.3 MB, free: 236 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05623/0.05623, allocations: 13.68 MB / 328 MB, free: 3.891 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.0218/0.0218, allocations: 18.45 MB / 414.1 MB, free: 26.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.1135, allocations: 55.41 MB / 469.5 MB, free: 5.758 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Warning: An inner declaration for outer component world could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Notification: The diagnostics message for the missing inner is: No "world" component is defined. A default world component with the default gravity field will be used (g=9.81 in negative y-axis). If this is not desired, drag Modelica.Mechanics.MultiBody.World into the top level of your model. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DronePayload.DroneTest_payload): time 0.7736/0.8871, allocations: 428.6 MB / 0.877 GB, free: 1.828 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.5125/1.4, allocations: 87.74 MB / 0.9627 GB, free: 0.9453 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07514/1.475, allocations: 1.871 MB / 0.9645 GB, free: 0.9453 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.04302/1.518, allocations: 31.27 MB / 0.9951 GB, free: 476 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.01794/1.536, allocations: 8.021 MB / 1.003 GB, free: 15.4 MB / 0.6388 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.009917/1.546, allocations: 5.749 MB / 1.009 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.03435/1.58, allocations: 30.14 MB / 1.038 GB, free: 5.402 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05792/1.638, allocations: 51.07 MB / 1.088 GB, free: 4.93 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02027/1.658, allocations: 14.55 MB / 1.102 GB, free: 8.32 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02298/1.681, allocations: 18.93 MB / 1.121 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.009853/1.691, allocations: 4.988 MB / 1.125 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.704, allocations: 6.399 MB / 1.132 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01812/1.722, allocations: 16.62 MB / 1.148 GB, free: 10.91 MB / 0.7482 GB Notification: Performance of NFVerifyModel.verify: time 0.02641/1.749, allocations: 19.87 MB / 1.167 GB, free: 7.09 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.05876/1.808, allocations: 69.34 MB / 1.235 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/1.808, allocations: 0 / 1.235 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of FrontEnd: time 3.256e-06/1.808, allocations: 4 kB / 1.235 GB, free: 2.645 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 0.001399/1.809, allocations: 0 / 1.235 GB, free: 2.645 MB / 0.8263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8755 * Number of variables: 8755 Notification: Performance of Generate backend data structure: time 0.3515/2.161, allocations: 36.88 MB / 1.271 GB, free: 439.2 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/2.161, allocations: 10.75 kB / 1.271 GB, free: 439.2 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01138/2.172, allocations: 4.308 MB / 1.275 GB, free: 436.3 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04034/2.212, allocations: 9.351 MB / 1.284 GB, free: 431.6 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03769/2.25, allocations: 29.12 MB / 1.313 GB, free: 409.8 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009317/2.251, allocations: 1.889 MB / 1.315 GB, free: 408 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007727/2.259, allocations: 2.564 MB / 1.317 GB, free: 405.6 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09252/2.351, allocations: 65.28 MB / 1.381 GB, free: 338.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007286/2.352, allocations: 261.6 kB / 1.381 GB, free: 337.9 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003418/2.355, allocations: 1.113 MB / 1.382 GB, free: 336.8 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00835/2.364, allocations: 7.875 MB / 1.39 GB, free: 329 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07678/2.441, allocations: 54.99 MB / 1.444 GB, free: 274.1 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.2219/2.663, allocations: 268.4 MB / 1.706 GB, free: 1.555 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3743/3.037, allocations: 30.52 MB / 1.736 GB, free: 399.9 MB / 0.8267 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01481/3.052, allocations: 18.55 MB / 1.754 GB, free: 390.9 MB / 0.8267 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/3.053, allocations: 1.31 MB / 1.755 GB, free: 390 MB / 0.8267 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04522/3.098, allocations: 21.89 MB / 1.776 GB, free: 384.2 MB / 0.8267 GB Notification: Performance of pre-optimization done (n=964): time 1.513e-05/3.098, allocations: 0 / 1.776 GB, free: 384.2 MB / 0.8267 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.droneChassis1.bodyShape.body.frame_a.r_0[1] + 0.25 * drone.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