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.04127/0.04127, allocations: 9.131 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.000715/0.000715, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.0009057/0.0009057, allocations: 164.8 kB / 38.73 MB, free: 2.492 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 1.118/1.118, 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.05229/0.05229, allocations: 10.58 MB / 286.2 MB, free: 7.094 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.212e-06/1.212e-06, allocations: 0 / 307.6 MB, free: 15.49 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.286e-05, allocations: 2.875 kB / 307.6 MB, free: 15.48 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.0657/0.06571, allocations: 88.12 MB / 395.8 MB, free: 8.484 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.03639/0.1021, allocations: 18.91 MB / 414.7 MB, free: 5.512 MB / 378.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/0.1153, allocations: 0.5947 MB / 415.3 MB, free: 4.914 MB / 378.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03688/0.1522, allocations: 33.74 MB / 449 MB, free: 3.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.1924/0.3446, allocations: 8.956 MB / 458 MB, free: 34.94 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.01166/0.3563, allocations: 6.883 MB / 464.8 MB, free: 34.84 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.03857/0.3949, allocations: 35.6 MB / 0.4887 GB, free: 31 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05219/0.4471, allocations: 36.8 MB / 0.5247 GB, free: 8.277 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05828/0.5053, allocations: 23.29 MB / 0.5474 GB, free: 2.188 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04156/0.5469, allocations: 18.56 MB / 0.5655 GB, free: 0.9766 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01674/0.5636, allocations: 5.082 MB / 0.5705 GB, free: 11.89 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.58, allocations: 6.604 MB / 0.5769 GB, free: 5.406 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.03878/0.6187, allocations: 17.75 MB / 0.5943 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02785/0.6466, allocations: 12.55 MB / 0.6065 GB, free: 8.305 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.4514/1.098, allocations: 34.62 MB / 0.6403 GB, free: 64.32 MB / 490.9 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/1.098, allocations: 0 / 0.6403 GB, free: 64.32 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.533e-06/1.098, allocations: 0 / 0.6403 GB, free: 64.32 MB / 490.9 MB Notification: Performance of Transformations before backend: time 0.0023/1.1, allocations: 3.188 kB / 0.6403 GB, free: 64.32 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.1024/1.203, allocations: 35.03 MB / 0.6745 GB, free: 51.71 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.203, allocations: 12.5 kB / 0.6746 GB, free: 51.71 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0309/1.234, allocations: 5.891 MB / 0.6803 GB, free: 51.68 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03449/1.268, allocations: 17.15 MB / 0.6971 GB, free: 43.47 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001936/1.27, allocations: 1.88 MB / 0.6989 GB, free: 42.71 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01094/1.281, allocations: 2.553 MB / 0.7014 GB, free: 41.93 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1013/1.382, allocations: 29.03 MB / 0.7297 GB, free: 20.36 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001855/1.384, allocations: 247 kB / 0.73 GB, free: 20.21 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01054/1.395, allocations: 1.108 MB / 0.731 GB, free: 19.21 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006394/1.401, allocations: 6.669 MB / 0.7376 GB, free: 12.63 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05404/1.455, allocations: 13.78 MB / 0.751 GB, free: 15.85 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.5184/1.973, allocations: 179.4 MB / 0.9262 GB, free: 39.12 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04497/2.018, allocations: 21.05 MB / 0.9468 GB, free: 38.16 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008844/2.027, allocations: 2.881 MB / 0.9496 GB, free: 38.02 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/2.029, allocations: 0.8272 MB / 0.9504 GB, free: 37.99 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03398/2.063, allocations: 10.43 MB / 0.9606 GB, free: 35.2 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=910): time 2.933e-05/2.063, allocations: 0 / 0.9606 GB, free: 35.2 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 657] [Calling sys.exit(0), Time elapsed: 4.451319774147123]