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.06455/0.06455, allocations: 12.02 MB / 27.65 MB, free: 2.262 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.0009638/0.0009638, allocations: 99.5 kB / 31.36 MB, free: 5.16 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.001121/0.001121, allocations: 184.5 kB / 35.19 MB, free: 1.348 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.237/1.237, allocations: 222.9 MB / 261.7 MB, free: 7.469 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05627/0.05627, allocations: 13.68 MB / 328.5 MB, free: 0.5 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.02523/0.02523, allocations: 19.68 MB / 472.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2623, allocations: 55.4 MB / 0.5154 GB, free: 20.25 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.05214/0.3145, allocations: 65.05 MB / 0.579 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03437/0.3489, allocations: 18.54 MB / 0.5971 GB, free: 1.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.3609, allocations: 0.5181 MB / 0.5976 GB, free: 1.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04764/0.4085, allocations: 32.13 MB / 0.629 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01915/0.4277, allocations: 8.854 MB / 0.6376 GB, free: 8.453 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.01035/0.4381, allocations: 6.043 MB / 0.6435 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03283/0.4709, allocations: 29.95 MB / 0.6728 GB, free: 4.555 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05101/0.522, allocations: 48.46 MB / 0.7201 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2356/0.7576, allocations: 14.31 MB / 0.7341 GB, free: 48.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02373/0.7814, allocations: 17.46 MB / 0.7511 GB, free: 48.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01093/0.7923, allocations: 4.989 MB / 0.756 GB, free: 48.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/0.8061, allocations: 6.382 MB / 0.7622 GB, free: 48.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0172/0.8233, allocations: 16.71 MB / 0.7785 GB, free: 47.08 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02216/0.8455, allocations: 19.68 MB / 0.7977 GB, free: 32.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05506/0.9006, allocations: 69.91 MB / 0.866 GB, free: 8.59 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9006, allocations: 7.281 kB / 0.866 GB, free: 8.586 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9006, allocations: 0 / 0.866 GB, free: 8.586 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.001447/0.9021, allocations: 3.984 kB / 0.866 GB, free: 8.582 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.08321/0.9853, allocations: 37.41 MB / 0.9026 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.9853, allocations: 8.031 kB / 0.9026 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/1.014, allocations: 7.533 MB / 0.9099 GB, free: 11.81 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03985/1.054, allocations: 25.08 MB / 0.9344 GB, free: 3.777 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001443/1.055, allocations: 1.899 MB / 0.9363 GB, free: 1.988 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007991/1.063, allocations: 2.575 MB / 0.9388 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5123/1.576, allocations: 65.34 MB / 1.003 GB, free: 203 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001461/1.577, allocations: 261 kB / 1.003 GB, free: 202.9 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007134/1.584, allocations: 1.115 MB / 1.004 GB, free: 202.2 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0104/1.595, allocations: 7.872 MB / 1.012 GB, free: 200.4 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08651/1.681, allocations: 55.17 MB / 1.065 GB, free: 164.5 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.7024/2.384, allocations: 267.7 MB / 1.327 GB, free: 84.47 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06058/2.444, allocations: 30.61 MB / 1.357 GB, free: 78.14 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01665/2.461, allocations: 18.63 MB / 1.375 GB, free: 69.12 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/2.462, allocations: 1.308 MB / 1.376 GB, free: 68.16 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05094/2.513, allocations: 21.97 MB / 1.398 GB, free: 52.87 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 1.53e-05/2.513, allocations: 0 / 1.398 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