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.0411/0.0411, allocations: 9.125 MB / 18.91 MB, free: 0.7148 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.005012/0.04612, allocations: 3.413 MB / 22.32 MB, free: 3.797 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.0005934/0.0005934, allocations: 79.02 kB / 23.15 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009405/0.001534, allocations: 454.5 kB / 23.59 MB, free: 2.539 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.000918/0.000918, allocations: 148.9 kB / 24.47 MB, free: 1.664 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.00195, allocations: 483 kB / 24.95 MB, free: 1.191 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.9154/0.9154, allocations: 177.2 MB / 202.8 MB, free: 8.336 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/1.042, allocations: 53.65 MB / 256.5 MB, free: 5.391 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.04223/0.04223, allocations: 10.58 MB / 267.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005015/0.04725, allocations: 3.695 MB / 271.5 MB, free: 6.68 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DronePayload.DroneTest_payload,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DronePayload_DroneTest_payload",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 272.7 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.937e-06/1.003e-05, allocations: 6.109 kB / 272.7 MB, free: 5.457 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.04705/0.04706, allocations: 58.75 MB / 331.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2504/0.2974, allocations: 18.89 MB / 350.4 MB, free: 1.762 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01105/0.3085, allocations: 0.5952 MB / 351 MB, free: 1.762 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02963/0.3381, allocations: 31.89 MB / 382.8 MB, free: 12.62 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01738/0.3555, allocations: 8.958 MB / 391.8 MB, free: 6.984 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.009929/0.3654, allocations: 6.541 MB / 398.3 MB, free: 0.8438 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03344/0.3988, allocations: 34.49 MB / 432.8 MB, free: 308 kB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04029/0.4391, allocations: 35.64 MB / 468.5 MB, free: 13.82 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03736/0.4765, allocations: 24.33 MB / 492.8 MB, free: 6.527 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02697/0.5035, allocations: 18.46 MB / 0.4993 GB, free: 5.312 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01049/0.514, allocations: 5.086 MB / 0.5042 GB, free: 232 kB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1619/0.6759, allocations: 6.585 MB / 0.5107 GB, free: 70.54 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01505/0.6909, allocations: 15.86 MB / 0.5262 GB, free: 70.54 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01889/0.7098, allocations: 10.47 MB / 0.5364 GB, free: 70.54 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03566/0.7455, allocations: 32.63 MB / 0.5683 GB, free: 60.69 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.276e-05/0.7455, allocations: 2.156 kB / 0.5683 GB, free: 60.69 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7455, allocations: 0 / 0.5683 GB, free: 60.69 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001339/0.7469, allocations: 0 / 0.5683 GB, free: 60.69 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.11/0.8568, allocations: 40.89 MB / 0.6082 GB, free: 30.88 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8569, allocations: 8.75 kB / 0.6082 GB, free: 30.87 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01154/0.8684, allocations: 4.166 MB / 0.6123 GB, free: 28.91 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04816/0.9166, allocations: 5.861 MB / 0.618 GB, free: 23.96 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04365/0.9602, allocations: 17.14 MB / 0.6347 GB, free: 7.637 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/0.9613, allocations: 1.878 MB / 0.6366 GB, free: 5.859 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007812/0.9691, allocations: 2.55 MB / 0.6391 GB, free: 3.434 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06623/1.035, allocations: 29.06 MB / 0.6674 GB, free: 5.641 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001289/1.037, allocations: 247.6 kB / 0.6677 GB, free: 5.5 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007555/1.044, allocations: 1.108 MB / 0.6688 GB, free: 4.492 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006591/1.051, allocations: 6.683 MB / 0.6753 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04122/1.092, allocations: 13.77 MB / 0.6887 GB, free: 1.039 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.3509/1.443, allocations: 183 MB / 0.8675 GB, free: 7.789 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03261/1.476, allocations: 20.88 MB / 0.8879 GB, free: 5.305 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004886/1.48, allocations: 2.877 MB / 0.8907 GB, free: 2.434 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009917/1.481, allocations: 0.8209 MB / 0.8915 GB, free: 1.625 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.191/1.672, allocations: 10.21 MB / 0.9015 GB, free: 155.8 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=910): time 2.054e-05/1.672, allocations: 0.7031 kB / 0.9015 GB, free: 155.8 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.3277178034186363]