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.03869/0.03869, allocations: 9.135 MB / 19.04 MB, free: 0.6602 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.005364/0.04405, allocations: 3.421 MB / 22.46 MB, free: 3.73 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.0005732/0.0005732, allocations: 90.61 kB / 23.3 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009101/0.001483, allocations: 447.5 kB / 23.74 MB, free: 2.461 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.0006717/0.0006717, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001572, allocations: 483.2 kB / 25.11 MB, free: 1.09 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.8538/0.8538, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1575/1.011, allocations: 53.67 MB / 256.7 MB, free: 5.312 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.04747/0.04747, allocations: 10.59 MB / 268 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005567/0.05304, allocations: 3.718 MB / 271.8 MB, free: 6.57 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.232e-06/1.232e-06, allocations: 0 / 273 MB, free: 5.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.624e-05, allocations: 2.312 kB / 273 MB, free: 5.293 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.05146/0.05147, allocations: 59.12 MB / 332.1 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2672/0.3187, allocations: 19.05 MB / 351.2 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01194/0.3306, allocations: 0.594 MB / 351.8 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02959/0.3602, allocations: 32.2 MB / 384 MB, free: 12.12 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01877/0.379, allocations: 8.963 MB / 393 MB, free: 6.191 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.01092/0.3899, allocations: 6.543 MB / 399.5 MB, free: 48 kB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03561/0.4255, allocations: 34.45 MB / 433.9 MB, free: 15.54 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04842/0.4739, allocations: 35.63 MB / 469.6 MB, free: 13.07 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03875/0.5127, allocations: 24.39 MB / 494 MB, free: 5.715 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02385/0.5365, allocations: 18.42 MB / 0.5004 GB, free: 4.547 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.1734/0.71, allocations: 5.082 MB / 0.5053 GB, free: 69.96 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01365/0.7236, allocations: 6.587 MB / 0.5118 GB, free: 69.96 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01569/0.7393, allocations: 15.88 MB / 0.5273 GB, free: 69.96 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0236/0.7629, allocations: 10.47 MB / 0.5375 GB, free: 69.96 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04299/0.8059, allocations: 32.6 MB / 0.5693 GB, free: 59.79 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.762e-05/0.8059, allocations: 0 / 0.5693 GB, free: 59.79 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.963e-06/0.8059, allocations: 0 / 0.5693 GB, free: 59.79 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001424/0.8073, allocations: 0 / 0.5693 GB, free: 59.79 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.0711/0.8784, allocations: 40.92 MB / 0.6093 GB, free: 30.38 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.8785, allocations: 8.75 kB / 0.6093 GB, free: 30.37 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/0.8997, allocations: 5.868 MB / 0.615 GB, free: 25.89 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0273/0.927, allocations: 17.15 MB / 0.6318 GB, free: 9.594 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/0.9282, allocations: 1.88 MB / 0.6336 GB, free: 7.816 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007777/0.936, allocations: 2.552 MB / 0.6361 GB, free: 5.387 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07267/1.009, allocations: 29.02 MB / 0.6644 GB, free: 7.637 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001336/1.01, allocations: 249.8 kB / 0.6647 GB, free: 7.496 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008678/1.019, allocations: 1.113 MB / 0.6658 GB, free: 6.484 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006442/1.025, allocations: 6.401 MB / 0.672 GB, free: 140 kB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04025/1.065, allocations: 13.77 MB / 0.6855 GB, free: 3.281 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.3757/1.441, allocations: 179.7 MB / 0.8609 GB, free: 10.59 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03262/1.474, allocations: 20.87 MB / 0.8813 GB, free: 9.824 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006595/1.48, allocations: 2.879 MB / 0.8841 GB, free: 6.945 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/1.481, allocations: 0.8236 MB / 0.8849 GB, free: 6.137 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2252/1.707, allocations: 10.21 MB / 0.8949 GB, free: 154.3 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=910): time 2.823e-05/1.707, allocations: 4.781 kB / 0.8949 GB, free: 154.3 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:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.3717214353382587]