Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.03953/0.03953, allocations: 9.127 MB / 28.99 MB, free: 0.8086 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. " [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.0008459/0.0008459, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.001361/0.001361, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.905/0.905, allocations: 177.2 MB / 219.2 MB, free: 10.08 MB / 202.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.04007/0.04007, allocations: 10.57 MB / 286.2 MB, free: 7.07 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.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 307.6 MB, free: 15.47 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.31e-05, allocations: 3.438 kB / 307.6 MB, free: 15.46 MB / 282.8 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.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 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 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 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 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 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 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 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.Drone_IdealMachine): time 0.043/0.04303, allocations: 54.63 MB / 362.3 MB, free: 9.629 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02906/0.07209, allocations: 16.68 MB / 378.9 MB, free: 8.922 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.08412, allocations: 0.5714 MB / 379.5 MB, free: 8.348 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.03168/0.1158, allocations: 33.28 MB / 412.8 MB, free: 6.965 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.1311, allocations: 8.239 MB / 421 MB, free: 14.68 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00885/0.1399, allocations: 6.07 MB / 427.1 MB, free: 8.605 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1987/0.3387, allocations: 32.25 MB / 459.4 MB, free: 20.56 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0407/0.3793, allocations: 35.22 MB / 494.6 MB, free: 17.89 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03387/0.4132, allocations: 21.31 MB / 0.5038 GB, free: 8.762 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01975/0.433, allocations: 17.3 MB / 0.5207 GB, free: 4.867 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008895/0.4419, allocations: 4.147 MB / 0.5247 GB, free: 4.867 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/0.4529, allocations: 5.451 MB / 0.5301 GB, free: 0.6758 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02381/0.4767, allocations: 16.14 MB / 0.5458 GB, free: 1.156 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01682/0.4936, allocations: 11.16 MB / 0.5567 GB, free: 6.508 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03026/0.5238, allocations: 30.58 MB / 0.5866 GB, free: 9.66 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5238, allocations: 0 / 0.5866 GB, free: 9.66 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5238, allocations: 8 kB / 0.5866 GB, free: 9.652 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001301/0.5251, allocations: 0 / 0.5866 GB, free: 9.652 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7883 * Number of variables: 7883 Notification: Performance of Generate backend data structure: time 0.2968/0.8219, allocations: 32.32 MB / 0.6182 GB, free: 174.9 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.822, allocations: 9 kB / 0.6182 GB, free: 174.9 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.8329, allocations: 5.143 MB / 0.6232 GB, free: 174 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/0.8501, allocations: 14.96 MB / 0.6378 GB, free: 167.3 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/0.8512, allocations: 1.789 MB / 0.6396 GB, free: 166.5 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004046/0.8552, allocations: 2.421 MB / 0.6419 GB, free: 165.8 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04082/0.8961, allocations: 26.49 MB / 0.6678 GB, free: 140.7 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007924/0.8968, allocations: 216 kB / 0.668 GB, free: 140.5 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003238/0.9001, allocations: 1.044 MB / 0.669 GB, free: 139.6 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.9039, allocations: 5.518 MB / 0.6744 GB, free: 134.1 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/0.9356, allocations: 12.52 MB / 0.6866 GB, free: 121.8 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.3239/1.259, allocations: 151 MB / 0.8341 GB, free: 61.05 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03198/1.291, allocations: 20.67 MB / 0.8543 GB, free: 60.16 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/1.297, allocations: 2.772 MB / 0.857 GB, free: 60.06 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001108/1.298, allocations: 0.8093 MB / 0.8578 GB, free: 60.03 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0248/1.323, allocations: 10.11 MB / 0.8676 GB, free: 59.68 MB / 490.9 MB Notification: Performance of pre-optimization done (n=837): time 1.579e-05/1.323, allocations: 7.531 kB / 0.8676 GB, free: 59.68 MB / 490.9 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.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:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8234:5-8234:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1306462790817022]