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.04542/0.04542, allocations: 9.127 MB / 19.04 MB, free: 0.6523 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.006904/0.05232, allocations: 3.422 MB / 22.46 MB, free: 3.719 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.0005952/0.0005952, allocations: 90.5 kB / 23.31 MB, free: 2.883 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009506/0.001546, allocations: 447.6 kB / 23.75 MB, free: 2.445 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.0007132/0.0007132, allocations: 152.8 kB / 24.65 MB, free: 1.547 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000933/0.001646, allocations: 479.2 kB / 25.12 MB, free: 1.078 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.9595/0.9595, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1717/1.131, allocations: 53.67 MB / 256.7 MB, free: 5.305 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.04779/0.04779, allocations: 10.58 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009834/0.05763, allocations: 3.707 MB / 271.8 MB, free: 6.574 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.502e-06/1.502e-06, allocations: 0 / 273 MB, free: 5.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.097e-05, allocations: 2.312 kB / 273 MB, free: 5.281 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.0732/0.07322, allocations: 59.12 MB / 332.2 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2976/0.3709, allocations: 19.05 MB / 351.2 MB, free: 1.746 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009017/0.3799, allocations: 0.5938 MB / 351.8 MB, free: 1.746 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02941/0.4093, allocations: 32.96 MB / 384.8 MB, free: 12.09 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01678/0.4261, allocations: 8.978 MB / 393.7 MB, free: 5.395 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.01008/0.4361, allocations: 7.024 MB / 400.8 MB, free: 14.77 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.03089/0.467, allocations: 36.04 MB / 436.8 MB, free: 12.66 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03615/0.5032, allocations: 35.75 MB / 472.6 MB, free: 10.07 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03294/0.5361, allocations: 24.36 MB / 496.9 MB, free: 2.75 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02525/0.5614, allocations: 18.73 MB / 0.5036 GB, free: 1.602 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.1799/0.7413, allocations: 5.083 MB / 0.5085 GB, free: 69.08 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01176/0.753, allocations: 6.605 MB / 0.515 GB, free: 69.08 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01455/0.7676, allocations: 15.88 MB / 0.5305 GB, free: 69.08 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01853/0.7861, allocations: 10.47 MB / 0.5407 GB, free: 69.08 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03266/0.8188, allocations: 32.6 MB / 0.5725 GB, free: 56.94 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.818e-05/0.8188, allocations: 3.938 kB / 0.5725 GB, free: 56.94 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8188, allocations: 2.219 kB / 0.5725 GB, free: 56.94 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001136/0.8199, allocations: 0 / 0.5725 GB, free: 56.94 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.0741/0.894, allocations: 40.91 MB / 0.6125 GB, free: 27.54 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8941, allocations: 15.84 kB / 0.6125 GB, free: 27.52 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.9074, allocations: 5.862 MB / 0.6182 GB, free: 22.95 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/0.9358, allocations: 17.15 MB / 0.635 GB, free: 6.621 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/0.937, allocations: 1.886 MB / 0.6368 GB, free: 4.836 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008885/0.9459, allocations: 2.549 MB / 0.6393 GB, free: 2.41 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06882/1.015, allocations: 29.02 MB / 0.6677 GB, free: 4.656 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001197/1.016, allocations: 241.5 kB / 0.6679 GB, free: 4.52 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005636/1.022, allocations: 1.108 MB / 0.669 GB, free: 3.512 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005894/1.027, allocations: 6.41 MB / 0.6752 GB, free: 13.16 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0395/1.067, allocations: 13.77 MB / 0.6887 GB, free: 308 kB / 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.3867/1.454, allocations: 179.7 MB / 0.8641 GB, free: 8.086 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03431/1.488, allocations: 20.87 MB / 0.8845 GB, free: 6.77 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005543/1.493, allocations: 2.872 MB / 0.8873 GB, free: 3.898 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.495, allocations: 0.8309 MB / 0.8881 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.201/1.696, allocations: 10.21 MB / 0.8981 GB, free: 153.6 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=910): time 1.889e-05/1.696, allocations: 1.406 kB / 0.8981 GB, free: 153.6 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:8418:5-8418:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4666693303734064]