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.07721/0.07721, allocations: 12.18 MB / 31.81 MB, free: 1.457 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.001357/0.001357, allocations: 114.7 kB / 38.02 MB, free: 2.891 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.001808/0.001808, allocations: 212.2 kB / 44.37 MB, free: 5.297 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.532/1.532, allocations: 230.6 MB / 281.1 MB, free: 8.75 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.06769/0.06769, allocations: 13.9 MB / 354.5 MB, free: 3.914 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",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) 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.08263/0.08263, allocations: 20.57 MB / 0.499 GB, free: 15.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.4295, allocations: 59.69 MB / 0.5573 GB, free: 240 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.06074/0.4902, allocations: 49.96 MB / 0.6061 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04247/0.5327, allocations: 15.7 MB / 0.6214 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01754/0.5503, allocations: 0.5674 MB / 0.622 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06561/0.6159, allocations: 29.92 MB / 0.6512 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02509/0.641, allocations: 7.987 MB / 0.659 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.6562, allocations: 5.416 MB / 0.6643 GB, free: 2.578 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04857/0.7047, allocations: 27.33 MB / 0.691 GB, free: 7.301 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4081/1.113, allocations: 30.4 MB / 0.7206 GB, free: 19.06 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02613/1.139, allocations: 13.02 MB / 0.7334 GB, free: 18.77 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02931/1.168, allocations: 16.95 MB / 0.7499 GB, free: 17.55 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01468/1.183, allocations: 4.043 MB / 0.7539 GB, free: 17.55 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/1.203, allocations: 5.297 MB / 0.759 GB, free: 17.55 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.02539/1.228, allocations: 15.29 MB / 0.774 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.03224/1.26, allocations: 12.99 MB / 0.7867 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.08124/1.342, allocations: 58.72 MB / 0.844 GB, free: 3.602 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/1.342, allocations: 0 / 0.844 GB, free: 3.602 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.815e-06/1.342, allocations: 0.5625 kB / 0.844 GB, free: 3.602 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.00219/1.344, allocations: 2.469 kB / 0.844 GB, free: 3.602 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.1283/1.472, allocations: 34.98 MB / 0.8782 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.472, allocations: 8.922 kB / 0.8782 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009269/1.473, allocations: 0.757 MB / 0.8789 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01905/1.492, allocations: 4.506 MB / 0.8833 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04507/1.537, allocations: 7.76 MB / 0.8909 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05374/1.591, allocations: 24.03 MB / 0.9144 GB, free: 12.84 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002313/1.593, allocations: 1.79 MB / 0.9161 GB, free: 11.13 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0119/1.605, allocations: 2.44 MB / 0.9185 GB, free: 8.773 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7123/2.317, allocations: 56.42 MB / 0.9736 GB, free: 245.1 MB / 0.6858 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001922/2.319, allocations: 236.2 kB / 0.9738 GB, free: 245 MB / 0.6858 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009523/2.329, allocations: 1.043 MB / 0.9748 GB, free: 245 MB / 0.6858 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01162/2.341, allocations: 6.209 MB / 0.9809 GB, free: 244.2 MB / 0.6858 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0925/2.433, allocations: 46.53 MB / 1.026 GB, free: 210.1 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.2996/2.733, allocations: 205.7 MB / 1.227 GB, free: 4.453 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4043/3.137, allocations: 26.49 MB / 1.253 GB, free: 222.4 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01943/3.156, allocations: 16.03 MB / 1.269 GB, free: 215.2 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/3.158, allocations: 0.5683 MB / 1.269 GB, free: 215.1 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06028/3.218, allocations: 20.4 MB / 1.289 GB, free: 208.7 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=897): time 3.168e-05/3.218, allocations: 0 / 1.289 GB, free: 208.7 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:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.562454627011903] Failed to read output from testmodel.py, exit status != 0: 3.6982679339125752 3.941033664 2.36380336 Calling exit ...