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.07303/0.07303, allocations: 9.135 MB / 28.49 MB, free: 0.9805 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.001853/0.001853, allocations: 87.27 kB / 34.74 MB, free: 1.328 MB / 24.77 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/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.002633/0.002633, allocations: 162.3 kB / 41.06 MB, free: 1.555 MB / 24.77 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/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 1.606/1.606, allocations: 177.1 MB / 224.4 MB, free: 8.699 MB / 202.7 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 178] 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.07187/0.07187, allocations: 10.57 MB / 294.5 MB, free: 5.703 MB / 266.7 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] 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.493e-06/1.493e-06, allocations: 3.938 kB / 371.6 MB, free: 64.77 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.697e-05, allocations: 4.562 kB / 371.6 MB, free: 64.77 MB / 330.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.0784/0.07842, allocations: 82.07 MB / 453.7 MB, free: 5.117 MB / 346.8 MB Notification: Performance of NFInst.instExpressions: time 0.04856/0.127, allocations: 18.04 MB / 471.7 MB, free: 3.035 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01899/0.146, allocations: 0.5986 MB / 472.3 MB, free: 2.434 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.07353/0.2195, allocations: 34.48 MB / 0.4949 GB, free: 15.85 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.03005/0.2496, allocations: 8.94 MB / 0.5036 GB, free: 6.867 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.0194/0.269, allocations: 6.846 MB / 0.5103 GB, free: 12 kB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.2873/0.5563, allocations: 35.6 MB / 0.5451 GB, free: 26.98 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06553/0.6218, allocations: 37.95 MB / 0.5822 GB, free: 13.01 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05584/0.6777, allocations: 23.29 MB / 0.6049 GB, free: 10.73 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04184/0.7195, allocations: 19.24 MB / 0.6237 GB, free: 9.059 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01757/0.7371, allocations: 5.094 MB / 0.6287 GB, free: 3.965 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/0.7595, allocations: 6.559 MB / 0.6351 GB, free: 13.55 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.03683/0.7963, allocations: 17.76 MB / 0.6524 GB, free: 12.44 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.045/0.8413, allocations: 12.56 MB / 0.6647 GB, free: 424 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.6333/1.475, allocations: 71.62 MB / 0.7346 GB, free: 57.63 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.475, allocations: 1.344 kB / 0.7346 GB, free: 57.63 MB / 490.9 MB Notification: Performance of FrontEnd: time 2.113e-06/1.475, allocations: 0 / 0.7346 GB, free: 57.63 MB / 490.9 MB Notification: Performance of Transformations before backend: time 0.002639/1.477, allocations: 1.031 kB / 0.7346 GB, free: 57.63 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.1576/1.635, allocations: 45.36 MB / 0.7789 GB, free: 32.64 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.635, allocations: 10.69 kB / 0.7789 GB, free: 32.64 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05672/1.692, allocations: 10.33 MB / 0.789 GB, free: 27.84 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05947/1.751, allocations: 22.78 MB / 0.8113 GB, free: 11.96 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001769/1.753, allocations: 1.877 MB / 0.8131 GB, free: 10.19 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01579/1.769, allocations: 2.545 MB / 0.8156 GB, free: 7.746 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1782/1.947, allocations: 40.77 MB / 0.8554 GB, free: 11.82 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00241/1.949, allocations: 233 kB / 0.8556 GB, free: 11.67 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01609/1.965, allocations: 1.102 MB / 0.8567 GB, free: 10.67 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01676/1.982, allocations: 7.518 MB / 0.864 GB, free: 3.234 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3953/2.377, allocations: 20.08 MB / 0.8836 GB, free: 131.6 MB / 0.5263 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.83/4.207, allocations: 0.693 GB / 1.577 GB, free: 62.22 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06454/4.272, allocations: 17.93 MB / 1.594 GB, free: 61.52 MB / 0.6044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01753/4.289, allocations: 5.055 MB / 1.599 GB, free: 61.34 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/4.292, allocations: 0.6203 MB / 1.6 GB, free: 61.32 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06394/4.356, allocations: 16.07 MB / 1.615 GB, free: 58.87 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=964): time 4.795e-05/4.356, allocations: 3.562 kB / 1.615 GB, free: 58.87 MB / 0.6044 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 7.798869012040086]