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.06186/0.06186, allocations: 12.05 MB / 28.31 MB, free: 1.539 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.001051/0.001051, allocations: 111.9 kB / 32.04 MB, free: 4.473 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.001291/0.001291, allocations: 192.4 kB / 35.87 MB, free: 0.6602 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.44/1.44, allocations: 222.9 MB / 262.4 MB, free: 10.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1891/0.1891, allocations: 13.66 MB / 329.2 MB, free: 2.609 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.02794/0.02794, allocations: 19.37 MB / 416.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4823, allocations: 55.38 MB / 472.3 MB, free: 53.74 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.04795/0.5303, allocations: 65.04 MB / 0.5248 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03771/0.5681, allocations: 18.53 MB / 0.5429 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01498/0.5831, allocations: 0.5184 MB / 0.5434 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05623/0.6393, allocations: 32.13 MB / 0.5748 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0221/0.6615, allocations: 8.578 MB / 0.5831 GB, free: 11.12 MB / 430.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.01282/0.6743, allocations: 6.048 MB / 0.589 GB, free: 5.094 MB / 430.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.05181/0.7262, allocations: 29.93 MB / 0.6183 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3332/1.059, allocations: 48.48 MB / 0.6656 GB, free: 18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02709/1.087, allocations: 14.33 MB / 0.6796 GB, free: 17.56 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03279/1.119, allocations: 17.41 MB / 0.6966 GB, free: 16.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01473/1.134, allocations: 4.987 MB / 0.7015 GB, free: 16.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02037/1.155, allocations: 6.375 MB / 0.7077 GB, free: 16.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02623/1.181, allocations: 16.46 MB / 0.7238 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04319/1.224, allocations: 19.68 MB / 0.743 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.08732/1.311, allocations: 69.74 MB / 0.8111 GB, free: 1.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.311, allocations: 0 / 0.8111 GB, free: 1.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/1.311, allocations: 0 / 0.8111 GB, free: 1.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002301/1.314, allocations: 0 / 0.8111 GB, free: 1.965 MB / 0.545 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.1156/1.429, allocations: 36.62 MB / 0.8469 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.43, allocations: 8.031 kB / 0.8469 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03543/1.465, allocations: 7.354 MB / 0.8541 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5808/2.046, allocations: 25 MB / 0.8785 GB, free: 183.9 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001715/2.048, allocations: 1.895 MB / 0.8803 GB, free: 183.2 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01321/2.061, allocations: 2.567 MB / 0.8828 GB, free: 182.4 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.158/2.219, allocations: 65.34 MB / 0.9466 GB, free: 146.2 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002046/2.221, allocations: 260.5 kB / 0.9469 GB, free: 145.9 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01271/2.234, allocations: 1.12 MB / 0.948 GB, free: 144.9 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01168/2.245, allocations: 7.871 MB / 0.9557 GB, free: 138.2 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1066/2.352, allocations: 55.15 MB / 1.01 GB, free: 83.11 MB / 0.592 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.9257/3.278, allocations: 267.3 MB / 1.271 GB, free: 47.61 MB / 0.6235 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07247/3.35, allocations: 30.63 MB / 1.3 GB, free: 32.32 MB / 0.6235 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02247/3.373, allocations: 18.62 MB / 1.319 GB, free: 16.59 MB / 0.6235 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002603/3.375, allocations: 1.309 MB / 1.32 GB, free: 15.17 MB / 0.6235 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3308/3.706, allocations: 21.96 MB / 1.341 GB, free: 200.1 MB / 0.6235 GB Notification: Performance of pre-optimization done (n=964): time 2.833e-05/3.706, allocations: 0 / 1.341 GB, free: 200.1 MB / 0.6235 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