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.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1027/0.1027, allocations: 12.18 MB / 28.53 MB, free: 1.398 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.001626/0.001626, allocations: 111 kB / 34.41 MB, free: 2.316 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.002193/0.002193, allocations: 218.4 kB / 40.41 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.578/1.578, allocations: 230.5 MB / 276.8 MB, free: 15.81 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.068/0.068, allocations: 13.89 MB / 349.8 MB, free: 14.06 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_DeviceDrivers 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: 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: Performance of FrontEnd - loaded program: time 0.02777/0.02777, allocations: 21.74 MB / 0.4939 GB, free: 17.86 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1331, allocations: 59.64 MB / 0.5521 GB, free: 6.07 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 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.3435/0.4766, allocations: 63.55 MB / 0.6142 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0365/0.5132, allocations: 14.03 MB / 0.6279 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01461/0.5278, allocations: 0.4968 MB / 0.6284 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03965/0.5674, allocations: 24.04 MB / 0.6518 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02051/0.5879, allocations: 7.554 MB / 0.6592 GB, free: 2.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.6001, allocations: 4.789 MB / 0.6639 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0523/0.6524, allocations: 25.68 MB / 0.689 GB, free: 7.027 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04911/0.7015, allocations: 27.89 MB / 0.7162 GB, free: 12.04 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02293/0.7244, allocations: 11.06 MB / 0.727 GB, free: 1.5 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02585/0.7503, allocations: 14.87 MB / 0.7415 GB, free: 3.383 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01125/0.7615, allocations: 3.062 MB / 0.7445 GB, free: 328 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.7775, allocations: 4.394 MB / 0.7488 GB, free: 12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02202/0.7995, allocations: 13.27 MB / 0.7618 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03096/0.8305, allocations: 14.66 MB / 0.7761 GB, free: 96 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06889/0.8994, allocations: 47.8 MB / 0.8228 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.8994, allocations: 0 / 0.8228 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8994, allocations: 0 / 0.8228 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.001758/0.9011, allocations: 0 / 0.8228 GB, free: 1.043 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: 7387 * Number of variables: 7387 Notification: Performance of Generate backend data structure: time 0.6332/1.534, allocations: 30.79 MB / 0.8528 GB, free: 183.4 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/1.534, allocations: 9.5 kB / 0.8528 GB, free: 183.4 MB / 0.6077 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01759/1.552, allocations: 4.059 MB / 0.8568 GB, free: 181.7 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04651/1.598, allocations: 7.533 MB / 0.8642 GB, free: 178.5 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04735/1.646, allocations: 20.54 MB / 0.8842 GB, free: 164.7 MB / 0.6077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002082/1.648, allocations: 1.533 MB / 0.8857 GB, free: 163.3 MB / 0.6077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01102/1.659, allocations: 2.085 MB / 0.8877 GB, free: 161.3 MB / 0.6077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1267/1.786, allocations: 52.06 MB / 0.9386 GB, free: 107.1 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002201/1.788, allocations: 242.2 kB / 0.9388 GB, free: 106.9 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01127/1.799, allocations: 0.9185 MB / 0.9397 GB, free: 106 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01122/1.81, allocations: 6.914 MB / 0.9465 GB, free: 99.18 MB / 0.6077 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09023/1.901, allocations: 41.28 MB / 0.9868 GB, free: 57.94 MB / 0.6077 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.707/2.608, allocations: 214.1 MB / 1.196 GB, free: 89.85 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0607/2.668, allocations: 23.87 MB / 1.219 GB, free: 85.54 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01921/2.687, allocations: 14.73 MB / 1.234 GB, free: 77.57 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/2.69, allocations: 1.915 MB / 1.235 GB, free: 75.89 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05804/2.748, allocations: 18.89 MB / 1.254 GB, free: 66.27 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=751): time 1.876e-05/2.748, allocations: 0 / 1.254 GB, free: 66.27 MB / 0.6545 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 6.56809097295627] Failed to read output from testmodel.py, exit status != 0: 3.6629754030145705 3.673666967 2.771638173 Calling exit ...