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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06423/0.06423, allocations: 12.18 MB / 28.54 MB, free: 1.438 MB / 19.63 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.001255/0.001255, allocations: 103.2 kB / 34.41 MB, free: 2.328 MB / 26.18 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.001415/0.001415, allocations: 220.8 kB / 40.41 MB, free: 4.441 MB / 26.18 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.494/1.494, allocations: 230.5 MB / 276.8 MB, free: 15.82 MB / 222.1 MB " [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.06785/0.06785, allocations: 13.89 MB / 349.8 MB, free: 11.33 MB / 270.1 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: DroneLibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02901/0.02901, allocations: 21.73 MB / 0.4939 GB, free: 17.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1447, allocations: 59.63 MB / 0.5521 GB, free: 5.648 MB / 398.1 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.5144/0.6591, allocations: 59.27 MB / 0.61 GB, free: 19.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03566/0.6948, allocations: 16.01 MB / 0.6256 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01387/0.7087, allocations: 0.5713 MB / 0.6262 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04902/0.7577, allocations: 31.23 MB / 0.6567 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02753/0.7852, allocations: 7.952 MB / 0.6645 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01421/0.7994, allocations: 5.389 MB / 0.6697 GB, free: 4.387 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04474/0.8442, allocations: 27.33 MB / 0.6964 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06514/0.9093, allocations: 34.76 MB / 0.7304 GB, free: 6.723 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0236/0.9329, allocations: 13 MB / 0.7431 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0311/0.964, allocations: 16.95 MB / 0.7596 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01212/0.9761, allocations: 4.039 MB / 0.7635 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.992, allocations: 5.439 MB / 0.7689 GB, free: 15.22 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02485/1.017, allocations: 15.27 MB / 0.7838 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03727/1.054, allocations: 17.13 MB / 0.8005 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.6653/1.719, allocations: 58.43 MB / 0.8576 GB, free: 92.01 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.719, allocations: 0 / 0.8576 GB, free: 92.01 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.883e-06/1.719, allocations: 3.438 kB / 0.8576 GB, free: 92.01 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002076/1.721, allocations: 0.875 kB / 0.8576 GB, free: 92.01 MB / 0.592 GB 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.1239/1.845, allocations: 35.05 MB / 0.8918 GB, free: 72.5 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.845, allocations: 7.625 kB / 0.8918 GB, free: 72.5 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02284/1.868, allocations: 4.501 MB / 0.8962 GB, free: 69.82 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0465/1.915, allocations: 7.765 MB / 0.9038 GB, free: 65.93 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04923/1.964, allocations: 24.05 MB / 0.9273 GB, free: 50.81 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/1.966, allocations: 1.781 MB / 0.929 GB, free: 49.11 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01464/1.98, allocations: 2.44 MB / 0.9314 GB, free: 46.75 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1499/2.13, allocations: 56.22 MB / 0.9863 GB, free: 4.941 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001835/2.132, allocations: 234.5 kB / 0.9865 GB, free: 4.781 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01392/2.146, allocations: 1.043 MB / 0.9875 GB, free: 3.82 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01445/2.16, allocations: 6.213 MB / 0.9936 GB, free: 13.7 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.127/2.287, allocations: 46.52 MB / 1.039 GB, free: 15.83 MB / 0.6702 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.635/2.922, allocations: 222.6 MB / 1.256 GB, free: 78.83 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06761/2.99, allocations: 26.95 MB / 1.283 GB, free: 51.77 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02039/3.01, allocations: 15.95 MB / 1.298 GB, free: 35.79 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/3.012, allocations: 1.291 MB / 1.3 GB, free: 34.38 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06511/3.077, allocations: 20.39 MB / 1.319 GB, free: 13.91 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=891): time 2.336e-05/3.077, allocations: 4 kB / 1.319 GB, free: 13.91 MB / 0.6858 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.493305034935474] Failed to read output from testmodel.py, exit status != 0: 3.9156851219013333 3.925871193 2.203844916 Calling exit ...