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.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.07727/0.07727, allocations: 12.17 MB / 31.03 MB, free: 1.441 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.0013/0.0013, allocations: 112.5 kB / 37.23 MB, free: 2.918 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.001904/0.001904, allocations: 212.1 kB / 43.58 MB, free: 5.316 MB / 34.91 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.54/1.54, allocations: 230.6 MB / 280.3 MB, free: 8.773 MB / 206.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.06778/0.06778, allocations: 13.89 MB / 353.7 MB, free: 3.918 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.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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: 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) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: DroneLibrary requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.06839/0.06839, allocations: 20.96 MB / 0.4986 GB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3986, allocations: 59.67 MB / 0.5569 GB, free: 132 kB / 366.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.06164/0.4602, allocations: 50.23 MB / 0.6059 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04081/0.5011, allocations: 15.73 MB / 0.6213 GB, free: 14.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01613/0.5172, allocations: 0.5752 MB / 0.6219 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05993/0.5771, allocations: 29.96 MB / 0.6511 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02334/0.6005, allocations: 7.986 MB / 0.6589 GB, free: 7.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01366/0.6141, allocations: 5.424 MB / 0.6642 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04438/0.6585, allocations: 27.31 MB / 0.6909 GB, free: 6.848 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3595/1.018, allocations: 30.19 MB / 0.7204 GB, free: 18.66 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02243/1.04, allocations: 13.01 MB / 0.7331 GB, free: 18.36 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0262/1.067, allocations: 15.41 MB / 0.7481 GB, free: 17.14 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01303/1.08, allocations: 4.041 MB / 0.7521 GB, free: 17.14 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01524/1.095, allocations: 5.274 MB / 0.7572 GB, free: 17.14 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02219/1.117, allocations: 15.29 MB / 0.7722 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02811/1.145, allocations: 13 MB / 0.7849 GB, free: 7.508 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.07513/1.22, allocations: 58.71 MB / 0.8422 GB, free: 4.973 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.22, allocations: 0 / 0.8422 GB, free: 4.973 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.174e-06/1.22, allocations: 2.438 kB / 0.8422 GB, free: 4.973 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002022/1.222, allocations: 0 / 0.8422 GB, free: 4.973 MB / 0.5607 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.1165/1.339, allocations: 34.97 MB / 0.8763 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.339, allocations: 8.922 kB / 0.8764 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01715/1.356, allocations: 4.504 MB / 0.8808 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04483/1.401, allocations: 7.763 MB / 0.8883 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05393/1.455, allocations: 24.02 MB / 0.9118 GB, free: 14.99 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002194/1.457, allocations: 1.787 MB / 0.9135 GB, free: 13.29 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01056/1.468, allocations: 2.438 MB / 0.9159 GB, free: 10.93 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1464/1.614, allocations: 56.42 MB / 0.971 GB, free: 0.6602 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002167/1.616, allocations: 238.6 kB / 0.9712 GB, free: 0.4961 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.5603/2.177, allocations: 1.041 MB / 0.9723 GB, free: 248.4 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0115/2.188, allocations: 6.205 MB / 0.9783 GB, free: 248.3 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08668/2.275, allocations: 46.43 MB / 1.024 GB, free: 214.3 MB / 0.6858 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.268/2.543, allocations: 205.6 MB / 1.224 GB, free: 8.727 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4329/2.976, allocations: 26.48 MB / 1.25 GB, free: 221.2 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01874/2.994, allocations: 16 MB / 1.266 GB, free: 214 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001757/2.996, allocations: 0.5726 MB / 1.267 GB, free: 213.9 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05742/3.053, allocations: 20.39 MB / 1.286 GB, free: 209 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=891): time 2.419e-05/3.054, allocations: 0 / 1.286 GB, free: 209 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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.089591924101114] Failed to read output from testmodel.py, exit status != 0: 3.5165650732815266 3.52620636 2.303137784 Calling exit ...