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: 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-master/package.mo): time 0.06203/0.06203, allocations: 12.05 MB / 28.35 MB, free: 1.73 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.001032/0.001032, allocations: 107.9 kB / 32.07 MB, free: 4.578 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.001341/0.001341, allocations: 192.1 kB / 35.91 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.531/1.531, allocations: 222.9 MB / 262.5 MB, free: 7.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06368/0.06368, allocations: 13.68 MB / 329.2 MB, free: 476 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.03344/0.03344, allocations: 19.79 MB / 473.3 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.4146, allocations: 55.39 MB / 0.5163 GB, free: 20.3 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.06915/0.4838, allocations: 65.07 MB / 0.5798 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05113/0.5349, allocations: 18.54 MB / 0.5979 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02443/0.5594, allocations: 0.5206 MB / 0.5984 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06439/0.6238, allocations: 32.13 MB / 0.6298 GB, free: 1.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03096/0.6549, allocations: 8.86 MB / 0.6384 GB, free: 8.352 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.0161/0.671, allocations: 6.05 MB / 0.6444 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0516/0.7226, allocations: 29.94 MB / 0.6736 GB, free: 4.457 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08352/0.8062, allocations: 48.48 MB / 0.7209 GB, free: 4.371 MB / 0.5451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.404/1.21, allocations: 14.3 MB / 0.7349 GB, free: 48.7 MB / 0.5451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03392/1.244, allocations: 17.46 MB / 0.7519 GB, free: 48.43 MB / 0.5451 GB Notification: Performance of NFPackage.collectConstants: time 0.01766/1.262, allocations: 4.988 MB / 0.7568 GB, free: 48.43 MB / 0.5451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02475/1.287, allocations: 6.379 MB / 0.763 GB, free: 48.43 MB / 0.5451 GB Notification: Performance of NFScalarize.scalarize: time 0.0315/1.318, allocations: 16.71 MB / 0.7794 GB, free: 47.07 MB / 0.5451 GB Notification: Performance of NFVerifyModel.verify: time 0.04466/1.363, allocations: 19.68 MB / 0.7986 GB, free: 32.55 MB / 0.5451 GB Notification: Performance of NFConvertDAE.convert: time 0.09269/1.456, allocations: 69.91 MB / 0.8669 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.456, allocations: 0 / 0.8669 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.846e-06/1.456, allocations: 0 / 0.8669 GB, free: 8.484 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002644/1.458, allocations: 2.406 kB / 0.8669 GB, free: 8.484 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.1334/1.592, allocations: 37.41 MB / 0.9034 GB, free: 3.262 MB / 0.6076 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.592, allocations: 12.03 kB / 0.9034 GB, free: 3.25 MB / 0.6076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03763/1.63, allocations: 7.529 MB / 0.9108 GB, free: 11.71 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0565/1.686, allocations: 25.09 MB / 0.9353 GB, free: 3.676 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001963/1.688, allocations: 1.891 MB / 0.9371 GB, free: 1.895 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01428/1.702, allocations: 2.583 MB / 0.9396 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8183/2.521, allocations: 65.34 MB / 1.003 GB, free: 203 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002136/2.523, allocations: 260.9 kB / 1.004 GB, free: 202.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01201/2.535, allocations: 1.114 MB / 1.005 GB, free: 202.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0128/2.548, allocations: 7.879 MB / 1.012 GB, free: 200.4 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.11/2.658, allocations: 55.16 MB / 1.066 GB, free: 164.2 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 1.128/3.786, allocations: 267.7 MB / 1.328 GB, free: 84.39 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0739/3.86, allocations: 30.62 MB / 1.358 GB, free: 77.9 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02407/3.884, allocations: 18.62 MB / 1.376 GB, free: 68.88 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/3.886, allocations: 1.308 MB / 1.377 GB, free: 67.93 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06382/3.95, allocations: 21.97 MB / 1.399 GB, free: 52.68 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 2.874e-05/3.95, allocations: 0 / 1.399 GB, free: 52.68 MB / 0.6704 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed