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.06918/0.06918, allocations: 12.04 MB / 27.31 MB, free: 1.719 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.0007653/0.0007655, allocations: 99.17 kB / 31.06 MB, free: 5.18 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.0009289/0.0009289, allocations: 180.5 kB / 34.9 MB, free: 1.348 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.416/1.416, allocations: 223.2 MB / 261.9 MB, free: 9.574 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05841/0.05841, allocations: 13.7 MB / 329.6 MB, free: 320 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.01733/0.01733, allocations: 18.38 MB / 416.6 MB, free: 26.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1203, allocations: 56.48 MB / 473.1 MB, free: 4.125 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 1.158/1.278, allocations: 419.6 MB / 0.8718 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6693/1.947, allocations: 87.76 MB / 0.9575 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09164/2.039, allocations: 1.86 MB / 0.9593 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009963/2.049, allocations: 2.445 MB / 0.9617 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02463/2.074, allocations: 8.253 MB / 0.9698 GB, free: 464 kB / 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.01385/2.088, allocations: 5.583 MB / 0.9752 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.06879/2.156, allocations: 43.66 MB / 1.018 GB, free: 7.574 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09569/2.252, allocations: 59.87 MB / 1.076 GB, free: 5.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02052/2.273, allocations: 7.928 MB / 1.084 GB, free: 15.75 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/2.296, allocations: 13.09 MB / 1.097 GB, free: 4.133 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.005691/2.302, allocations: 1.133 MB / 1.098 GB, free: 3 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01087/2.313, allocations: 2.612 MB / 1.101 GB, free: 0.5273 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.01747/2.33, allocations: 11.99 MB / 1.112 GB, free: 4.613 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.02879/2.359, allocations: 14.47 MB / 1.126 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.07194/2.431, allocations: 64.6 MB / 1.189 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/2.431, allocations: 0 / 1.189 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.759e-06/2.431, allocations: 0 / 1.189 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002156/2.433, allocations: 2.625 kB / 1.189 GB, free: 6.445 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: 8755 * Number of variables: 8755 Notification: Performance of Generate backend data structure: time 0.07515/2.508, allocations: 29.28 MB / 1.218 GB, free: 9.043 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/2.509, allocations: 8.031 kB / 1.218 GB, free: 9.035 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01982/2.528, allocations: 4.31 MB / 1.222 GB, free: 4.82 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4931/3.021, allocations: 9.517 MB / 1.232 GB, free: 423.8 MB / 0.8108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04815/3.07, allocations: 29.1 MB / 1.26 GB, free: 411.7 MB / 0.8108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002312/3.072, allocations: 1.896 MB / 1.262 GB, free: 410.9 MB / 0.8108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00918/3.081, allocations: 2.565 MB / 1.264 GB, free: 410.1 MB / 0.8108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1109/3.192, allocations: 65.46 MB / 1.328 GB, free: 354.1 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001349/3.194, allocations: 253.8 kB / 1.328 GB, free: 353.9 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007945/3.201, allocations: 1.114 MB / 1.33 GB, free: 352.9 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01068/3.212, allocations: 7.878 MB / 1.337 GB, free: 345 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09645/3.309, allocations: 55.22 MB / 1.391 GB, free: 289.9 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.2686/3.577, allocations: 268 MB / 1.653 GB, free: 17.93 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4463/4.024, allocations: 30.69 MB / 1.683 GB, free: 381.9 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01931/4.043, allocations: 18.59 MB / 1.701 GB, free: 374.8 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/4.044, allocations: 1.3 MB / 1.702 GB, free: 373.9 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0506/4.095, allocations: 22.02 MB / 1.724 GB, free: 368.1 MB / 0.811 GB Notification: Performance of pre-optimization done (n=964): time 1.074e-05/4.095, allocations: 0 / 1.724 GB, free: 368.1 MB / 0.811 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed