Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.07249/0.07249, allocations: 12.18 MB / 31.8 MB, free: 1.352 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.001338/0.001338, allocations: 114.4 kB / 38.03 MB, free: 2.98 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.001517/0.001517, allocations: 216.3 kB / 44.38 MB, free: 5.371 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.553/1.553, allocations: 230.6 MB / 281.1 MB, free: 7.867 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.06655/0.06655, allocations: 13.88 MB / 354.5 MB, free: 4.098 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.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",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.03457/0.03457, allocations: 20.57 MB / 0.4991 GB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.3234, allocations: 59.68 MB / 0.5574 GB, free: 0.5938 MB / 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.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.DroneForVR): time 0.07044/0.3939, allocations: 63.6 MB / 0.6195 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03453/0.4284, allocations: 14.05 MB / 0.6332 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01252/0.4409, allocations: 0.5 MB / 0.6337 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04737/0.4883, allocations: 24.15 MB / 0.6573 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02477/0.5131, allocations: 7.563 MB / 0.6647 GB, free: 2.539 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.5267, allocations: 4.8 MB / 0.6694 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.04553/0.5722, allocations: 25.69 MB / 0.6944 GB, free: 4.121 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3754/0.9476, allocations: 24.62 MB / 0.7185 GB, free: 16.93 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02069/0.9683, allocations: 11.07 MB / 0.7293 GB, free: 16.64 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02284/0.9911, allocations: 14.88 MB / 0.7438 GB, free: 15.45 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01018/1.001, allocations: 3.066 MB / 0.7468 GB, free: 15.45 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/1.016, allocations: 4.4 MB / 0.7511 GB, free: 15.45 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01804/1.034, allocations: 13.28 MB / 0.7641 GB, free: 14.19 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.02634/1.06, allocations: 14.67 MB / 0.7784 GB, free: 5.18 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.06715/1.127, allocations: 47.82 MB / 0.8251 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.127, allocations: 2.344 kB / 0.8251 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.214e-06/1.127, allocations: 2.5 kB / 0.8251 GB, free: 14.71 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001676/1.129, allocations: 3.75 kB / 0.8251 GB, free: 14.71 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: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.09424/1.223, allocations: 30.71 MB / 0.8551 GB, free: 248 kB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.223, allocations: 12.62 kB / 0.8551 GB, free: 236 kB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008353/1.224, allocations: 0.677 MB / 0.8558 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0142/1.238, allocations: 4.066 MB / 0.8598 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04425/1.283, allocations: 7.523 MB / 0.8671 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04634/1.329, allocations: 20.44 MB / 0.8871 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001889/1.331, allocations: 1.535 MB / 0.8886 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008508/1.339, allocations: 2.092 MB / 0.8906 GB, free: 13.16 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1272/1.467, allocations: 52.07 MB / 0.9415 GB, free: 7.172 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002155/1.469, allocations: 248.7 kB / 0.9417 GB, free: 7.008 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0104/1.479, allocations: 0.914 MB / 0.9426 GB, free: 6.199 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01291/1.492, allocations: 6.92 MB / 0.9493 GB, free: 15.36 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6425/2.135, allocations: 41.29 MB / 0.9897 GB, free: 236.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.2768/2.411, allocations: 214.1 MB / 1.199 GB, free: 33.78 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05525/2.467, allocations: 23.42 MB / 1.222 GB, free: 10.3 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3104/2.777, allocations: 14.82 MB / 1.236 GB, free: 231.8 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/2.779, allocations: 0.7953 MB / 1.237 GB, free: 231.8 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.051/2.83, allocations: 18.91 MB / 1.255 GB, free: 228.1 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=757): time 1.451e-05/2.83, allocations: 0 / 1.255 GB, free: 228.1 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.bodyShape5.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 657] [Calling sys.exit(0), Time elapsed: 5.947526684962213] Failed to read output from testmodel.py, exit status != 0: 3.313524736906402 3.323257521 2.193183721 Calling exit ...