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-master/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-master/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-master/package.mo): time 0.05897/0.05897, allocations: 12.03 MB / 27.53 MB, free: 1.398 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.000996/0.000996, allocations: 105.2 kB / 31.24 MB, free: 4.574 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.001137/0.001137, allocations: 196.4 kB / 35.07 MB, free: 0.7578 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.234/1.234, allocations: 222.9 MB / 261.6 MB, free: 32 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05609/0.05609, allocations: 13.68 MB / 328.4 MB, free: 3.738 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.02823/0.02823, allocations: 19.63 MB / 415.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0928/0.121, allocations: 55.42 MB / 471.2 MB, free: 4.246 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.2527/0.3738, allocations: 65.01 MB / 0.5237 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03428/0.4081, allocations: 18.53 MB / 0.5418 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01992/0.428, allocations: 0.518 MB / 0.5423 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04606/0.4741, allocations: 32.14 MB / 0.5737 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02208/0.4963, allocations: 8.583 MB / 0.582 GB, free: 7.41 MB / 398.1 MB [/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.01246/0.5087, allocations: 6.046 MB / 0.5879 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03622/0.545, allocations: 29.92 MB / 0.6172 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06663/0.6116, allocations: 48.63 MB / 0.6647 GB, free: 7.434 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02111/0.6328, allocations: 14.31 MB / 0.6786 GB, free: 9.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02276/0.6556, allocations: 17.41 MB / 0.6956 GB, free: 7.652 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01081/0.6664, allocations: 4.984 MB / 0.7005 GB, free: 2.668 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2008/0.8672, allocations: 6.366 MB / 0.7067 GB, free: 69.87 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.01735/0.8846, allocations: 16.46 MB / 0.7228 GB, free: 69.87 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.02866/0.9133, allocations: 19.77 MB / 0.7421 GB, free: 65.04 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.04616/0.9595, allocations: 69.21 MB / 0.8097 GB, free: 27.83 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9595, allocations: 2.719 kB / 0.8097 GB, free: 27.83 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9595, allocations: 0.6562 kB / 0.8097 GB, free: 27.83 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001326/0.9608, allocations: 0 / 0.8097 GB, free: 27.83 MB / 0.4982 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.07424/1.035, allocations: 36.87 MB / 0.8457 GB, free: 12.38 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.035, allocations: 10.72 kB / 0.8457 GB, free: 12.37 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01097/1.046, allocations: 4.31 MB / 0.8499 GB, free: 8.152 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0418/1.088, allocations: 9.356 MB / 0.859 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04225/1.13, allocations: 29.11 MB / 0.8875 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001211/1.131, allocations: 1.897 MB / 0.8893 GB, free: 1.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007218/1.139, allocations: 2.578 MB / 0.8918 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2725/1.411, allocations: 65.26 MB / 0.9556 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009844/1.412, allocations: 252.2 kB / 0.9558 GB, free: 152.3 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004472/1.417, allocations: 1.117 MB / 0.9569 GB, free: 151.6 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009562/1.426, allocations: 7.884 MB / 0.9646 GB, free: 149.9 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08261/1.509, allocations: 54.99 MB / 1.018 GB, free: 121.8 MB / 0.5763 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.4592/1.968, allocations: 268.4 MB / 1.28 GB, free: 74.37 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0594/2.028, allocations: 30.53 MB / 1.31 GB, free: 64.89 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01544/2.043, allocations: 18.55 MB / 1.328 GB, free: 55.46 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001157/2.044, allocations: 1.306 MB / 1.33 GB, free: 54.41 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05008/2.094, allocations: 21.89 MB / 1.351 GB, free: 35.85 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=964): time 1.104e-05/2.094, allocations: 0 / 1.351 GB, free: 35.85 MB / 0.6232 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed