Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.07229/0.07229, 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.004513/0.07681, allocations: 3.41 MB / 22.32 MB, free: 3.801 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.0006926/0.0006926, allocations: 83.02 kB / 23.15 MB, free: 2.98 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009743/0.001667, 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.0007152/0.0007152, allocations: 156.9 kB / 24.48 MB, free: 1.66 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009066/0.001622, allocations: 475 kB / 24.94 MB, free: 1.195 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.8937/0.8937, allocations: 177.1 MB / 202.8 MB, free: 8.355 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1485/1.042, allocations: 53.67 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.04956/0.04956, allocations: 10.57 MB / 267.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005399/0.05495, allocations: 3.707 MB / 271.5 MB, free: 6.684 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.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.236e-05/1.389e-05, allocations: 5.969 kB / 272.8 MB, free: 5.434 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 propellerRev.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 propellerRev.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 propellerRev3.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 propellerRev3.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 propellerRev1.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 propellerRev1.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 propellerRev2.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 propellerRev2.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.119/0.119, allocations: 58.74 MB / 331.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2502/0.3692, allocations: 14.59 MB / 346.1 MB, free: 1.812 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008535/0.3777, allocations: 0.4955 MB / 346.6 MB, free: 1.812 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0261/0.4038, allocations: 23.77 MB / 370.4 MB, free: 0.9258 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.4182, allocations: 7.786 MB / 378.1 MB, free: 13.79 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007408/0.4256, allocations: 5.108 MB / 383.3 MB, free: 10.93 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02469/0.4503, allocations: 29.4 MB / 412.7 MB, free: 1.727 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/0.4735, allocations: 26.45 MB / 439.1 MB, free: 8.094 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02011/0.4936, allocations: 18.51 MB / 457.6 MB, free: 6.473 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01882/0.5124, allocations: 15.21 MB / 472.8 MB, free: 8.281 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006702/0.5191, allocations: 3.145 MB / 476 MB, free: 5.137 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/0.5296, allocations: 4.504 MB / 480.5 MB, free: 0.7266 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0141/0.5437, allocations: 12.47 MB / 493 MB, free: 4.348 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01957/0.5633, allocations: 7.632 MB / 0.4889 GB, free: 12.7 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.1885/0.7518, allocations: 24.85 MB / 0.5131 GB, free: 73.57 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-05/0.7518, allocations: 3.609 kB / 0.5131 GB, free: 73.57 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7518, allocations: 1.094 kB / 0.5131 GB, free: 73.57 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001482/0.7533, allocations: 0 / 0.5131 GB, free: 73.57 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: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.06185/0.8152, allocations: 33.27 MB / 0.5456 GB, free: 62.22 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8152, allocations: 8.344 kB / 0.5456 GB, free: 62.22 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01101/0.8262, allocations: 3.586 MB / 0.5491 GB, free: 61.95 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01971/0.8459, allocations: 4.727 MB / 0.5537 GB, free: 61.92 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02159/0.8675, allocations: 12.72 MB / 0.5662 GB, free: 57.51 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009071/0.8684, allocations: 1.527 MB / 0.5677 GB, free: 56.91 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00626/0.8747, allocations: 2.088 MB / 0.5697 GB, free: 56.29 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05034/0.925, allocations: 24.97 MB / 0.5941 GB, free: 39.61 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008746/0.9259, allocations: 228 kB / 0.5943 GB, free: 39.49 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004002/0.9299, allocations: 0.9214 MB / 0.5952 GB, free: 38.67 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004886/0.9348, allocations: 6.228 MB / 0.6013 GB, free: 32.53 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.9657, allocations: 11.57 MB / 0.6126 GB, free: 21.85 MB / 458.8 MB 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.3539/1.32, allocations: 154 MB / 0.763 GB, free: 72.53 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02844/1.348, allocations: 17.87 MB / 0.7804 GB, free: 72.07 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005578/1.354, allocations: 2.57 MB / 0.7829 GB, free: 72 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/1.355, allocations: 0.8469 MB / 0.7838 GB, free: 71.97 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02312/1.378, allocations: 8.924 MB / 0.7925 GB, free: 71.71 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=697): time 1.295e-05/1.378, allocations: 0 / 0.7925 GB, free: 71.71 MB / 0.4949 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * 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.061490868218243]