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.07996/0.07996, allocations: 12.18 MB / 31.01 MB, free: 1.27 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.001399/0.001399, allocations: 113 kB / 37.24 MB, free: 3.043 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.001714/0.001714, allocations: 208.3 kB / 43.59 MB, free: 5.434 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.593/1.593, allocations: 230.6 MB / 280.3 MB, free: 7.934 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.07642/0.07642, allocations: 13.89 MB / 353.7 MB, free: 4.082 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.04021/0.04021, allocations: 20.75 MB / 0.4985 GB, free: 15.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.4326, allocations: 59.67 MB / 0.5568 GB, free: 384 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.073/0.5056, allocations: 59.32 MB / 0.6147 GB, free: 4.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04299/0.5486, allocations: 16.04 MB / 0.6304 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01724/0.5658, allocations: 0.5714 MB / 0.6309 GB, free: 4.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06045/0.6263, allocations: 31.39 MB / 0.6616 GB, free: 4.859 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02795/0.6542, allocations: 7.966 MB / 0.6694 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01427/0.6685, allocations: 5.408 MB / 0.6747 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.05016/0.7187, allocations: 27.33 MB / 0.7013 GB, free: 12.25 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4622/1.181, allocations: 30.41 MB / 0.731 GB, free: 16.05 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02848/1.209, allocations: 13.01 MB / 0.7437 GB, free: 15.67 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03599/1.245, allocations: 16.96 MB / 0.7603 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01942/1.265, allocations: 4.042 MB / 0.7643 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02623/1.291, allocations: 5.442 MB / 0.7696 GB, free: 14.45 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.03035/1.321, allocations: 15.29 MB / 0.7845 GB, free: 8.258 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.04468/1.366, allocations: 17.14 MB / 0.8012 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.1034/1.469, allocations: 58.43 MB / 0.8583 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.469, allocations: 2.5 kB / 0.8583 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/1.469, allocations: 0 / 0.8583 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.002107/1.472, allocations: 3.984 kB / 0.8583 GB, free: 14.57 MB / 0.5919 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.1612/1.633, allocations: 34.97 MB / 0.8925 GB, free: 11.79 MB / 0.6232 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/1.633, allocations: 8.625 kB / 0.8925 GB, free: 11.78 MB / 0.6232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02271/1.655, allocations: 4.499 MB / 0.8969 GB, free: 7.344 MB / 0.6232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04552/1.701, allocations: 7.759 MB / 0.9044 GB, free: 15.62 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06551/1.766, allocations: 24 MB / 0.9279 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003133/1.77, allocations: 1.785 MB / 0.9296 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01474/1.784, allocations: 2.431 MB / 0.932 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8116/2.596, allocations: 56.22 MB / 0.9869 GB, free: 227.3 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002259/2.598, allocations: 232.2 kB / 0.9871 GB, free: 227.2 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01292/2.611, allocations: 1.042 MB / 0.9881 GB, free: 226.5 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01023/2.621, allocations: 6.209 MB / 0.9942 GB, free: 224.2 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1076/2.729, allocations: 46.52 MB / 1.04 GB, free: 197 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.759/3.488, allocations: 222.6 MB / 1.257 GB, free: 127 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06413/3.552, allocations: 26.5 MB / 1.283 GB, free: 126.5 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02296/3.575, allocations: 16.02 MB / 1.299 GB, free: 125.8 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/3.577, allocations: 0.6314 MB / 1.299 GB, free: 125.7 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05928/3.636, allocations: 20.39 MB / 1.319 GB, free: 117.8 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=891): time 2.366e-05/3.636, allocations: 0 / 1.319 GB, free: 117.8 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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.957602205999137] Failed to read output from testmodel.py, exit status != 0: 4.151876623000135 4.168740054 2.695297737 Calling exit ...