Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.controlModuleTest.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.0626/0.0626, allocations: 12.18 MB / 29.23 MB, free: 1.047 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.001253/0.001253, allocations: 107.2 kB / 35.11 MB, free: 2.32 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.001497/0.001497, allocations: 204.9 kB / 41.11 MB, free: 4.418 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.507/1.507, allocations: 230.5 MB / 277.5 MB, free: 15.98 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.06436/0.06436, allocations: 13.88 MB / 350.5 MB, free: 11.36 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.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.controlModuleTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_controlModuleTest",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.02847/0.02847, allocations: 20.57 MB / 0.4934 GB, free: 18.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1654, allocations: 59.66 MB / 0.5517 GB, free: 6.906 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.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 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. [/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. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.controlModuleTest): time 0.4202/0.5856, allocations: 59.71 MB / 0.61 GB, free: 18.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.04055/0.6261, allocations: 16.17 MB / 0.6258 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02159/0.6477, allocations: 0.5735 MB / 0.6263 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0521/0.6998, allocations: 31.23 MB / 0.6568 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02832/0.7281, allocations: 7.981 MB / 0.6646 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01565/0.7438, allocations: 5.461 MB / 0.67 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04812/0.7919, allocations: 27.49 MB / 0.6968 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06758/0.8595, allocations: 34.87 MB / 0.7309 GB, free: 6.773 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02832/0.8878, allocations: 13.06 MB / 0.7436 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02929/0.9171, allocations: 17.02 MB / 0.7602 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01379/0.9309, allocations: 4.059 MB / 0.7642 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/0.9507, allocations: 5.447 MB / 0.7695 GB, free: 15.11 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.02788/0.9786, allocations: 15.31 MB / 0.7845 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.03625/1.015, allocations: 17.2 MB / 0.8013 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.7533/1.768, allocations: 58.6 MB / 0.8585 GB, free: 92.05 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.768, allocations: 0.7656 kB / 0.8585 GB, free: 92.05 MB / 0.592 GB Notification: Performance of FrontEnd: time 2.575e-06/1.768, allocations: 0 / 0.8585 GB, free: 92.05 MB / 0.592 GB Notification: Performance of Transformations before backend: time 0.002641/1.771, allocations: 6.75 kB / 0.8585 GB, free: 92.05 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7899 * Number of variables: 7899 Notification: Performance of Generate backend data structure: time 0.1521/1.923, allocations: 35.35 MB / 0.893 GB, free: 72.19 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.923, allocations: 16.16 kB / 0.893 GB, free: 72.19 MB / 0.592 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008479/1.924, allocations: 0.6687 MB / 0.8937 GB, free: 72.14 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02475/1.949, allocations: 3.93 MB / 0.8975 GB, free: 69.51 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05039/1.999, allocations: 7.791 MB / 0.9051 GB, free: 65.61 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05543/2.054, allocations: 24.13 MB / 0.9287 GB, free: 50.13 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001758/2.056, allocations: 1.795 MB / 0.9305 GB, free: 48.42 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01548/2.072, allocations: 2.436 MB / 0.9328 GB, free: 46.06 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.157/2.229, allocations: 56.33 MB / 0.9878 GB, free: 4.141 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002021/2.231, allocations: 236.1 kB / 0.9881 GB, free: 3.98 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01336/2.244, allocations: 1.05 MB / 0.9891 GB, free: 3.016 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01234/2.256, allocations: 6.203 MB / 0.9952 GB, free: 12.9 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1248/2.381, allocations: 46.66 MB / 1.041 GB, free: 14.89 MB / 0.6702 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.7055/3.087, allocations: 222.8 MB / 1.258 GB, free: 77.24 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06759/3.154, allocations: 27.13 MB / 1.285 GB, free: 50.01 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.021/3.175, allocations: 16.03 MB / 1.3 GB, free: 33.95 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/3.177, allocations: 1.305 MB / 1.302 GB, free: 32.53 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06335/3.24, allocations: 20.49 MB / 1.322 GB, free: 11.96 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=901): time 2.254e-05/3.24, allocations: 0 / 1.322 GB, free: 11.96 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:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed " [Timeout remaining time 656] [Calling sys.exit(0), Time elapsed: 7.02335428702645] Failed to read output from testmodel.py, exit status != 0: 4.171114089956973 4.181604915 2.410861635 Calling exit ...