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.04021/0.04021, allocations: 9.117 MB / 18.95 MB, free: 0.7188 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.006289/0.0465, allocations: 3.418 MB / 22.37 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.0005682/0.0005682, allocations: 75.58 kB / 23.2 MB, free: 2.973 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003518/0.004086, allocations: 450.5 kB / 23.64 MB, free: 2.531 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.001011/0.001011, allocations: 152.9 kB / 24.52 MB, free: 1.652 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.00225, allocations: 474.5 kB / 24.99 MB, free: 1.188 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.8955/0.8955, allocations: 177.1 MB / 202.9 MB, free: 8.348 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1603/1.056, allocations: 53.66 MB / 256.5 MB, free: 5.387 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.04022/0.04022, allocations: 10.57 MB / 267.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006284/0.04651, allocations: 3.707 MB / 271.6 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: 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 1.452e-06/1.452e-06, allocations: 0 / 272.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.425e-05, allocations: 6.312 kB / 272.8 MB, free: 5.422 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.03907/0.0391, allocations: 55.19 MB / 328 MB, free: 14.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2802/0.3193, allocations: 17.95 MB / 345.9 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.3299, allocations: 0.5684 MB / 346.5 MB, free: 1.789 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02858/0.3584, allocations: 31.25 MB / 377.8 MB, free: 15.73 MB / 346.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01755/0.376, allocations: 8.425 MB / 386.2 MB, free: 11.32 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.3863, allocations: 6.378 MB / 392.6 MB, free: 6.637 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.03465/0.4209, allocations: 33.05 MB / 425.6 MB, free: 7.457 MB / 378.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.046/0.4669, allocations: 34.66 MB / 460.3 MB, free: 5.914 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03801/0.505, allocations: 23.54 MB / 483.8 MB, free: 15.4 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0215/0.5265, allocations: 17.68 MB / 0.4897 GB, free: 14.9 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009561/0.536, allocations: 4.988 MB / 0.4946 GB, free: 9.914 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.5482, allocations: 6.357 MB / 0.5008 GB, free: 3.652 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.2986/0.8468, allocations: 15.19 MB / 0.5157 GB, free: 74.81 MB / 458.9 MB Notification: Performance of NFVerifyModel.verify: time 0.02653/0.8733, allocations: 10.1 MB / 0.5255 GB, free: 74.81 MB / 458.9 MB Notification: Performance of NFConvertDAE.convert: time 0.03742/0.9108, allocations: 31.01 MB / 0.5558 GB, free: 72.4 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-05/0.9108, allocations: 0 / 0.5558 GB, free: 72.4 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.513e-06/0.9108, allocations: 0 / 0.5558 GB, free: 72.4 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001544/0.9123, allocations: 0 / 0.5558 GB, free: 72.4 MB / 458.9 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.08055/0.9929, allocations: 38.57 MB / 0.5935 GB, free: 46.98 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.9929, allocations: 12.75 kB / 0.5935 GB, free: 46.96 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02185/1.015, allocations: 5.194 MB / 0.5986 GB, free: 42.96 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02687/1.042, allocations: 16.44 MB / 0.6146 GB, free: 28.3 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/1.043, allocations: 1.783 MB / 0.6164 GB, free: 26.59 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009425/1.052, allocations: 2.431 MB / 0.6187 GB, free: 24.27 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07002/1.122, allocations: 26.56 MB / 0.6447 GB, free: 13.16 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001364/1.123, allocations: 219.9 kB / 0.6449 GB, free: 13.04 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008812/1.132, allocations: 1.037 MB / 0.6459 GB, free: 12.08 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006074/1.138, allocations: 5.907 MB / 0.6517 GB, free: 6.238 MB / 474.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03901/1.177, allocations: 12.58 MB / 0.6639 GB, free: 10.41 MB / 490.9 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.4005/1.578, allocations: 162.7 MB / 0.8228 GB, free: 63.9 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03033/1.608, allocations: 20.54 MB / 0.8428 GB, free: 45.22 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006925/1.615, allocations: 2.771 MB / 0.8456 GB, free: 42.45 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.616, allocations: 0.807 MB / 0.8463 GB, free: 41.65 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0268/1.643, allocations: 9.924 MB / 0.856 GB, free: 31.86 MB / 0.495 GB Notification: Performance of pre-optimization done (n=838): time 1.484e-05/1.643, allocations: 4 kB / 0.856 GB, free: 31.86 MB / 0.495 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:8304:5-8304:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.510619543492794]