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.06961/0.06961, allocations: 12.04 MB / 27.66 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.0008363/0.0008361, allocations: 95.98 kB / 31.37 MB, free: 5.281 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.001316/0.001316, allocations: 184 kB / 35.21 MB, free: 1.461 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.516/1.516, allocations: 223.2 MB / 262.2 MB, free: 0.8477 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05969/0.05969, allocations: 13.7 MB / 329.9 MB, free: 1.098 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.02414/0.02414, allocations: 17.45 MB / 415.6 MB, free: 28.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1857, allocations: 56.49 MB / 472.1 MB, free: 5.668 MB / 334.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 1.459/1.645, allocations: 389.6 MB / 0.8415 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.2601/1.905, allocations: 85.2 MB / 0.9247 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1404/2.046, allocations: 1.859 MB / 0.9265 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.7231/2.769, allocations: 18.46 MB / 0.9445 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.1661/2.935, allocations: 51.91 MB / 0.9952 GB, free: 13.95 MB / 0.6232 GB [/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.02865/2.964, allocations: 4.236 MB / 0.9994 GB, free: 12.89 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.09273/3.056, allocations: 61.75 MB / 1.06 GB, free: 1.496 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09439/3.151, allocations: 51.92 MB / 1.11 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02798/3.179, allocations: 8.461 MB / 1.119 GB, free: 5.156 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03291/3.212, allocations: 12.92 MB / 1.131 GB, free: 10.63 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01116/3.223, allocations: 1.137 MB / 1.132 GB, free: 9.496 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/3.244, allocations: 2.339 MB / 1.135 GB, free: 7.406 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02706/3.271, allocations: 11.86 MB / 1.146 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02213/3.293, allocations: 6.743 MB / 1.153 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.09761/3.391, allocations: 57.87 MB / 1.209 GB, free: 9.617 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 1.575e-05/3.391, allocations: 4 kB / 1.209 GB, free: 9.613 MB / 0.7638 GB Notification: Performance of FrontEnd: time 4.829e-06/3.391, allocations: 3.938 kB / 1.209 GB, free: 9.609 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.003085/3.394, allocations: 0 / 1.209 GB, free: 9.609 MB / 0.7638 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.816/4.21, allocations: 29.41 MB / 1.238 GB, free: 374.1 MB / 0.7639 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/4.21, allocations: 11.44 kB / 1.238 GB, free: 374.1 MB / 0.7639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0441/4.254, allocations: 7.507 MB / 1.245 GB, free: 370.6 MB / 0.7639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06839/4.323, allocations: 24.24 MB / 1.269 GB, free: 363.7 MB / 0.7639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00271/4.326, allocations: 1.898 MB / 1.271 GB, free: 362.9 MB / 0.7639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02212/4.348, allocations: 2.565 MB / 1.273 GB, free: 362.1 MB / 0.7639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1914/4.539, allocations: 65.33 MB / 1.337 GB, free: 295.3 MB / 0.7639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002807/4.542, allocations: 259.1 kB / 1.337 GB, free: 295.1 MB / 0.7639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01844/4.56, allocations: 1.118 MB / 1.339 GB, free: 294.1 MB / 0.7639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0125/4.573, allocations: 7.872 MB / 1.346 GB, free: 286.3 MB / 0.7639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.121/4.694, allocations: 55.13 MB / 1.4 GB, free: 231.2 MB / 0.7639 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.389/6.083, allocations: 268.4 MB / 1.662 GB, free: 213.4 MB / 0.7642 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07257/6.156, allocations: 30.73 MB / 1.692 GB, free: 211.6 MB / 0.7642 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02983/6.186, allocations: 18.63 MB / 1.71 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/6.188, allocations: 1.307 MB / 1.712 GB, free: 210.7 MB / 0.7642 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06433/6.253, allocations: 22.06 MB / 1.733 GB, free: 210.1 MB / 0.7642 GB Notification: Performance of pre-optimization done (n=964): time 3.322e-05/6.253, allocations: 0.6875 kB / 1.733 GB, free: 210.1 MB / 0.7642 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed