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.08821/0.08821, allocations: 9.137 MB / 19.04 MB, free: 0.6562 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.004559/0.09277, allocations: 3.419 MB / 22.46 MB, free: 3.73 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.0005449/0.0005449, allocations: 90.61 kB / 23.3 MB, free: 2.898 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008946/0.001439, allocations: 447.5 kB / 23.74 MB, free: 2.461 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.0006644/0.0006644, allocations: 152.8 kB / 24.64 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008946/0.001559, allocations: 483.2 kB / 25.11 MB, free: 1.09 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.8953/0.8953, allocations: 177.2 MB / 203 MB, free: 8.258 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.162/1.057, allocations: 53.67 MB / 256.7 MB, free: 5.293 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.03845/0.03845, allocations: 10.57 MB / 268 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005224/0.04368, allocations: 3.718 MB / 271.8 MB, free: 6.562 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.432e-06/1.432e-06, allocations: 0 / 273.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.949e-06/1.138e-05, allocations: 2.312 kB / 273.1 MB, free: 5.258 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.04547/0.04549, allocations: 59.09 MB / 332.2 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2604/0.3059, allocations: 14.73 MB / 346.9 MB, free: 1.824 MB / 330.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009042/0.3149, allocations: 0.4943 MB / 347.4 MB, free: 1.824 MB / 330.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02145/0.3364, allocations: 24.01 MB / 371.4 MB, free: 0.9375 MB / 330.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.3505, allocations: 7.781 MB / 379.2 MB, free: 13.29 MB / 346.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006916/0.3574, allocations: 5.092 MB / 384.3 MB, free: 10.43 MB / 346.8 MB Notification: Performance of NFFlatten.flatten: time 0.02438/0.3818, allocations: 29.38 MB / 413.6 MB, free: 1.262 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02365/0.4054, allocations: 26.47 MB / 440.1 MB, free: 7.633 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0186/0.424, allocations: 18.56 MB / 458.7 MB, free: 5.961 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01573/0.4397, allocations: 15.19 MB / 473.9 MB, free: 7.789 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.005347/0.4451, allocations: 3.148 MB / 477 MB, free: 4.641 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006458/0.4515, allocations: 4.5 MB / 481.5 MB, free: 240 kB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008801/0.4603, allocations: 12.48 MB / 494 MB, free: 3.852 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.009634/0.47, allocations: 7.629 MB / 0.4899 GB, free: 12.21 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.2985/0.7684, allocations: 24.82 MB / 0.5141 GB, free: 73.46 MB / 458.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.7685, allocations: 0.8438 kB / 0.5141 GB, free: 73.46 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.182e-06/0.7685, allocations: 3.375 kB / 0.5141 GB, free: 73.46 MB / 458.9 MB Notification: Performance of Transformations before backend: time 0.001035/0.7695, allocations: 0 / 0.5141 GB, free: 73.46 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.04705/0.8165, allocations: 33.27 MB / 0.5466 GB, free: 62.1 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.8166, allocations: 8.25 kB / 0.5466 GB, free: 62.1 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/0.8259, allocations: 4.736 MB / 0.5512 GB, free: 62.07 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.8399, allocations: 12.72 MB / 0.5637 GB, free: 58.49 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005568/0.8405, allocations: 1.535 MB / 0.5652 GB, free: 57.88 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002303/0.8428, allocations: 2.071 MB / 0.5672 GB, free: 57.27 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03273/0.8755, allocations: 24.93 MB / 0.5915 GB, free: 42.23 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/0.8761, allocations: 233.7 kB / 0.5917 GB, free: 42.1 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.878, allocations: 0.9211 MB / 0.5926 GB, free: 41.28 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005301/0.8833, allocations: 5.915 MB / 0.5984 GB, free: 35.42 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02535/0.9087, allocations: 11.56 MB / 0.6097 GB, free: 24.77 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.2861/1.195, allocations: 151 MB / 0.7572 GB, free: 73.26 MB / 0.495 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02429/1.219, allocations: 17.85 MB / 0.7746 GB, free: 72.8 MB / 0.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003319/1.222, allocations: 2.583 MB / 0.7771 GB, free: 72.73 MB / 0.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008993/1.223, allocations: 0.8315 MB / 0.778 GB, free: 72.7 MB / 0.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01824/1.242, allocations: 8.931 MB / 0.7867 GB, free: 72.43 MB / 0.495 GB Notification: Performance of pre-optimization done (n=697): time 8.546e-06/1.242, allocations: 4 kB / 0.7867 GB, free: 72.43 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:8414:5-8414:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 2.905992543324828]