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.06615/0.06615, allocations: 9.143 MB / 28.49 MB, free: 0.9688 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.001376/0.001376, allocations: 87.33 kB / 34.73 MB, free: 1.32 MB / 24.77 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/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.001554/0.001554, allocations: 164 kB / 41.06 MB, free: 1.547 MB / 24.77 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/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 1.43/1.43, allocations: 177.1 MB / 224.4 MB, free: 8.695 MB / 202.7 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 178] 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.0668/0.0668, allocations: 10.57 MB / 294.5 MB, free: 5.871 MB / 266.7 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] 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.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 371.6 MB, free: 64.91 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.44e-05, allocations: 4.844 kB / 371.6 MB, free: 64.9 MB / 330.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.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.04137/0.04139, allocations: 53.91 MB / 425.5 MB, free: 16.93 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.07077, allocations: 13.79 MB / 439.3 MB, free: 3.211 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01238/0.08315, allocations: 0.4935 MB / 439.8 MB, free: 2.715 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.05163/0.1348, allocations: 24.76 MB / 464.6 MB, free: 9.887 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.02346/0.1582, allocations: 7.788 MB / 472.4 MB, free: 2.059 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01435/0.1726, allocations: 5.401 MB / 477.8 MB, free: 12.65 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.04561/0.2182, allocations: 30.52 MB / 0.4964 GB, free: 14.15 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2987/0.5169, allocations: 28.69 MB / 0.5244 GB, free: 19.16 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04447/0.5613, allocations: 17.38 MB / 0.5414 GB, free: 19.16 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03993/0.6013, allocations: 15.22 MB / 0.5562 GB, free: 18.83 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0164/0.6177, allocations: 3.162 MB / 0.5593 GB, free: 18.83 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02102/0.6387, allocations: 4.469 MB / 0.5637 GB, free: 18.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02763/0.6663, allocations: 13.93 MB / 0.5773 GB, free: 13.24 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.03068/0.697, allocations: 9.314 MB / 0.5864 GB, free: 8.656 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.08826/0.7853, allocations: 48.91 MB / 0.6341 GB, free: 11.45 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.7853, allocations: 0 / 0.6341 GB, free: 11.45 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7853, allocations: 0 / 0.6341 GB, free: 11.45 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.002105/0.7874, allocations: 7.938 kB / 0.6341 GB, free: 11.44 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.113/0.9003, allocations: 31.01 MB / 0.6644 GB, free: 12.58 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.9004, allocations: 8.625 kB / 0.6644 GB, free: 12.57 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04195/0.9423, allocations: 8.072 MB / 0.6723 GB, free: 4.586 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04604/0.9884, allocations: 17.3 MB / 0.6892 GB, free: 4.008 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002219/0.9906, allocations: 1.528 MB / 0.6907 GB, free: 2.582 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01123/1.002, allocations: 2.097 MB / 0.6927 GB, free: 0.5898 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4638/1.466, allocations: 52.36 MB / 0.7439 GB, free: 144.5 MB / 0.495 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001815/1.467, allocations: 244 kB / 0.7441 GB, free: 144.3 MB / 0.495 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01257/1.48, allocations: 0.9168 MB / 0.745 GB, free: 143.4 MB / 0.495 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01035/1.49, allocations: 6.92 MB / 0.7518 GB, free: 136.6 MB / 0.495 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08548/1.576, allocations: 41.3 MB / 0.7921 GB, free: 95.31 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.5215/2.097, allocations: 199.4 MB / 0.9868 GB, free: 52.39 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06105/2.158, allocations: 24.09 MB / 1.01 GB, free: 47.89 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01781/2.176, allocations: 14.94 MB / 1.025 GB, free: 41.34 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/2.178, allocations: 0.8061 MB / 1.026 GB, free: 41.24 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05268/2.231, allocations: 19.67 MB / 1.045 GB, free: 31.95 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=753): time 1.805e-05/2.231, allocations: 0 / 1.045 GB, free: 31.95 MB / 0.5106 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.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: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:7987:5-7987:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.6106768909376115]