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.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06168/0.06168, allocations: 9.128 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000795/0.000795, allocations: 95.2 kB / 35.33 MB, free: 1.074 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009037/0.0009037, allocations: 168.4 kB / 38.73 MB, free: 2.508 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8993/0.8993, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.03914/0.03914, allocations: 10.57 MB / 286.2 MB, free: 7.105 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 307.6 MB, free: 15.41 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.365e-05/1.491e-05, allocations: 8.219 kB / 307.6 MB, free: 15.41 MB / 282.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.05916/0.05918, allocations: 88.07 MB / 395.7 MB, free: 8.531 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.03228/0.09145, allocations: 18.9 MB / 414.6 MB, free: 5.566 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.1018, allocations: 0.5986 MB / 415.2 MB, free: 4.965 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03216/0.1339, allocations: 34.35 MB / 449.5 MB, free: 2.516 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.179/0.3129, allocations: 8.978 MB / 458.5 MB, free: 34.81 MB / 410.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.009823/0.3227, allocations: 6.853 MB / 465.3 MB, free: 34.7 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03336/0.3561, allocations: 35.6 MB / 0.4892 GB, free: 30.73 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03319/0.3893, allocations: 38.43 MB / 0.5267 GB, free: 6.59 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03762/0.4269, allocations: 23.92 MB / 0.5501 GB, free: 15.88 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0232/0.4501, allocations: 18.56 MB / 0.5682 GB, free: 14.66 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007936/0.4581, allocations: 5.086 MB / 0.5732 GB, free: 9.574 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007914/0.466, allocations: 6.528 MB / 0.5796 GB, free: 3.16 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01263/0.4786, allocations: 17.75 MB / 0.5969 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01928/0.4979, allocations: 12.54 MB / 0.6091 GB, free: 6.043 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.4115/0.9094, allocations: 34.63 MB / 0.643 GB, free: 66.34 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.9094, allocations: 0 / 0.643 GB, free: 66.34 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.863e-06/0.9094, allocations: 0 / 0.643 GB, free: 66.34 MB / 490.9 MB Notification: Performance of Transformations before backend: time 0.002362/0.9118, allocations: 6.234 kB / 0.643 GB, free: 66.34 MB / 490.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8610 * Number of variables: 8610 Notification: Performance of Generate backend data structure: time 0.07552/0.9873, allocations: 35.02 MB / 0.6772 GB, free: 53.73 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.9873, allocations: 10.12 kB / 0.6772 GB, free: 53.73 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02401/1.011, allocations: 5.893 MB / 0.6829 GB, free: 52.84 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03025/1.042, allocations: 17.16 MB / 0.6997 GB, free: 43.29 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001695/1.043, allocations: 1.883 MB / 0.7015 GB, free: 42.52 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01004/1.053, allocations: 2.548 MB / 0.704 GB, free: 41.75 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0774/1.131, allocations: 29.02 MB / 0.7324 GB, free: 19.5 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001449/1.132, allocations: 246.3 kB / 0.7326 GB, free: 19.36 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008895/1.141, allocations: 1.109 MB / 0.7337 GB, free: 18.36 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005573/1.147, allocations: 6.665 MB / 0.7402 GB, free: 11.78 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04194/1.189, allocations: 13.78 MB / 0.7536 GB, free: 15 MB / 0.495 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.4173/1.606, allocations: 179.4 MB / 0.9289 GB, free: 40.08 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03178/1.638, allocations: 21.06 MB / 0.9494 GB, free: 39.12 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006166/1.644, allocations: 2.882 MB / 0.9522 GB, free: 38.98 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.645, allocations: 0.8219 MB / 0.953 GB, free: 38.95 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02515/1.67, allocations: 10.44 MB / 0.9632 GB, free: 35.53 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=910): time 1.475e-05/1.67, allocations: 0.7656 kB / 0.9632 GB, free: 35.53 MB / 0.5419 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.736602222081274]