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.06602/0.06602, allocations: 12.17 MB / 31.02 MB, free: 1 MB / 18.57 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.001098/0.001098, allocations: 114.6 kB / 37.24 MB, free: 1.332 MB / 24.77 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.00143/0.00143, allocations: 219.7 kB / 43.58 MB, free: 3.266 MB / 33.03 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.06/1.06, allocations: 230.6 MB / 280.4 MB, free: 7.133 MB / 202.7 MB " [Timeout remaining time 179] 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.07428/0.07428, allocations: 13.89 MB / 353.7 MB, free: 15.08 MB / 282.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me_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.03647/0.03647, allocations: 29.91 MB / 0.5081 GB, free: 1.527 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2777, allocations: 59.68 MB / 0.5664 GB, free: 10.04 MB / 378.8 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.03245/0.3101, allocations: 50.32 MB / 0.6155 GB, free: 7.543 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.02646/0.3366, allocations: 16.86 MB / 0.632 GB, free: 6.777 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008152/0.3447, allocations: 0.5714 MB / 0.6325 GB, free: 6.203 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.02522/0.37, allocations: 30.04 MB / 0.6619 GB, free: 8.102 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.3852, allocations: 8.212 MB / 0.6699 GB, free: 15.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008215/0.3934, allocations: 5.944 MB / 0.6757 GB, free: 9.984 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.281/0.6744, allocations: 28.95 MB / 0.704 GB, free: 12.69 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03149/0.7059, allocations: 32.23 MB / 0.7354 GB, free: 11.24 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02327/0.7292, allocations: 13.84 MB / 0.749 GB, free: 6.91 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01951/0.7487, allocations: 15.84 MB / 0.7644 GB, free: 2.078 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.009561/0.7583, allocations: 4.866 MB / 0.7692 GB, free: 2.078 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01313/0.7714, allocations: 6.09 MB / 0.7751 GB, free: 1.625 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.01709/0.7885, allocations: 16.13 MB / 0.7909 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02157/0.8101, allocations: 13.91 MB / 0.8045 GB, free: 4.379 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.05356/0.8636, allocations: 67.16 MB / 0.8701 GB, free: 2.18 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.8636, allocations: 0 / 0.8701 GB, free: 2.18 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8636, allocations: 0 / 0.8701 GB, free: 2.18 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.00197/0.8656, allocations: 0 / 0.8701 GB, free: 2.18 MB / 0.5887 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.07892/0.9445, allocations: 35.73 MB / 0.905 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.9446, allocations: 8.625 kB / 0.905 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008856/0.9534, allocations: 3.928 MB / 0.9088 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/0.9761, allocations: 7.878 MB / 0.9165 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04471/1.021, allocations: 27.42 MB / 0.9433 GB, free: 8.496 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0013/1.022, allocations: 1.79 MB / 0.945 GB, free: 6.785 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009317/1.031, allocations: 2.437 MB / 0.9474 GB, free: 4.43 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5613/1.593, allocations: 59.78 MB / 1.006 GB, free: 186.2 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001419/1.594, allocations: 238 kB / 1.006 GB, free: 186 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008822/1.603, allocations: 1.048 MB / 1.007 GB, free: 185 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005733/1.609, allocations: 6.586 MB / 1.013 GB, free: 178.4 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07079/1.679, allocations: 49.97 MB / 1.062 GB, free: 128.5 MB / 0.6669 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.5089/2.188, allocations: 225.3 MB / 1.282 GB, free: 125.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04163/2.23, allocations: 28.01 MB / 1.31 GB, free: 122 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01696/2.247, allocations: 17.37 MB / 1.327 GB, free: 113.7 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/2.248, allocations: 0.5812 MB / 1.327 GB, free: 113.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04067/2.289, allocations: 21.37 MB / 1.348 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=892): time 5.643e-05/2.289, allocations: 0 / 1.348 GB, free: 103.2 MB / 0.6982 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 4.969989093020558]