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: translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.08762/0.08762, allocations: 12.02 MB / 27.66 MB, free: 1.875 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.0009785/0.0009786, allocations: 103.9 kB / 31.35 MB, free: 4.984 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.001114/0.001115, allocations: 192.5 kB / 35.19 MB, free: 1.164 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.399/1.399, allocations: 222.9 MB / 261.8 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1703/0.1703, allocations: 13.66 MB / 328.5 MB, free: 2.746 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.3111/0.3111, allocations: 19.64 MB / 472.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.3937, allocations: 55.4 MB / 0.5154 GB, free: 13.61 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/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.05481/0.4485, allocations: 65.06 MB / 0.5789 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03785/0.4864, allocations: 18.53 MB / 0.597 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01371/0.5001, allocations: 0.5219 MB / 0.5975 GB, free: 7.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0529/0.553, allocations: 32.14 MB / 0.6289 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2628/0.8159, allocations: 8.844 MB / 0.6376 GB, free: 7.629 MB / 478.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.01147/0.8274, allocations: 6.042 MB / 0.6435 GB, free: 7.629 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03375/0.8612, allocations: 29.95 MB / 0.6727 GB, free: 7.598 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06184/0.923, allocations: 48.64 MB / 0.7202 GB, free: 10.87 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02265/0.9457, allocations: 14.31 MB / 0.7342 GB, free: 13.73 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02496/0.9707, allocations: 17.46 MB / 0.7512 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.01111/0.9819, allocations: 4.988 MB / 0.7561 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/0.9961, allocations: 6.38 MB / 0.7623 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02047/1.017, allocations: 16.7 MB / 0.7786 GB, free: 1.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03098/1.048, allocations: 19.7 MB / 0.7979 GB, free: 14.21 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.07207/1.12, allocations: 69.74 MB / 0.866 GB, free: 9.586 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.12, allocations: 0 / 0.866 GB, free: 9.586 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.553e-06/1.12, allocations: 0 / 0.866 GB, free: 9.586 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001694/1.121, allocations: 0 / 0.866 GB, free: 9.586 MB / 0.6388 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.5296/1.651, allocations: 36.63 MB / 0.9018 GB, free: 206.4 MB / 0.6389 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.651, allocations: 11.89 kB / 0.9018 GB, free: 206.4 MB / 0.6389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03358/1.685, allocations: 7.358 MB / 0.909 GB, free: 202.7 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04144/1.726, allocations: 25 MB / 0.9334 GB, free: 181.4 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001356/1.728, allocations: 1.887 MB / 0.9352 GB, free: 179.7 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009301/1.737, allocations: 2.574 MB / 0.9377 GB, free: 177.2 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1216/1.859, allocations: 65.34 MB / 1.002 GB, free: 109.6 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001355/1.86, allocations: 253.7 kB / 1.002 GB, free: 109.4 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008639/1.869, allocations: 1.118 MB / 1.003 GB, free: 108.4 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01104/1.88, allocations: 7.874 MB / 1.011 GB, free: 100.6 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09736/1.977, allocations: 55.16 MB / 1.064 GB, free: 45.39 MB / 0.6389 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.7966/2.774, allocations: 267.3 MB / 1.325 GB, free: 27.92 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07105/2.845, allocations: 30.61 MB / 1.355 GB, free: 13.04 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02439/2.869, allocations: 18.63 MB / 1.374 GB, free: 10.38 MB / 0.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001983/2.871, allocations: 1.318 MB / 1.375 GB, free: 8.949 MB / 0.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3373/3.208, allocations: 21.96 MB / 1.396 GB, free: 233.7 MB / 0.686 GB Notification: Performance of pre-optimization done (n=964): time 1.954e-05/3.209, allocations: 0 / 1.396 GB, free: 233.7 MB / 0.686 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed