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.07682/0.07682, allocations: 9.143 MB / 28.49 MB, free: 0.9336 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.001348/0.001348, allocations: 86.77 kB / 34.73 MB, free: 1.301 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.001506/0.001506, allocations: 164.6 kB / 41.06 MB, free: 1.543 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.54/1.54, allocations: 177.1 MB / 224.4 MB, free: 8.672 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.06671/0.06671, allocations: 10.57 MB / 294.5 MB, free: 5.859 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 2.945e-06/2.945e-06, allocations: 0 / 371.6 MB, free: 65.07 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.135e-05/4.429e-05, allocations: 6.406 kB / 371.6 MB, free: 65.06 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.09055/0.0906, allocations: 75.27 MB / 446.9 MB, free: 12.2 MB / 346.8 MB Notification: Performance of NFInst.instExpressions: time 0.05562/0.1462, allocations: 17.92 MB / 464.8 MB, free: 10.24 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02058/0.1668, allocations: 0.5986 MB / 465.4 MB, free: 9.637 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.072/0.2388, allocations: 33.23 MB / 498.6 MB, free: 8.305 MB / 394.8 MB Notification: Performance of NFTyping.typeBindings: time 0.03076/0.2696, allocations: 8.943 MB / 0.4957 GB, free: 15.32 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.0171/0.2867, allocations: 6.854 MB / 0.5024 GB, free: 8.453 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.2972/0.5839, allocations: 35.61 MB / 0.5371 GB, free: 29.26 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07312/0.657, allocations: 37.87 MB / 0.5741 GB, free: 18.39 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05592/0.7129, allocations: 23.16 MB / 0.5967 GB, free: 3.484 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03973/0.7527, allocations: 18.23 MB / 0.6145 GB, free: 3.418 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01587/0.7685, allocations: 5.102 MB / 0.6195 GB, free: 14.31 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.7895, allocations: 6.566 MB / 0.6259 GB, free: 7.895 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.03254/0.822, allocations: 17.61 MB / 0.6431 GB, free: 6.926 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03916/0.8612, allocations: 12.48 MB / 0.6553 GB, free: 10.98 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.5664/1.428, allocations: 71.45 MB / 0.7251 GB, free: 59.01 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.428, allocations: 0 / 0.7251 GB, free: 59.01 MB / 490.9 MB Notification: Performance of FrontEnd: time 2.865e-06/1.428, allocations: 0 / 0.7251 GB, free: 59.01 MB / 490.9 MB Notification: Performance of Transformations before backend: time 0.002868/1.43, allocations: 1.031 kB / 0.7251 GB, free: 59.01 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.1824/1.613, allocations: 38.15 MB / 0.7624 GB, free: 40.29 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/1.613, allocations: 10.67 kB / 0.7624 GB, free: 40.29 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07324/1.686, allocations: 10.42 MB / 0.7725 GB, free: 36.18 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06322/1.749, allocations: 24.66 MB / 0.7966 GB, free: 20.96 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002546/1.752, allocations: 1.879 MB / 0.7985 GB, free: 19.19 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01788/1.77, allocations: 2.566 MB / 0.801 GB, free: 16.73 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1993/1.969, allocations: 64.58 MB / 0.864 GB, free: 13.98 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002529/1.972, allocations: 259.3 kB / 0.8643 GB, free: 13.81 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01781/1.989, allocations: 1.111 MB / 0.8654 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01643/2.006, allocations: 7.51 MB / 0.8727 GB, free: 5.371 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4282/2.434, allocations: 54.27 MB / 0.9257 GB, free: 164.1 MB / 0.5419 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.7299/3.164, allocations: 247.1 MB / 1.167 GB, free: 70.8 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07735/3.241, allocations: 29.67 MB / 1.196 GB, free: 70.19 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02666/3.268, allocations: 17.96 MB / 1.213 GB, free: 61.73 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002647/3.271, allocations: 0.6456 MB / 1.214 GB, free: 61.63 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06808/3.339, allocations: 22.89 MB / 1.236 GB, free: 46.25 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=966): time 3.59e-05/3.339, allocations: 0 / 1.236 GB, free: 46.25 MB / 0.5575 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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.037520275916904]