Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.1057/0.1057, allocations: 12.18 MB / 29.23 MB, free: 0.9805 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.001497/0.001497, allocations: 111.5 kB / 35.11 MB, free: 2.309 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.001429/0.001429, allocations: 216.6 kB / 41.11 MB, free: 4.438 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.516/1.516, allocations: 230.5 MB / 277.5 MB, free: 15.84 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.204/0.204, allocations: 13.88 MB / 350.5 MB, free: 14.07 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.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="cs",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,default) 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.02834/0.02834, allocations: 20.57 MB / 0.4934 GB, free: 19.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1593, allocations: 59.65 MB / 0.5517 GB, free: 7.262 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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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 drone.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.TestSystem): time 0.3595/0.5188, allocations: 59.37 MB / 0.6097 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03725/0.556, allocations: 17.12 MB / 0.6264 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01538/0.5714, allocations: 0.5686 MB / 0.6269 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04918/0.6206, allocations: 31.32 MB / 0.6575 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02285/0.6435, allocations: 8.181 MB / 0.6655 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01651/0.66, allocations: 5.913 MB / 0.6713 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.05292/0.7129, allocations: 28.95 MB / 0.6996 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07194/0.7848, allocations: 36.8 MB / 0.7355 GB, free: 7.461 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0279/0.8127, allocations: 13.83 MB / 0.749 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03374/0.8465, allocations: 17.48 MB / 0.7661 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0146/0.8611, allocations: 4.867 MB / 0.7708 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01861/0.8797, allocations: 6.252 MB / 0.7769 GB, free: 14.53 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02735/0.907, allocations: 16.1 MB / 0.7926 GB, free: 14.49 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.04834/0.9554, allocations: 18.68 MB / 0.8109 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.677/1.632, allocations: 66.87 MB / 0.8762 GB, free: 97.07 MB / 0.6077 GB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.632, allocations: 0 / 0.8762 GB, free: 97.07 MB / 0.6077 GB Notification: Performance of FrontEnd: time 3.617e-06/1.632, allocations: 2.844 kB / 0.8762 GB, free: 97.07 MB / 0.6077 GB Notification: Performance of Transformations before backend: time 0.002193/1.635, allocations: 0 / 0.8762 GB, free: 97.07 MB / 0.6077 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7889 * Number of variables: 7889 Notification: Performance of Generate backend data structure: time 0.1402/1.775, allocations: 35.81 MB / 0.9112 GB, free: 78.1 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.775, allocations: 11.16 kB / 0.9112 GB, free: 78.1 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006108/1.776, allocations: 0.6704 MB / 0.9118 GB, free: 78.05 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02124/1.797, allocations: 3.929 MB / 0.9157 GB, free: 75.42 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04665/1.843, allocations: 7.878 MB / 0.9234 GB, free: 71.43 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05277/1.896, allocations: 27.36 MB / 0.9501 GB, free: 53.05 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/1.898, allocations: 1.785 MB / 0.9518 GB, free: 51.34 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01673/1.914, allocations: 2.447 MB / 0.9542 GB, free: 48.98 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.174/2.088, allocations: 59.57 MB / 1.012 GB, free: 3.812 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002481/2.091, allocations: 241.8 kB / 1.013 GB, free: 3.645 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01974/2.111, allocations: 1.043 MB / 1.014 GB, free: 2.684 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01393/2.125, allocations: 6.589 MB / 1.02 GB, free: 12.18 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.135/2.26, allocations: 50.07 MB / 1.069 GB, free: 10.77 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.7025/2.962, allocations: 244 MB / 1.307 GB, free: 60.59 MB / 0.7014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06592/3.028, allocations: 28.48 MB / 1.335 GB, free: 32 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02424/3.052, allocations: 17.3 MB / 1.352 GB, free: 14.68 MB / 0.7014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002006/3.054, allocations: 1.308 MB / 1.353 GB, free: 13.26 MB / 0.7014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4449/3.499, allocations: 21.36 MB / 1.374 GB, free: 231.2 MB / 0.7014 GB Notification: Performance of pre-optimization done (n=892): time 2.951e-05/3.499, allocations: 0 / 1.374 GB, free: 231.2 MB / 0.7014 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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: 7.020009184023365] Failed to read output from testmodel.py, exit status != 0: 4.029121653002221 4.038613231 2.403627431 Calling exit ...