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.047/0.047, allocations: 9.13 MB / 28.99 MB, free: 416 kB / 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.001427/0.001427, allocations: 94.64 kB / 35.33 MB, free: 0.9258 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.001848/0.001848, allocations: 163 kB / 38.73 MB, free: 2.398 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.9847/0.9847, 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.04301/0.04301, allocations: 10.56 MB / 286.2 MB, free: 7.066 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.523e-06/1.523e-06, allocations: 0 / 307.7 MB, free: 15.42 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.744e-05, allocations: 4.781 kB / 307.7 MB, free: 15.42 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.05927/0.0593, allocations: 54.68 MB / 362.4 MB, free: 9.5 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.04224/0.1015, allocations: 16.69 MB / 379 MB, free: 8.781 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01359/0.1151, allocations: 0.5674 MB / 379.6 MB, free: 8.211 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0395/0.1546, allocations: 32.7 MB / 412.3 MB, free: 7.41 MB / 378.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0208/0.1754, allocations: 8.204 MB / 420.5 MB, free: 15.16 MB / 394.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01129/0.1867, allocations: 6.101 MB / 426.6 MB, free: 9.055 MB / 394.8 MB Notification: Performance of NFFlatten.flatten: time 0.1987/0.3855, allocations: 32.25 MB / 458.9 MB, free: 20.47 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04346/0.4289, allocations: 33.64 MB / 492.5 MB, free: 18.73 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03575/0.4647, allocations: 20.77 MB / 0.5012 GB, free: 10.08 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02427/0.4889, allocations: 17.3 MB / 0.5181 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.009685/0.4986, allocations: 4.143 MB / 0.5222 GB, free: 6.188 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.5125, allocations: 5.516 MB / 0.5276 GB, free: 2.512 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01983/0.5323, allocations: 16.14 MB / 0.5433 GB, free: 3.211 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02258/0.5549, allocations: 11.16 MB / 0.5542 GB, free: 8.566 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04459/0.5995, allocations: 30.59 MB / 0.5841 GB, free: 11.71 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5995, allocations: 0 / 0.5841 GB, free: 11.71 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5995, allocations: 0 / 0.5841 GB, free: 11.71 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001491/0.601, allocations: 0 / 0.5841 GB, free: 11.71 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.06936/0.6703, allocations: 32.34 MB / 0.6157 GB, free: 13.11 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.6704, allocations: 12.03 kB / 0.6157 GB, free: 13.09 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02134/0.6917, allocations: 5.144 MB / 0.6207 GB, free: 8.059 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2862/0.9779, allocations: 14.95 MB / 0.6353 GB, free: 189.7 MB / 0.495 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.9793, allocations: 1.788 MB / 0.6371 GB, free: 189.2 MB / 0.495 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005227/0.9845, allocations: 2.426 MB / 0.6394 GB, free: 188.5 MB / 0.495 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05265/1.037, allocations: 26.49 MB / 0.6653 GB, free: 176.5 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001128/1.038, allocations: 218.7 kB / 0.6655 GB, free: 176.5 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006541/1.045, allocations: 1.042 MB / 0.6665 GB, free: 175.6 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004629/1.049, allocations: 5.51 MB / 0.6719 GB, free: 170.1 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03742/1.087, allocations: 12.53 MB / 0.6841 GB, free: 157.9 MB / 0.495 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.2327/1.32, allocations: 151 MB / 0.8316 GB, free: 7.066 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2015/1.521, allocations: 20.67 MB / 0.8518 GB, free: 161.1 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/1.527, allocations: 2.774 MB / 0.8545 GB, free: 161 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.528, allocations: 0.8133 MB / 0.8553 GB, free: 161 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02683/1.555, allocations: 10.1 MB / 0.8652 GB, free: 160.6 MB / 0.495 GB Notification: Performance of pre-optimization done (n=837): time 1.621e-05/1.555, allocations: 0 / 0.8652 GB, free: 160.6 MB / 0.495 GB [/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 658] [Calling sys.exit(0), Time elapsed: 3.5441279001533985]