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.07249/0.07249, allocations: 12.01 MB / 27.65 MB, free: 1.859 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.0009774/0.0009775, allocations: 108 kB / 31.36 MB, free: 4.98 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.001311/0.001311, 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.411/1.411, allocations: 222.9 MB / 261.7 MB, free: 7.336 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06186/0.06186, allocations: 13.68 MB / 328.5 MB, free: 484 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.0326/0.0326, allocations: 19.67 MB / 472.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.3292, allocations: 55.39 MB / 0.5154 GB, free: 20.23 MB / 382.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.05818/0.3874, allocations: 65.04 MB / 0.579 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04559/0.433, allocations: 18.53 MB / 0.5971 GB, free: 1.984 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02009/0.4531, allocations: 0.5142 MB / 0.5976 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05665/0.5098, allocations: 32.13 MB / 0.6289 GB, free: 1.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02353/0.5334, allocations: 8.576 MB / 0.6373 GB, free: 8.723 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.01295/0.5464, allocations: 6.047 MB / 0.6432 GB, free: 2.691 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04202/0.5884, allocations: 29.94 MB / 0.6724 GB, free: 4.832 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06858/0.657, allocations: 48.46 MB / 0.7198 GB, free: 4.754 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2945/0.9516, allocations: 14.32 MB / 0.7338 GB, free: 48.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02812/0.9797, allocations: 17.42 MB / 0.7508 GB, free: 48.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01339/0.9932, allocations: 4.984 MB / 0.7556 GB, free: 48.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/1.011, allocations: 6.374 MB / 0.7619 GB, free: 48.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02204/1.033, allocations: 16.46 MB / 0.7779 GB, free: 47.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02967/1.062, allocations: 19.68 MB / 0.7972 GB, free: 32.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06537/1.128, allocations: 69.91 MB / 0.8654 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.128, allocations: 0 / 0.8654 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of FrontEnd: time 3.227e-06/1.128, allocations: 0 / 0.8654 GB, free: 8.926 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.001695/1.13, allocations: 6.375 kB / 0.8654 GB, free: 8.922 MB / 0.5763 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.09753/1.227, allocations: 37.41 MB / 0.902 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.227, allocations: 12.03 kB / 0.902 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03419/1.261, allocations: 7.529 MB / 0.9093 GB, free: 12.15 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04592/1.307, allocations: 25.08 MB / 0.9338 GB, free: 4.121 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001628/1.309, allocations: 1.893 MB / 0.9357 GB, free: 2.336 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01008/1.319, allocations: 2.577 MB / 0.9382 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5955/1.915, allocations: 65.34 MB / 1.002 GB, free: 202.8 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001896/1.917, allocations: 261.2 kB / 1.002 GB, free: 202.7 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009019/1.926, allocations: 1.114 MB / 1.003 GB, free: 202 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01239/1.938, allocations: 7.883 MB / 1.011 GB, free: 200.2 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1054/2.043, allocations: 55.16 MB / 1.065 GB, free: 164.8 MB / 0.6702 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.8416/2.885, allocations: 267.7 MB / 1.326 GB, free: 84.65 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06924/2.954, allocations: 30.61 MB / 1.356 GB, free: 78.22 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02/2.974, allocations: 18.63 MB / 1.374 GB, free: 69.2 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/2.976, allocations: 1.304 MB / 1.376 GB, free: 68.25 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05951/3.036, allocations: 21.97 MB / 1.397 GB, free: 52.87 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 1.843e-05/3.036, allocations: 0 / 1.397 GB, free: 52.87 MB / 0.6704 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