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.04134/0.04134, allocations: 9.12 MB / 18.95 MB, free: 0.7109 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.00588/0.04722, allocations: 3.419 MB / 22.37 MB, free: 3.793 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.0005296/0.0005296, allocations: 83.56 kB / 23.2 MB, free: 2.969 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008477/0.001377, allocations: 443.4 kB / 23.63 MB, free: 2.535 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.0006706/0.0006706, allocations: 145 kB / 24.52 MB, free: 1.656 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008883/0.001559, allocations: 482.4 kB / 24.99 MB, free: 1.184 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 1.007/1.007, allocations: 177.1 MB / 202.9 MB, free: 8.352 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1571/1.164, allocations: 53.67 MB / 256.5 MB, free: 5.383 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.03982/0.03982, allocations: 10.57 MB / 267.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01006/0.04988, allocations: 3.709 MB / 271.6 MB, free: 6.672 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.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.753e-06/1.753e-06, allocations: 0 / 272.8 MB, free: 5.383 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.972e-05, allocations: 2.312 kB / 272.8 MB, free: 5.379 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 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.1017/0.1018, allocations: 59.08 MB / 331.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2946/0.3964, allocations: 14.73 MB / 346.7 MB, free: 1.781 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008291/0.4047, allocations: 0.4978 MB / 347.2 MB, free: 1.781 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02135/0.426, allocations: 24.01 MB / 371.2 MB, free: 0.9062 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.4388, allocations: 7.793 MB / 379 MB, free: 13.36 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006935/0.4457, allocations: 5.081 MB / 384 MB, free: 10.52 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02917/0.4749, allocations: 29.42 MB / 413.5 MB, free: 1.359 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03349/0.5083, allocations: 26.45 MB / 439.9 MB, free: 7.73 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0324/0.5407, allocations: 18.56 MB / 458.5 MB, free: 6.062 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01981/0.5606, allocations: 15.21 MB / 473.7 MB, free: 7.875 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007169/0.5677, allocations: 3.152 MB / 476.8 MB, free: 4.723 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.5746, allocations: 4.499 MB / 481.3 MB, free: 324 kB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008707/0.5833, allocations: 12.47 MB / 493.8 MB, free: 3.938 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009549/0.5929, allocations: 7.633 MB / 0.4897 GB, free: 12.29 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.3525/0.9454, allocations: 24.85 MB / 0.5139 GB, free: 73.43 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-05/0.9454, allocations: 5.797 kB / 0.5139 GB, free: 73.43 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9455, allocations: 0.5 kB / 0.5139 GB, free: 73.43 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001528/0.947, allocations: 0 / 0.5139 GB, free: 73.43 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: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.06573/1.013, allocations: 33.28 MB / 0.5464 GB, free: 62.07 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/1.013, allocations: 11.81 kB / 0.5465 GB, free: 62.07 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01493/1.028, allocations: 4.728 MB / 0.5511 GB, free: 62.04 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01914/1.047, allocations: 12.72 MB / 0.5635 GB, free: 58.34 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006749/1.047, allocations: 1.53 MB / 0.565 GB, free: 57.74 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002944/1.05, allocations: 2.08 MB / 0.567 GB, free: 57.13 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/1.084, allocations: 24.93 MB / 0.5914 GB, free: 42.12 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006092/1.085, allocations: 234.2 kB / 0.5916 GB, free: 41.99 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/1.087, allocations: 0.9149 MB / 0.5925 GB, free: 41.18 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005592/1.093, allocations: 6.229 MB / 0.5986 GB, free: 35.04 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/1.119, allocations: 11.56 MB / 0.6099 GB, free: 24.39 MB / 458.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.3905/1.509, allocations: 151 MB / 0.7573 GB, free: 71.62 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03312/1.542, allocations: 17.85 MB / 0.7748 GB, free: 71.17 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007598/1.55, allocations: 2.571 MB / 0.7773 GB, free: 71.1 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/1.552, allocations: 0.8429 MB / 0.7781 GB, free: 71.07 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03035/1.582, allocations: 8.93 MB / 0.7868 GB, free: 70.79 MB / 0.495 GB Notification: Performance of pre-optimization done (n=697): time 1.478e-05/1.582, allocations: 0 / 0.7868 GB, free: 70.79 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: 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: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.42289409507066]