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.07157/0.07157, allocations: 9.135 MB / 28.49 MB, free: 0.9883 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.002046/0.002046, allocations: 87.27 kB / 34.73 MB, free: 1.34 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.001909/0.001909, allocations: 158.1 kB / 41.06 MB, free: 1.555 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.513/1.513, 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.0786/0.0786, allocations: 10.57 MB / 294.5 MB, free: 5.828 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.793e-06/1.793e-06, allocations: 0 / 371.6 MB, free: 65.02 MB / 330.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.913e-05, allocations: 3.781 kB / 371.6 MB, free: 65.02 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.05143/0.05146, allocations: 60.3 MB / 431.9 MB, free: 10.58 MB / 330.8 MB Notification: Performance of NFInst.instExpressions: time 0.03524/0.0867, allocations: 13.91 MB / 445.8 MB, free: 12.75 MB / 346.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01419/0.1009, allocations: 0.4974 MB / 446.3 MB, free: 12.25 MB / 346.8 MB Notification: Performance of NFTyping.typeComponents: time 0.05483/0.1557, allocations: 25.61 MB / 471.9 MB, free: 2.566 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0268/0.1825, allocations: 7.788 MB / 479.7 MB, free: 10.74 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.1965, allocations: 5.397 MB / 485.1 MB, free: 5.336 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.05169/0.2482, allocations: 30.5 MB / 0.5035 GB, free: 6.844 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3188/0.5669, allocations: 28.74 MB / 0.5316 GB, free: 16.98 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04022/0.6071, allocations: 17.46 MB / 0.5487 GB, free: 16.98 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03368/0.6408, allocations: 15.93 MB / 0.5642 GB, free: 14.86 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01318/0.654, allocations: 3.155 MB / 0.5673 GB, free: 14.86 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/0.6707, allocations: 4.466 MB / 0.5717 GB, free: 14.69 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.02099/0.6917, allocations: 14.03 MB / 0.5854 GB, free: 8.816 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02303/0.7147, allocations: 9.375 MB / 0.5945 GB, free: 3.082 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.07361/0.7883, allocations: 49.02 MB / 0.6424 GB, free: 3.664 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7883, allocations: 0 / 0.6424 GB, free: 3.664 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7883, allocations: 0 / 0.6424 GB, free: 3.664 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.00175/0.7901, allocations: 0 / 0.6424 GB, free: 3.664 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.117/0.9071, allocations: 35.65 MB / 0.6772 GB, free: 140 kB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.655e-05/0.9071, allocations: 16.09 kB / 0.6772 GB, free: 128 kB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/0.9514, allocations: 8.04 MB / 0.6851 GB, free: 8.172 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2738/1.225, allocations: 15.78 MB / 0.7005 GB, free: 175.5 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002491/1.228, allocations: 1.531 MB / 0.702 GB, free: 175.4 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00931/1.237, allocations: 2.077 MB / 0.704 GB, free: 175.4 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1069/1.344, allocations: 34.13 MB / 0.7373 GB, free: 155.3 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001509/1.345, allocations: 228.1 kB / 0.7375 GB, free: 155.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007366/1.353, allocations: 0.9194 MB / 0.7384 GB, free: 154.3 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009727/1.363, allocations: 6.922 MB / 0.7452 GB, free: 147.4 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06922/1.432, allocations: 16.75 MB / 0.7615 GB, free: 130.7 MB / 0.4949 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.6264/2.058, allocations: 289.6 MB / 1.044 GB, free: 64.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05205/2.11, allocations: 15.23 MB / 1.059 GB, free: 62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/2.122, allocations: 4.44 MB / 1.064 GB, free: 60.79 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002287/2.124, allocations: 0.7891 MB / 1.064 GB, free: 60.52 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05453/2.178, allocations: 14.13 MB / 1.078 GB, free: 54.07 MB / 0.573 GB Notification: Performance of pre-optimization done (n=751): time 1.866e-05/2.178, allocations: 0 / 1.078 GB, free: 54.07 MB / 0.573 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:8001:5-8001:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.675256410962902]