Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.05682/0.05682, allocations: 9.138 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.004528/0.06135, allocations: 3.421 MB / 22.46 MB, free: 3.723 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.0005227/0.0005227, allocations: 87.23 kB / 23.3 MB, free: 2.895 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009283/0.001451, allocations: 450.9 kB / 23.74 MB, free: 2.457 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.0006544/0.0006544, allocations: 148.8 kB / 24.64 MB, free: 1.559 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009245/0.001579, allocations: 483.2 kB / 25.11 MB, free: 1.086 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.8288/0.8288, allocations: 177.2 MB / 203 MB, free: 8.254 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1417/0.9705, allocations: 53.67 MB / 256.7 MB, free: 5.309 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.07981/0.07981, allocations: 10.58 MB / 268 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006601/0.08641, allocations: 3.714 MB / 271.8 MB, free: 6.566 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.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.22e-07/8.22e-07, allocations: 0 / 273 MB, free: 5.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.945e-06/8.767e-06, allocations: 5.969 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. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.03463/0.03463, allocations: 55.18 MB / 328.2 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2681/0.3027, allocations: 17.95 MB / 346.2 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01097/0.3137, allocations: 0.5668 MB / 346.7 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02656/0.3402, allocations: 31.25 MB / 378 MB, free: 15.73 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.3544, allocations: 8.428 MB / 386.4 MB, free: 11.23 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007418/0.3618, allocations: 6.385 MB / 392.8 MB, free: 6.504 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02706/0.3889, allocations: 33.02 MB / 425.8 MB, free: 7.348 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03652/0.4254, allocations: 34.67 MB / 460.5 MB, free: 5.805 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03675/0.4622, allocations: 23.54 MB / 484 MB, free: 15.27 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02147/0.4836, allocations: 17.65 MB / 0.4899 GB, free: 14.8 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009343/0.493, allocations: 4.988 MB / 0.4948 GB, free: 9.816 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.506, allocations: 6.357 MB / 0.501 GB, free: 3.555 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.177/0.683, allocations: 15.19 MB / 0.5158 GB, free: 74.61 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01874/0.7018, allocations: 10.1 MB / 0.5257 GB, free: 74.61 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03047/0.7322, allocations: 30.98 MB / 0.556 GB, free: 72.16 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.7322, allocations: 0 / 0.556 GB, free: 72.16 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.674e-06/0.7322, allocations: 0 / 0.556 GB, free: 72.16 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.001366/0.7336, allocations: 3.906 kB / 0.556 GB, free: 72.16 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: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.0694/0.803, allocations: 38.57 MB / 0.5936 GB, free: 46.89 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.803, allocations: 12.03 kB / 0.5936 GB, free: 46.88 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0202/0.8232, allocations: 5.194 MB / 0.5987 GB, free: 42.88 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/0.8468, allocations: 16.44 MB / 0.6148 GB, free: 28.09 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008938/0.8477, allocations: 1.788 MB / 0.6165 GB, free: 26.39 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007041/0.8547, allocations: 2.424 MB / 0.6189 GB, free: 24.06 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05824/0.913, allocations: 26.56 MB / 0.6448 GB, free: 12.96 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008772/0.9139, allocations: 220.6 kB / 0.645 GB, free: 12.83 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004181/0.918, allocations: 1.046 MB / 0.646 GB, free: 11.87 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005022/0.9231, allocations: 5.678 MB / 0.6516 GB, free: 6.23 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04134/0.9644, allocations: 12.58 MB / 0.6639 GB, free: 10.41 MB / 490.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.3593/1.324, allocations: 162.7 MB / 0.8228 GB, free: 70.55 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03022/1.354, allocations: 20.52 MB / 0.8428 GB, free: 51.42 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/1.359, allocations: 2.771 MB / 0.8455 GB, free: 48.62 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008685/1.36, allocations: 0.8123 MB / 0.8463 GB, free: 47.81 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0222/1.382, allocations: 9.92 MB / 0.856 GB, free: 37.94 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=838): time 1.189e-05/1.382, allocations: 0 / 0.856 GB, free: 37.94 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.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.1413579108193517]