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.07369/0.07369, allocations: 12.18 MB / 31.02 MB, free: 1.594 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.0015/0.0015, allocations: 112.8 kB / 37.24 MB, free: 2.82 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.001963/0.001963, allocations: 212.3 kB / 43.58 MB, free: 5.223 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.556/1.556, allocations: 230.6 MB / 280.3 MB, free: 8.684 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.06724/0.06724, allocations: 13.89 MB / 353.7 MB, free: 3.926 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.07098/0.07098, allocations: 20.96 MB / 0.4986 GB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3988, allocations: 59.67 MB / 0.5569 GB, free: 148 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.06071/0.4595, allocations: 50.23 MB / 0.6059 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03884/0.4983, allocations: 15.74 MB / 0.6213 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01317/0.5115, allocations: 0.5675 MB / 0.6219 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05881/0.5703, allocations: 29.96 MB / 0.6511 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02236/0.5927, allocations: 7.989 MB / 0.6589 GB, free: 7.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01326/0.6059, allocations: 5.414 MB / 0.6642 GB, free: 2.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04154/0.6475, allocations: 27.32 MB / 0.6909 GB, free: 6.859 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3517/0.9992, allocations: 30.17 MB / 0.7204 GB, free: 18.81 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02146/1.021, allocations: 13.01 MB / 0.7331 GB, free: 18.52 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02629/1.047, allocations: 15.4 MB / 0.7481 GB, free: 17.29 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01237/1.059, allocations: 4.043 MB / 0.7521 GB, free: 17.29 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/1.075, allocations: 5.277 MB / 0.7572 GB, free: 17.29 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02119/1.097, allocations: 15.29 MB / 0.7722 GB, free: 15.73 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02619/1.123, allocations: 13 MB / 0.7849 GB, free: 7.621 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.07573/1.199, allocations: 58.72 MB / 0.8422 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.199, allocations: 0 / 0.8422 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.523e-06/1.199, allocations: 0 / 0.8422 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001811/1.2, allocations: 0 / 0.8422 GB, free: 5.062 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.1107/1.311, allocations: 34.97 MB / 0.8763 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.311, allocations: 11.61 kB / 0.8764 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0174/1.329, allocations: 4.508 MB / 0.8808 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04361/1.372, allocations: 7.753 MB / 0.8883 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05545/1.428, allocations: 24.03 MB / 0.9118 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002007/1.43, allocations: 1.794 MB / 0.9135 GB, free: 13.37 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01083/1.44, allocations: 2.433 MB / 0.9159 GB, free: 11.02 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4477/1.888, allocations: 56.42 MB / 0.971 GB, free: 222.2 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001728/1.89, allocations: 235 kB / 0.9712 GB, free: 222.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01056/1.9, allocations: 1.044 MB / 0.9723 GB, free: 221.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01081/1.911, allocations: 6.205 MB / 0.9783 GB, free: 220.1 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0966/2.008, allocations: 46.43 MB / 1.024 GB, free: 192.2 MB / 0.67 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.6105/2.618, allocations: 205.6 MB / 1.224 GB, free: 180.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06461/2.683, allocations: 26.46 MB / 1.25 GB, free: 179.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01942/2.702, allocations: 16.02 MB / 1.266 GB, free: 175.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/2.704, allocations: 0.573 MB / 1.267 GB, free: 175.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05959/2.764, allocations: 20.4 MB / 1.286 GB, free: 168.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 4.28e-05/2.764, allocations: 0 / 1.286 GB, free: 168.2 MB / 0.67 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.253608098253608] Failed to read output from testmodel.py, exit status != 0: 3.61228279909119 3.622623095 2.421378244 Calling exit ...