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.03858/0.03858, allocations: 9.118 MB / 18.95 MB, free: 0.7109 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005203/0.04378, allocations: 3.42 MB / 22.37 MB, free: 3.793 MB / 24.77 MB " [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.0005502/0.0005502, allocations: 79.56 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008706/0.001421, allocations: 443.4 kB / 23.63 MB, free: 2.535 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.001057/0.001057, allocations: 148.8 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002351, allocations: 482.7 kB / 24.99 MB, free: 1.184 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.9994/0.9994, allocations: 177.1 MB / 202.9 MB, free: 8.355 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1946/1.194, allocations: 53.67 MB / 256.5 MB, free: 5.359 MB / 250.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.04019/0.04019, allocations: 10.57 MB / 267.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007192/0.04738, allocations: 3.71 MB / 271.6 MB, free: 6.652 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.793e-06/1.793e-06, allocations: 0 / 272.8 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.354e-05, allocations: 2.312 kB / 272.8 MB, free: 5.387 MB / 266.7 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.05811/0.05813, allocations: 59.1 MB / 331.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2942/0.3524, allocations: 19.06 MB / 351 MB, free: 1.758 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.3651, allocations: 0.5973 MB / 351.6 MB, free: 1.758 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03051/0.3956, allocations: 32.19 MB / 383.8 MB, free: 12.18 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01952/0.4152, allocations: 8.959 MB / 392.7 MB, free: 6.309 MB / 346.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.01046/0.4256, allocations: 6.541 MB / 399.3 MB, free: 172 kB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03668/0.4623, allocations: 34.49 MB / 433.8 MB, free: 15.62 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04529/0.5076, allocations: 35.63 MB / 469.4 MB, free: 13.14 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03775/0.5453, allocations: 24.38 MB / 493.8 MB, free: 5.797 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02337/0.5687, allocations: 18.46 MB / 0.5002 GB, free: 4.586 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.206/0.7747, allocations: 5.083 MB / 0.5052 GB, free: 70.04 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.791, allocations: 6.588 MB / 0.5116 GB, free: 70.04 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01938/0.8104, allocations: 15.87 MB / 0.5271 GB, free: 70.04 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02827/0.8387, allocations: 10.48 MB / 0.5374 GB, free: 70.04 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04396/0.8826, allocations: 32.63 MB / 0.5692 GB, free: 59.97 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-05/0.8827, allocations: 0 / 0.5692 GB, free: 59.97 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.453e-06/0.8827, allocations: 0 / 0.5692 GB, free: 59.97 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001381/0.884, allocations: 0.75 kB / 0.5692 GB, free: 59.97 MB / 458.8 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.0862/0.9702, allocations: 40.91 MB / 0.6092 GB, free: 30.33 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.9703, allocations: 12.03 kB / 0.6092 GB, free: 30.32 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.9876, allocations: 5.863 MB / 0.6149 GB, free: 25.84 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02223/1.01, allocations: 17.15 MB / 0.6317 GB, free: 9.676 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008952/1.011, allocations: 1.883 MB / 0.6335 GB, free: 7.895 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003692/1.014, allocations: 2.55 MB / 0.636 GB, free: 5.465 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06797/1.082, allocations: 29.02 MB / 0.6643 GB, free: 7.711 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001268/1.084, allocations: 241.8 kB / 0.6646 GB, free: 7.574 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005853/1.09, allocations: 1.104 MB / 0.6656 GB, free: 6.57 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005702/1.095, allocations: 6.692 MB / 0.6722 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03772/1.133, allocations: 13.78 MB / 0.6856 GB, free: 3.113 MB / 0.4949 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.396/1.529, allocations: 179.6 MB / 0.861 GB, free: 8.898 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02941/1.558, allocations: 20.87 MB / 0.8814 GB, free: 8.91 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004323/1.563, allocations: 2.876 MB / 0.8842 GB, free: 6.039 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/1.564, allocations: 0.821 MB / 0.885 GB, free: 5.23 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2719/1.836, allocations: 10.22 MB / 0.895 GB, free: 154.2 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=910): time 2.267e-05/1.836, allocations: 1.156 kB / 0.895 GB, free: 154.2 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:577:7-577: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:581:7-581:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:432:5-432:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:117:7-117:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.659209620207548]